Richard Davey
99eb565520
Fixed camera bounds with zoom issue and added new displayWidth / displayHeight properties
2018-06-20 17:42:20 +01:00
Chris Andrew
7f232b6bed
Further EmitterOp documentation.
2018-06-20 17:18:03 +01:00
Chris Andrew
584e8f9919
Started documenting the EmitterOp class.
2018-06-20 16:18:00 +01:00
Richard Davey
92d06d4742
Removed incorrect application of zoom
2018-06-20 14:52:22 +01:00
Richard Davey
e1151fe436
Removed merge conflicts
2018-06-20 14:29:36 +01:00
Richard Davey
3c79a92ea4
Merge branch 'master' of https://github.com/photonstorm/phaser
2018-06-20 14:27:56 +01:00
Richard Davey
7d573a35eb
Added Camera.setDeadzone method, updated startFollow and added jsdocs.
2018-06-20 14:26:36 +01:00
Chris Andrew
d6a13eb8db
Finished up TileSprite property descriptions, started on its class description.
2018-06-20 08:33:55 +01:00
Chris Andrew
2d67342ae5
Fixed lint errors.
2018-06-20 07:29:42 +01:00
Chris Andrew
9f23818c40
Documented various missing descriptions for GameObject classes and functions.
2018-06-20 07:28:02 +01:00
samme
b3ac91df5a
Fix blocked.none after separation
2018-06-19 14:48:07 -07:00
Richard Davey
b832247a35
Merge branch 'master' of https://github.com/photonstorm/phaser
2018-06-19 14:14:40 +01:00
Richard Davey
f1fe131e56
Tidying up Render Texture to make it more useful
2018-06-19 14:14:37 +01:00
Richard Davey
3a6f093579
Merge pull request #3761 from DannyT/fix/buildgameobjectanimation
...
Fix setter calls in BuildGameObjectAnimation
2018-06-19 13:22:13 +01:00
Richard Davey
30276cd4c2
Merge pull request #3765 from DrevanTonder/master
...
change ParticleEmitter.startFollow to fix issue 3764
2018-06-19 13:20:19 +01:00
Richard Davey
622fd7c34a
Merge pull request #3745 from cyantree/feature/update-graphics-jsdoc
...
Changed options and sub options of `Graphics` constructor in docs to …
2018-06-19 13:19:12 +01:00
Richard Davey
62661b46fb
Updated rounded rect functions
2018-06-19 13:17:38 +01:00
Richard Davey
cc5f1bb91e
Merge pull request #3755 from TadejZupancic/patch-8
...
Add rounded rectangle to Graphics
2018-06-19 12:47:58 +01:00
Richard Davey
95f923bcad
Merge pull request #3762 from dvdbrink/patch-1
...
Fix GameObject typings when returning itself
2018-06-19 12:30:57 +01:00
Richard Davey
d6db01cd82
Merge branch 'master' of https://github.com/photonstorm/phaser
2018-06-19 12:29:09 +01:00
Richard Davey
2b9be45741
Starting Camera.deadzone support
2018-06-19 12:29:04 +01:00
Richard Davey
e5fbcd5574
Calling Tween.play
on a tween created via TweenManager.create
wouldn't actually start playback until the tween was first added to the Tween Manager. Now, calling play
will have it automatically add itself to the Tween Manager if it's not already in there. Fix #3763
2018-06-19 12:28:29 +01:00
Hua
821504a893
Skip drag checking on a draging Game Object
...
Skip drag checking on a draging Game Object to prevent multi-drag issue.
2018-06-19 10:33:22 +08:00
TadejZupancic
c1d0c11b30
Update Graphics.js
2018-06-18 10:52:49 +02:00
Andre van Tonder
b2f8a139cc
change ParticleEmitter.startFollow to fix issue 3764
2018-06-18 14:25:12 +08:00
Chris Andrew
a480232d87
Documented Graphics.save() and Graphics.restore().
...
Adapted from Mozilla's descriptions of the corresponding Canvas methods.
2018-06-17 19:43:05 +01:00
Daniel van den Brink
9a2c110c44
Fix GameObject typings for returning this
2018-06-17 08:54:28 +02:00
DannyT
1eb60e09a3
changed animation api calls to include updated set verb (e.g. .setDelay() vs .delay())
2018-06-16 18:15:29 +01:00
TadejZupancic
caef54a34e
Update Graphics.js
2018-06-15 14:36:24 +02:00
TadejZupancic
321aba14c3
Update Graphics.js
2018-06-15 14:31:44 +02:00
TadejZupancic
9affc60037
Update Graphics.js
2018-06-15 14:23:40 +02:00
Chris Andrew
e140640583
Minor punctuation fix for Vector distanceSq() method descriptions.
2018-06-14 15:12:10 +01:00
Chris Andrew
47fdf779d3
Switched to example annotations for the setStyle() examples.
2018-06-14 14:49:29 +01:00
Chris Andrew
885b404b98
Fixed the indentation of setStyle() examples.
2018-06-14 14:41:17 +01:00
Chris Andrew
a6b8b8ed31
Documented the Text game object and its TextStyle companion.
...
Minor update to JSON representation descriptions.
2018-06-14 14:27:58 +01:00
Richard Davey
28851ff69b
Use hyphens instead of underscores. Fix #3751
2018-06-14 13:30:33 +01:00
Richard Davey
52d04ee5f9
The LoaderPlugin didn't emit the filecomplete
event if any of files failed to load, causing it to fail to run the Scene create
function as well. Fix #3750
2018-06-14 13:23:15 +01:00
Richard Davey
307a937eea
Merge pull request #3749 from iamchristopher/fix-changedata-event-value
...
Fixed DataManager changedata event emits original value instead of new value
2018-06-14 12:33:19 +01:00
Richard Davey
d66daa6795
Merge pull request #3744 from rexrainbow/master
...
Pass `this.parent` instead of `this` in callback of removedata event
2018-06-14 12:29:38 +01:00
iamchristopher
321ab9bc91
Fixed DataManager changedata event emits original value instead of new value
2018-06-13 21:58:05 -04:00
cyantree
a727437304
Changed options and sub options of Graphics
constructor in docs to be optional
2018-06-13 20:01:26 +02:00
Chris Andrew
468b61da6f
Tweaked the LightsPlugin example in its class description.
2018-06-13 18:56:57 +01:00
Chris Andrew
124b0ff773
Documented Light, LightsManager and LightsPlugin.
...
Documented class description for TransformMatrix.
Added a missing description from Container's EachContainerCallback.
2018-06-13 18:44:32 +01:00
Rex
ae9ca0840d
Pass this.parent
instead of this
...
Pass this.parent at 1st argument of event callback, to consistent with other events, i.e. `setdata`
2018-06-14 00:41:49 +08:00
Richard Davey
19eb363a84
Only set Scene status to running if still in creating
2018-06-13 17:27:30 +01:00
Richard Davey
91b3c7a92d
Merge branch 'master' of https://github.com/photonstorm/phaser
2018-06-13 15:51:12 +01:00
Richard Davey
62deef81d8
Preparing for 3.11.0 development
2018-06-13 15:51:07 +01:00
Chris Andrew
566fdaca0e
Documented the TransformMatrix component.
2018-06-13 14:36:07 +01:00
Richard Davey
0329b8dfb7
Merge branch 'master' of https://github.com/photonstorm/phaser
2018-06-13 13:51:13 +01:00
Richard Davey
6456ef10a6
Touch pointer total fix
...
The InputManager would only create 1 Pointer, even if Touch input was enabled in the config, which meant you couldn't use touch events unless you first called `addPointer` or specified one in the config. Now, it Touch is enabled in the config, it'll always create 2 pointers by default.
2018-06-13 13:51:04 +01:00
Chris Andrew
eb84ad58df
Documented the MatrixStack component.
2018-06-13 13:48:33 +01:00
Richard Davey
16f61b402b
3.10 Release
2018-06-13 09:00:40 +01:00
Richard Davey
15b544fc46
jsdoc fixes
2018-06-13 08:37:40 +01:00
Richard Davey
9d52b6ac91
Fixed jsdoc errors
2018-06-12 17:05:39 +01:00
Richard Davey
7eac419d3c
Fixed namespace
2018-06-12 16:52:57 +01:00
Richard Davey
579f5bf4a1
Added the new sceneUpdate reference property.
2018-06-12 16:21:37 +01:00
Richard Davey
eb8d3ccdf1
No longer injects update
into a Scene, and now calls step
from init onwards.
2018-06-12 16:21:17 +01:00
Richard Davey
f0348834c6
The Loader now uses an update loop to release new files to the queue, rather than doing it during the async hell-hole that was the inflight iterator. Fix #3705 .
2018-06-12 16:20:55 +01:00
TadejZupancic
3c96ca73ec
Update Zone.js
2018-06-12 15:49:02 +02:00
Richard Davey
d6c2b1104b
Replace KeyboardManager with KeyboardPlugin
2018-06-12 14:44:51 +01:00
Richard Davey
c7c104bc2b
Tidied up the formatting and jsdocs for Physics Editor parser
2018-06-12 13:07:19 +01:00
Richard Davey
9a53daa068
Merge pull request #3729 from CodeAndWeb/matterjs-pe-loader
...
Matterjs pe loader
2018-06-12 11:54:18 +01:00
Joachim Grill
ff7f614a8e
renamed to PhysicsEditorParser, added jsdocs
2018-06-11 16:37:32 +02:00
Richard Davey
d058674a39
eslint fix
2018-06-11 14:42:50 +01:00
Richard Davey
f26bd913e9
Disable Camera.cull because #3679 excludes everything in view (and reverting it includes everything, so no point even culling atm)
2018-06-11 14:04:15 +01:00
Richard Davey
5313343730
Pointers capped at 10 max.
2018-06-11 13:39:28 +01:00
Richard Davey
e6e33f5e21
Added Game.isOver and mouseover and mouseout events.
2018-06-11 12:32:25 +01:00
Richard Davey
dfce514024
Fixed docs and added useHandCursor
helper.
2018-06-11 11:50:37 +01:00
Richard Davey
c74c1cbb32
Added setDefaultCursor
method and custom css cursor handling.
2018-06-11 11:36:02 +01:00
Richard Davey
da436b0ce7
Added custom cursor property
2018-06-11 11:35:40 +01:00
Richard Davey
5c7e624260
setInteractive
will now take a configuration object as the only argument, allowing for easier setting of more complex input values
2018-06-11 11:35:31 +01:00
Richard Davey
57bf16685a
Merge branch 'master' of https://github.com/photonstorm/phaser
2018-06-11 09:05:57 +01:00
Richard Davey
0b8915520b
Added eslint rules. Fixed incorrect ES6 use.
2018-06-11 09:05:52 +01:00
Richard Davey
bf3e490967
Merge pull request #3734 from AleBles/master
...
Fixed device.os incorrectly reporting Linux as os on Android devices
2018-06-11 08:27:09 +01:00
Richard Davey
5889737183
Preparing for cursor change support
2018-06-08 19:04:12 +01:00
Richard Davey
44569fe20c
Added useHandCursor boolean
2018-06-08 19:04:01 +01:00
Richard Davey
140e743a8d
Added docs and fixed lint issue
2018-06-08 18:24:08 +01:00
Richard Davey
a8105ae0b0
Merge branch 'master' of https://github.com/photonstorm/phaser
2018-06-08 17:50:52 +01:00
Richard Davey
4304811dde
Added new Pixel Perfect input handler and makePixelPerfect
method.
2018-06-08 17:50:47 +01:00
Richard Davey
a49e770f89
Added getPixelAlpha method
2018-06-08 17:50:26 +01:00
Chris Andrew
c08dde33b1
Documented some remaining TileSprite descriptions.
2018-06-08 17:07:35 +01:00
Richard Davey
ed97d1594a
Merge branch 'master' of https://github.com/photonstorm/phaser
2018-06-08 16:18:44 +01:00
Richard Davey
87c950a5ea
Fixed jsdocs
2018-06-08 16:18:39 +01:00
Richard Davey
529442f134
Only install the plugin if set in Scene settings / Game Config
2018-06-08 16:18:32 +01:00
Richard Davey
8148b14cc3
Removed references to the Gamepad
2018-06-08 16:18:20 +01:00
Richard Davey
680d34b3c4
Convert Gamepad Manager to an Input Plugin
2018-06-08 16:17:58 +01:00
Chris Andrew
469c34feee
Documented the remaining descriptions in the Quad and Sprite game objects.
2018-06-08 15:50:44 +01:00
Chris Andrew
ae214a8664
Documented the missing descriptions for the Mesh game object.
2018-06-08 15:42:55 +01:00
Chris Andrew
07e9878166
Documented the Light game object.
2018-06-08 15:40:39 +01:00
Richard Davey
02554984fe
Removed KeyboardManager and replaced with KeyboardPlugin
...
The `KeyboardManager` class has been removed. It has been replaced with `KeyboardPlugin` which is now an Input level plugin, that registers itself with the new `InputPluginCache`. The Input Plugin class (which belongs to a Scene) will now automatically inject registered plugins into itself on boot. Every Scene has its own instance of the Input Plugin (if enabled in the scene plugins), which in turn has its own instance of the KeyboardPlugin. The `InputManager` no longer has any reference to the Keyboard class at all. The benefits of this are two-fold: First, it allows you to now entirely exclude all of the keyboard classes from a custom build, saving a lot of space if not required. Secondly, it means that the Scenes themselves are now responsible for keyboard events, where-as before they were entirely global. This means a Scene can be paused and stop processing keyboard events, and stop having its Key objects updated, while another Scene can still carry on doing this. It also prevents key related callbacks in sleeping Scenes from being fired (which resolves issue #3733 , thanks @JoeMoov2)
2018-06-08 15:16:35 +01:00
Richard Davey
bf46135d84
Allow for Scene level input settings
2018-06-08 15:16:09 +01:00
Richard Davey
11c5c35149
The new Input Plugin cache
2018-06-08 15:15:36 +01:00
Richard Davey
fc0069d9da
Removed all references to keyboard
2018-06-08 15:15:21 +01:00
Richard Davey
43fd10bbc1
ScenePlugin.run
is a new method that will run the given Scene and not change the state of the current Scene at all. If the scene is asleep, it will be woken. If it's paused, it will be resumed. If not running at all, it will be started.
2018-06-08 15:07:00 +01:00
Richard Davey
a6e26ba6c0
Merge branch 'master' of https://github.com/photonstorm/phaser
2018-06-08 00:23:59 +01:00
Richard Davey
1777c47a23
Added missing check
2018-06-08 00:22:58 +01:00
Chris Andrew
f8ee35d46a
Fixed Gamepad lint errors, tweaked some Graphics docs.
2018-06-07 18:36:27 +01:00
Chris Andrew
62d6496dfb
Adapted Graphics class description from Phaser CE.
...
Documented the remaining properties and a few more methods.
2018-06-07 16:47:27 +01:00
Richard Davey
5f1fff6d48
Merge branch 'master' of https://github.com/photonstorm/phaser
2018-06-07 16:36:36 +01:00
Richard Davey
cfa436f158
Added new methods
2018-06-07 16:36:32 +01:00
Chris Andrew
8d926754cb
Fixed lint issues in Gamepad and GamepadManager.
2018-06-07 16:04:27 +01:00
Chris Andrew
786d2068a3
Documented most of the Graphics Game Object methods.
2018-06-07 16:01:40 +01:00
Chris Andrew
69ec32a2fe
Documented initial Graphics options and Graphics style settings types.
2018-06-07 16:01:40 +01:00
Richard Davey
0180a684ca
Added leftStick and rightStick properties and shoulder buttons
2018-06-07 14:30:16 +01:00
AleBles
7fc1fbbb4c
Put Android device check before Linux, because Android useragent always includes 'Linux' and Linux ua doesn't include Android
2018-06-07 10:15:44 +02:00
Richard Davey
ada4656601
Merge branch 'master' of https://github.com/photonstorm/phaser
2018-06-06 23:05:48 +01:00
Richard Davey
aa8d207485
Recoded gamepad event flow, moved to direct handlers, exposed first 4 pads, added full docs
2018-06-06 23:05:10 +01:00
Richard Davey
4c4a415dc3
Added docs, axis and button getters
2018-06-06 23:04:38 +01:00
Richard Davey
1518551c43
Added docs, destroy method, and updated update
2018-06-06 23:04:11 +01:00
Richard Davey
12b6825854
Added docs and destroy method
2018-06-06 23:03:59 +01:00
Richard Davey
b18183fb9f
Added docs
2018-06-06 23:03:44 +01:00
Richard Davey
fa2e274f8d
New gamepad target config property
2018-06-06 23:03:27 +01:00
Chris Andrew
ab5853f65e
Started documenting the Graphics game object.
...
Added a couple of missing descriptions for the Container game object.
2018-06-06 17:52:31 +01:00
Chris Andrew
39ace6c9e9
Finished all BitmapText descriptions, other than GameObject class descriptions.
2018-06-06 17:34:18 +01:00
Chris Andrew
fb33fd045d
Documented DynamicBitmapText display callbacks.
...
Finished up some DynamicBitmapText related descriptions.
Removed the align property from BitmapTextConfig, as it's not used.
2018-06-06 17:26:55 +01:00
Chris Andrew
79c3242c68
Tweaked and filled in a few more BitmapText related descriptions.
2018-06-06 16:58:48 +01:00
Chris Andrew
c9d4ff9f83
Fixed case of @readOnly annotations in BitmapText and DynamicBitmapText.
2018-06-06 16:34:49 +01:00
Chris Andrew
96d750bb60
Documented BitmapText and DynamicBitmapText.
...
Moved BitmapFontData typedefs to the BitmapText class file.
2018-06-06 16:32:58 +01:00
Chris Andrew
25f1dedb74
Started documenting Bitmap Font data structures.
2018-06-06 15:12:12 +01:00
Chris Andrew
a90e78d0a9
Finished UpdateList and RetroFont.Config documentation.
2018-06-06 15:11:40 +01:00
Chris Andrew
4aaf071ad3
Cleaned up some previous documentation, finished the RenderTexture GameObject documentation.
2018-06-06 14:23:39 +01:00
Andreas Loew
bcef469e1c
Trivial change to trigger travis ci build.
...
The last build failed because of lint issues outside of our code.
2018-06-05 07:45:56 +02:00
Richard Davey
a2c20a9aa7
lint fixes
2018-06-05 01:08:32 +01:00
Richard Davey
c0ac1259ea
Significant Data Manager overhaul.
...
Adds in values property, removes redundant functions, streamlines the event flow, adds features to the get and set handlers.
2018-06-05 01:01:13 +01:00
Richard Davey
a0e4a07920
In TimeStep.step
the rawDelta
and delta
values are checked to make sure they are non-negative, which can happen in Chrome when the delta is reset and out of sync with the value passed to Request Animation Frame. Fix #3088
2018-06-04 22:29:58 +01:00
Richard Davey
8b7256cb86
Pointers now iterate the full camera list, starting at the top. Fix #3631 .
2018-06-04 22:14:58 +01:00
Richard Davey
ccf50ff8dc
Added Camera.visible property and setter.
2018-06-04 22:12:20 +01:00
Richard Davey
bf2af95930
CameraManager.getCameraBelowPointer
has been renamed to getCamerasBelowPointer
and it now returns an array of all the cameras below the given pointer, not just the top-most one. The array is sorted so that the top-most camera is at the start of the array.
2018-06-04 22:10:13 +01:00
Andreas Loew
fea754f1f9
Converted code to ES5
2018-06-04 22:44:36 +02:00
Richard Davey
719a2eedca
Interactive Objects inside of Containers would still fire their input events even if the Container (or any ancestor) was set to be invisible. Objects now check their ancestor tree during the input cull and now properly skip input events if not visible. Fix #3620
2018-06-04 21:04:27 +01:00
Richard Davey
f411edf987
Added jsdocs.
2018-06-04 17:11:53 +01:00
Richard Davey
c847f3459e
addKey and removeKey can take Key objects now. Plus finished the docs.
2018-06-04 17:03:31 +01:00
Richard Davey
7a01354a8a
Added to the docs
2018-06-04 16:49:11 +01:00
Richard Davey
97fa3ab2c0
KeyboardManager.addKeys can now take either an object or key codes, or a comma-separated string, as its input.
2018-06-04 16:49:03 +01:00
Richard Davey
9eec66654f
Keyboard Manager updates
...
* KeyboardManager.handler has been removed as it's no longer used internally.
* The KeyboardManager.captures property has been removed as it can be more effectively handled by polling the `keys` object instead.
* The Keyboard Manager will no longer process key down or up events if its `enabled` property is set to false.
* The Keyboard Manager will now call `event.preventDefault` on the native DOM event as long as the Key exists in the keys array and has its `preventDefault` property set to `true` (which is the default). This means you can now control specifically which key prevents default on the browser, where-as before every key added did so.
2018-06-04 15:57:52 +01:00
Richard Davey
f280fb118b
Typo fix
2018-06-04 15:57:41 +01:00
Richard Davey
6906e6bd15
Hundreds more jsdocs completed.
2018-06-04 15:19:25 +01:00
Richard Davey
61c5f76d63
Added transformPointer method which Pointer now uses.
2018-06-04 15:19:11 +01:00
Richard Davey
3b30fcff89
Added jsdocs
2018-06-04 13:24:47 +01:00
Richard Davey
7c0c3cd5a8
Updated hitTest call and added jsdocs
2018-06-04 13:23:51 +01:00
Richard Davey
4115b10c80
Added jsdocs
2018-06-04 13:23:34 +01:00
Richard Davey
285b811625
Pointer has two new properties worldX
and worldY
which contain the position of the Pointer, translated into the coordinate space of the most recent Camera it interacted with.
2018-06-04 13:23:27 +01:00
Joachim Grill
6c58bd9029
fixed lint issues
2018-06-04 11:12:02 +02:00
Richard Davey
15af7c6d0c
Added jsdocs
2018-06-04 01:38:45 +01:00
Richard Davey
996ba89e4b
Merge branch 'master' of https://github.com/photonstorm/phaser
2018-06-03 21:17:45 +01:00
Richard Davey
e7fec396e1
If a Body collides with a Static Body it will now set the blocked
properties accordingly
2018-06-03 21:17:33 +01:00
Richard Davey
df7651a892
Merge pull request #3712 from cyantree/bugfix/endless-loop-in-TweenManager-getTweensOf
...
Fixed endless loop in `TweenManager.getTweensOf()`
2018-06-03 21:04:06 +01:00
Richard Davey
e8964dc789
Merge pull request #3727 from samme/feature/camera-centerXY
...
Add Camera#centerX, Camera#centerY
2018-06-03 21:02:51 +01:00
Richard Davey
a67e5dbbd5
Merge pull request #3726 from samme/feature/updatelist-length
...
Add Phaser.GameObjects.UpdateList#length
2018-06-03 21:01:07 +01:00
Richard Davey
d01758ea92
Merge pull request #3723 from NQNStudios/canvas-dom-fix
...
Don't re-add a user-specified Canvas to DOM
2018-06-03 20:58:54 +01:00
Richard Davey
579c6ba607
Body.useDamping is a new boolean property that allows you to use a damping effect for drag, rather than the default linear deceleration.
2018-06-03 17:08:08 +01:00
Richard Davey
9aa80b2b49
World.computeVelocity now uses the Body.useDamping property to perform either linear deceleration or damping on the Body.
...
updateMotion has been stream lined.
computeVelocity has been rewritten, takes new arguments, performs better internally.
2018-06-03 17:07:41 +01:00
samme
68ebce077e
Add Camera#centerX, Camera#centerY
2018-06-02 21:04:56 -07:00
samme
5be5ea8024
Add Phaser.GameObjects.UpdateList#length
2018-06-02 20:59:01 -07:00
Richard Davey
bbf6211107
Refactored enable and disable flow and added lots of jsdocs.
2018-06-02 12:45:25 +01:00
Richard Davey
9875318f20
Added missing dx/dy properties
2018-06-01 19:52:52 +01:00
Richard Davey
95826aa95f
Merge branch 'master' of https://github.com/photonstorm/phaser
2018-06-01 19:19:21 +01:00
Richard Davey
40a3896962
Added more jsdocs, setFPS and optimized group vs. sprite and RTree use
2018-06-01 19:19:07 +01:00
Richard Davey
586d1827e0
Removed dirty property, optimized update loop, refactored postUpdate for fixed time step
2018-06-01 19:18:40 +01:00
Richard Davey
329c9266b4
GetOverlapX/Y now use the calculated delta values, not the deltaX/Y methods
2018-06-01 15:41:40 +01:00
Chris Andrew
9e49b30d31
Fixed @return annotation spacing for GetBitmapTextSize.
2018-06-01 15:32:03 +01:00
Chris Andrew
085efa3190
Fixed a couple of BitmapTextSize descriptions.
2018-06-01 15:28:00 +01:00
Chris Andrew
8a7f381a28
Improved some GetBitmapTextSize descriptions.
2018-06-01 15:25:16 +01:00
Chris Andrew
efaff363aa
Documented XML Bitmap Font parsing and the GetBitmapTextSize function.
2018-06-01 15:21:10 +01:00
Chris Andrew
4750e92be4
Fixed a method signature issue with the Animation component's 'remove' event handler.
...
This prevented removed animations from stopping correctly, when they were removed from the AnimationManager.
2018-06-01 14:37:15 +01:00
Chris Andrew
007ac01f10
Documented the Animation, Pipeline and ToJSON Game Object components.
2018-06-01 14:08:35 +01:00
Joachim Grill
bc4186061c
added getter for center of mass
2018-06-01 14:42:59 +02:00
Joachim Grill
4719694f33
matter-js physics: added loader for shapes created and exported with PhysicsEditor
2018-06-01 14:42:28 +02:00
Chris Andrew
cb6077f231
Documented most of the Animation component class and some of the Animation class.
2018-06-01 13:11:25 +01:00
Chris Andrew
544daa8d4a
Documented the DisplayList and UpdateList plugins, and the BuildGameObject function.
2018-06-01 11:36:12 +01:00
Richard Davey
4ad7993b78
Added fixed timestep logic to Arcade Physics World
2018-06-01 03:25:33 +01:00
cyantree
e578cd55fa
Fixed endless loop in TweenManager.getTweensOf()
2018-06-01 01:25:46 +02:00
Richard Davey
7df02a4447
Added 2 NOOPs instead of merging the whole mixins.
2018-06-01 00:03:45 +01:00
Richard Davey
5dffd80420
Merge pull request #3718 from TadejZupancic/patch-3
...
Particle Emitter Manager in Container
2018-05-31 23:39:20 +01:00
Nat Quayle Nelson
507901cbb1
More comprehensive AddToDom logic
...
I realized I hadn't looked closely enough at the AddToDom logic, and created an error if a canvas was passed to GameConfig without being added to the DOM first. This commit should fix that scenario and move the logic back into AddToDom() where it really belongs
2018-05-31 16:40:46 -04:00
Nat Quayle Nelson
d43bff04e1
Should now be lint-compliant
2018-05-31 16:12:52 -04:00
Nat Quayle Nelson
29710ec9db
Don't re-add a user-specified Canvas to DOM
2018-05-31 14:53:13 -04:00
Chris Andrew
ee6f48b10c
Fixed an incorrect usage of Math.abs() in Quaternion.calculateW() (thanks @qxzkjp).
2018-05-31 18:05:31 +01:00
Chris Andrew
40ba9a2ddf
Improved descriptions for Quaternion.conjugate() and Quaternion.calculateW().
2018-05-31 17:55:07 +01:00
Chris Andrew
56b43c5cc0
Improved Quaternion.conjugate() description.
2018-05-31 17:42:57 +01:00
Chris Andrew
e52e9ff8ec
Documented a few more Matrix descriptions. Fixed Matrix4.makeRotationAxis().
2018-05-31 17:32:25 +01:00
Richard Davey
f45ab89f8d
The ForwardDiffuseLightPipeline, used by the Lights system, now sets a flag if the Scene doesn't contain any lights. All of the Game Objects now check this flag and don't even bother adding themselves to the batch if there are no lights in the Scene, as they'd never render anyway. This also avoids the ghost-image problem if you swap Scenes to a new Scene with the Light Manager enabled, but no actual lights defined. Fix #3707
2018-05-31 16:57:30 +01:00
Chris Andrew
0fdb7fcab6
Documented SinCosTableGenerator and a few more easing parameters.
2018-05-31 16:29:42 +01:00
Richard Davey
652b7b04ba
Huge new ArcadeColliderType
def. Fix #3714 .
2018-05-31 15:52:45 +01:00
Chris Andrew
fd715f9a34
Fixed lint error in InputManager.update().
2018-05-31 15:19:35 +01:00
Chris Andrew
dad6b78c9b
Documented almost all of Math.Quaternion. Fixed lint error in RandomOutside.
2018-05-31 15:17:59 +01:00
Richard Davey
20e21ff5ac
Rectangle.RandomOutside is a new function that takes two Rectangles, outer
and inner
, and returns a random point that falls within the outer rectangle but is always outside of the inner rectangle.
2018-05-31 14:07:39 +01:00
TadejZupancic
6f7463f4f7
Particle Emitter Manager in Container
...
Added Alpha and ScrollFactor Mixin to Particle Emitter Manager otherwise it crashes when added to the Container.
2018-05-30 10:44:49 +02:00
Richard Davey
594fc3e27b
Added new dom callback support, streamlined the event flow, moved to consts
2018-05-30 00:33:51 +01:00
Richard Davey
f79ee26945
Proxy to the dom callback methods
2018-05-30 00:33:28 +01:00
Richard Davey
bdc95217ae
Calls new manager queue methods
2018-05-30 00:33:16 +01:00
Richard Davey
521ea10db9
Moved active pointers total to game config
2018-05-30 00:33:01 +01:00
Richard Davey
5db2bf5cbd
Moved the event switch block from strings to consts
2018-05-30 00:32:45 +01:00
Richard Davey
45c373f9f4
Multi-touch support working properly up to 10 pointers and mouse re-enabled.
2018-05-29 16:55:52 +01:00
Richard Davey
a739be27a1
RenderTexture.resize will allow you to resize the underlying Render Texture to the new dimensions given. Doing this also clears the Render Texture at the same time
2018-05-29 12:07:40 +01:00
Richard Davey
a11a34d287
Merge branch 'master' of https://github.com/photonstorm/phaser
2018-05-29 11:50:32 +01:00
Richard Davey
a7da8dc28f
The Canvas RenderTexture drawImage method incorrectly set the values of the frame, causing them to appear wrongly scaled in the canvas renderer. Fix #3710
2018-05-29 11:50:23 +01:00
Rafael Barbosa Lopes
904b6c13da
Delete console.log
call on PluginManager.
2018-05-26 14:01:07 -03:00
Richard Davey
57e32761df
Started work on multi-touch support.
2018-05-25 19:28:18 +01:00
Richard Davey
20d702c011
Added identifier properties for multi-touch
2018-05-25 19:28:02 +01:00
Richard Davey
700a26a196
Input systems listen to Input Manager events rathern than being directly hooked in
2018-05-25 19:27:26 +01:00
Richard Davey
a8f1b23b73
Fixed jsdoc errors
2018-05-25 17:20:50 +01:00
Richard Davey
d2981a8576
Preparing for 3.10 dev work
2018-05-25 00:21:01 +01:00
Richard Davey
23d3fe3774
3.9.0 Release
2018-05-24 23:42:40 +01:00
Richard Davey
6cfc5d49e7
The AudioContextMonkeyPatch has been updated to use an iife. Fix #3437
2018-05-24 23:17:33 +01:00
Richard Davey
3d9da060c5
Camera.shake would not effect dynamic tilemap layers. Fix #3669
2018-05-24 23:02:59 +01:00
Chris Andrew
05f55dc5ed
Minor parameter renaming for SmoothStep interpolation functions.
2018-05-24 19:06:57 +01:00
Chris Andrew
2e0b50ee90
Simplified implementations of SmoothStepInterpolation and SmootherStepInterpolation.
2018-05-24 18:55:24 +01:00
Chris Andrew
2f3c35c5b5
Fixed SmoothStepInterpolation and SmootherStepInterpolation implementations.
...
Improved documentation consistency of SmoothStep, SmootherStep, SmoothStepInterpolation and SmootherStepInterpolation.
2018-05-24 18:48:12 +01:00
Chris Andrew
f38a0683ff
Updated SmoothStep and SmootherStep documentation. Fixed lint errors.
2018-05-24 18:11:18 +01:00
Chris Andrew
424b5d72cd
Added SmootherStep interpolation function.
2018-05-24 18:02:53 +01:00
Richard Davey
603483ee69
Merge branch 'master' of https://github.com/photonstorm/phaser
2018-05-24 17:30:31 +01:00
Richard Davey
7d692bc7dc
Added Camera.followOffset property and helper methods setLerp and setFollowOffset.
2018-05-24 17:30:28 +01:00
Richard Davey
9834e9d30b
Added followOffset property to Camera target
2018-05-24 17:04:20 +01:00
Richard Davey
bed3968ff7
Added SmoothStep interpolation function
2018-05-24 17:04:02 +01:00
Richard Davey
2684e7d988
Updated docs and added native clamping
2018-05-24 17:03:42 +01:00
Chris Andrew
e6d1df56cd
Started documenting Matrix3 and Matrix4.
2018-05-24 16:41:59 +01:00
Chris Andrew
3a56fc32f7
Described all easing functions.
2018-05-24 15:44:49 +01:00
Richard Davey
9a76f40f55
No such property as target
, swap to _follow
.
2018-05-24 15:33:49 +01:00
Richard Davey
f8cda698e4
Added Camera.lerp and implemented linear interpolation when following targets
2018-05-24 15:29:38 +01:00
Richard Davey
57c2ccbf5e
Formatting fix and doc update
2018-05-24 14:03:29 +01:00
Richard Davey
37f75fd233
Merge pull request #3675 from tjb295/master
...
Bug: #3645 issue with clearing GameObjects from this._list. Called qu…
2018-05-24 13:51:55 +01:00
Richard Davey
6ab124c591
Merge pull request #3687 from thomastanck/thomastanck-typedefupdates
...
Update type definitions
2018-05-24 13:49:30 +01:00
Chris Andrew
1aeb8327e7
Started documenting Math.Easing functions.
2018-05-24 13:33:47 +01:00
Chris Andrew
313ae38bb1
Improved Math.Angle function documentation.
2018-05-24 13:14:04 +01:00
Chris Andrew
1c94c3d4d6
Documented a few more Phaser.Math functions.
2018-05-24 12:59:27 +01:00
Chris Andrew
c9d82c9ebd
Documented Math.Snap functions.
...
Adapted from Phaser CE documentation.
2018-05-24 12:15:37 +01:00
Chris Andrew
5e374b29dc
Elaborated fuzzy math function descriptions.
...
Finished up pow2 and RandomDataGenerator descriptions.
2018-05-24 12:06:44 +01:00
Chris Andrew
0f9bfc62f8
Documented Math.Distance, Math.Fuzzy and Math.Interpolation.
2018-05-24 11:40:53 +01:00
Richard Davey
d6d9b69897
Merge branch 'master' of https://github.com/photonstorm/phaser
2018-05-23 23:14:56 +01:00
Richard Davey
30678b44ff
Updated method names
2018-05-23 23:09:31 +01:00
Chris Andrew
4726b8f2eb
Merge pull request #3696 from hexus/documentation
...
Phaser.Math Documentation
2018-05-23 18:49:29 +01:00
Chris Andrew
03fee98511
Reverted Vector3.setTo() implementation. Fixed an ESLint issue in RenderTexture.
2018-05-23 18:37:32 +01:00
Chris Andrew
8c3a9ea42b
Documented Math.Angle functions and Math.Wrap.
2018-05-23 17:42:54 +01:00
Richard Davey
182015bdbc
Merge pull request #3695 from wtravO/master
...
Fixed JSDoc error in RND.shuffle param
2018-05-23 15:30:42 +01:00
Richard Davey
68303622f2
Setting an existing Game Object as a static Arcade Physics body would sometimes incorrectly pick-up the dimensions of the object, such as with TileSprites. Fix #3690
2018-05-23 15:17:26 +01:00
Travis O'Neal
87d1621bfc
Fixed JSDoc error in shuffle param
2018-05-23 10:17:07 -04:00
Richard Davey
6eea9db9b2
jsdoc fixes. FIx #3694
2018-05-23 15:04:54 +01:00
Chris Andrew
01d45f5d83
Documented most of Vector4. Improved documentation consistency between Vector classes.
2018-05-23 15:00:03 +01:00
Richard Davey
1a1dbe2dd7
lint fix
2018-05-23 14:55:51 +01:00
Chris Andrew
c9d17fb9c7
Implemented Vector3.setTo() (alias for set()).
...
Fixed some documentation mistakes. Removed appropriate TODO.
2018-05-23 12:19:31 +01:00
Chris Andrew
d8163439a1
Documented most of Vector3. Improved Vector2 documentation.
2018-05-23 12:15:16 +01:00
Chris Andrew
dca9f11f0f
Started documenting top-level Phaser.Math functions and classes.
2018-05-23 10:46:16 +01:00
Chris Andrew
5f3767f43d
Polished some DataManagerPlugin and EachActiveSoundCallback descriptions.
2018-05-23 08:18:49 +01:00
Chris Andrew
f95b35eae7
Finished off descriptions for Data, Plugins and Sound.
2018-05-23 08:09:24 +01:00
Richard Davey
8aa116ca4b
The dragend
event would be broadcast even if the drag distance or drag time thresholds were not met. Fix #3686
2018-05-22 21:24:50 +01:00
Richard Davey
de8462efed
Added default values and tidied up docs a little
2018-05-22 16:19:18 +01:00
Richard Davey
1485f34cbe
Merge pull request #3682 from samme/feature/arcade-body-setters
...
Add `allowDrag`, `allowGravity`, `allowRotation` to Arcade.PhysicsGroup config
2018-05-22 16:12:39 +01:00
Richard Davey
65172a69a0
Merge pull request #3679 from KingCosmic/master
...
fixed #3646
2018-05-22 16:04:38 +01:00
Richard Davey
457ab68ef4
Container updated to use preDestroy and remove event hooks
2018-05-22 16:02:28 +01:00
Richard Davey
d629923e54
Blitter preDestroy will now clear the children List and renderList.
2018-05-22 16:02:13 +01:00
Richard Davey
b3ef36ed08
Added preDestroy callback
2018-05-22 15:59:23 +01:00
Richard Davey
660887f338
Group.destroy now respects the ignoreDestroy
property.
2018-05-22 15:59:10 +01:00
Richard Davey
2630c982b4
jsdoc fixes
2018-05-22 15:55:36 +01:00
Richard Davey
137f97b325
RenderTexture.destroy has been renamed to preDestroy
to take advantage of the preDestroy callback system.
2018-05-22 15:55:22 +01:00
Richard Davey
0893c158d1
Added jsdocs
2018-05-22 15:55:02 +01:00
Richard Davey
126ec196c1
TileSprite.destroy has been renamed to preDestroy
to take advantage of the preDestroy callback system.
2018-05-22 15:54:53 +01:00
Thomas Tan
0c61eb0062
Return type this for Arcade Physics components too
2018-05-22 16:09:28 +08:00
Thomas Tan
0fcfe73de1
Missed some cases
2018-05-22 16:08:44 +08:00
Thomas Tan
2c5cadc67c
Use this
return type annotation
2018-05-22 12:46:26 +08:00
Thomas Tan
0fa334ff3e
Change Group.* return types from GameObject to any
2018-05-22 12:05:52 +08:00
Thomas Tan
ff38588285
Specify type of ArcadeSprite.body
...
Do this by overwriting this.body in ArcadeSprite constructor.
2018-05-22 10:16:21 +08:00
Thomas Tan
8124ba9b86
Allow object param type for Arcade group Factory
2018-05-22 10:15:42 +08:00
Thomas Tan
806b5981b0
Add Group to param type in Arcade collide/overlap
2018-05-22 10:11:15 +08:00
Thomas Tan
3589b95bbd
Fix setCollideWorldBounds param type for Arcade
2018-05-22 10:05:37 +08:00
Austyn Studdard
330e039763
fixed #3646
2018-05-19 13:36:42 -05:00
Austyn Studdard
60d35be269
revert
2018-05-19 13:33:04 -05:00
Austyn Studdard
50ce7feb87
fixed issue #3646
2018-05-19 11:46:43 -05:00
Richard Davey
c51742ad9f
New mapping property
2018-05-18 18:43:35 +01:00
Richard Davey
0b1d32b571
New registerFileType argument, new Global Plugin mapping and createEntry method
...
* PluginManager.registerFileType has a new property `addToScene` which allows you to inject the new file type into the LoaderPlugin of the given Scene. You could use this to add the file type into the Scene in which it was loaded.
* PluginManager.install has a new property `mapping`. This allows you to give a Global Plugin a property key, so that it is automatically injected into any Scenes as a Scene level instance. This allows you to have a single global plugin running in the PluginManager, that is injected into every Scene automatically.
* PluginManager.createEntry is a new private method to create a plugin entry and return it. This avoids code duplication in several other methods, which now use this instead.
2018-05-18 18:43:27 +01:00
Thomas Back
67b2cea130
Bug: #3645 issue with clearing GameObjects from this._list. Called queueForRemoval() from the clear function in inputPlugin.js, since this.clear(Gameobject) called again in preupdate when removed from this._list, checked the case for if GameObject.input already set to null properties
2018-05-18 10:33:43 -07:00
Richard Davey
cad3271164
lint fix
2018-05-18 17:43:12 +01:00
Richard Davey
56888fd5db
Game will now auto-focus and prevent focus loss for the keyboard when clicking away and back again
...
* Game has a new property `hasFocus` which is a read-only boolean that lets you know if the window the game is embedded in (including in an iframe) currently has focus or not.
* Game.Config has a new property `autoFocus`, which is `true` by default, and will automatically call `window.focus()` when the game starts.
* Clicking on the canvas will automatically call `window.focus`. This means in games that use keyboard controls if you tab or click away from the game, then click back on it again, the keys will carry on working (where-as before they would remain unfocused)
2018-05-18 17:37:45 +01:00
Richard Davey
4c1703768d
Docs update
2018-05-18 17:37:20 +01:00
Richard Davey
7c28a7bd08
Bob.reset will now reset the position, frame, flip, visible and alpha values of the Bob, plus JSDocs completed.
2018-05-18 14:44:25 +01:00
Richard Davey
bfa2902304
Merge branch 'master' of https://github.com/photonstorm/phaser
2018-05-18 13:16:21 +01:00
Richard Davey
9429a28574
The Particle tint value was incorrectly calculated, causing the color channels to be inversed. Fix #3643
2018-05-18 13:16:17 +01:00
Richard Davey
45a186978c
Merge pull request #3665 from samme/fix/collideHandler
...
Fix TypeError when colliding a group as the only argument
2018-05-18 12:55:49 +01:00
Richard Davey
f42b7c9d8e
Merge pull request #3672 from mikez/patch-1
...
jsdoc fixes
2018-05-18 12:54:15 +01:00
Richard Davey
ef2b8d68b6
setInteractive now works on non-zero sized Containers. Sorting fixed.
2018-05-18 12:48:12 +01:00
Michael B
e322ed7916
jsdoc fixes
2018-05-18 02:56:32 +02:00
Richard Davey
32818ee9cd
jsdoc fixes
2018-05-17 15:10:23 +01:00
Richard Davey
919676ae10
PluginManager.destroy didn't reference the plugin correctly, throwing an Uncaught TypeError if you tried to destroy a game instance. Fix #3668
2018-05-17 12:16:14 +01:00
Richard Davey
b4f371edc5
Preparing for 3.9 dev
2018-05-16 22:05:25 +01:00
samme
24efda7aca
Add allowDrag
, allowGravity
, allowRotation
to PhysicsGroup config
2018-05-16 10:36:23 -07:00
Richard Davey
0d0846a415
Calling a creator, such as GraphicsCreator, without passing in a config object, would cause an error to be thrown. All Game Object creators now catch against this.
2018-05-16 15:17:08 +01:00
Richard Davey
dfc3cb92c0
3.8.0 Release
2018-05-16 15:08:01 +01:00
Richard Davey
66810f9649
Added fixed core build and updated AP config
2018-05-16 14:53:15 +01:00
Richard Davey
9f7d3bf9ca
Allowed get
to return the class and added autoStart boolean
2018-05-16 14:35:45 +01:00
Richard Davey
5e667ec139
Fixed 'all frames' check
2018-05-16 14:35:30 +01:00
samme
06677c2cdc
Allow empty object2 in collideObjects
2018-05-15 13:11:31 -07:00
Richard Davey
984c90f0bc
Merge pull request #3659 from samme/fix/typescript-body
...
Correct JSDoc type for GameObject#body
2018-05-15 16:27:20 +01:00
Richard Davey
26faa58ad7
Corrected an error in Container.getBoundsTransformMatrix that called a missing method, causing a getBounds
on a nested container to fail. Fix #3624
2018-05-15 16:23:33 +01:00
samme
0bbffdc965
Correct JSDoc type for GameObject#body
2018-05-15 08:04:44 -07:00
Richard Davey
5b0cb0faf3
All Game Objects have a new method setRandomPosition
which will randomly position them anywhere within the defined area, or if no area is given, anywhere within the game size.
2018-05-15 15:58:53 +01:00
Richard Davey
2f4358fed4
The keycodes for 0 to 9 on the numeric keypad have been added. You can now use them in events
2018-05-15 15:57:26 +01:00
Richard Davey
9500a6ee32
When calling generateFrameNames
to define an animation from a texture atlas you can now leave out all of the config properties and it will create an animation using every frame found in the atlas. Please understand you've no control over the sequence of these frames if you do this and it's entirely dictated by the json data
2018-05-15 15:34:57 +01:00
Richard Davey
6d1166a9c2
lint fixes
2018-05-15 14:28:27 +01:00
Richard Davey
3043fd52e6
Added jsdocs and unified the boot process
2018-05-15 14:19:56 +01:00
Richard Davey
ef9ab052c7
PluginManager updates to handle Scene system injection, PluginCache use and registering new game objects and file types
2018-05-15 12:52:18 +01:00
Richard Davey
350cb037b7
All systems now register themselves with the new PluginCache
2018-05-15 12:51:50 +01:00
Richard Davey
6ef465a734
Animation.yoyo was ignored when calculating the next frame to advance to, breaking the yoyo effect. It now yoyos properly
2018-05-15 09:40:22 +01:00
Richard Davey
f410dc3d88
The Headless renderer was broken due to an invalid access during TextureSource.init.
2018-05-15 08:51:54 +01:00
Richard Davey
bdf9f5ce60
Utils.Array.BringToTop failed to move the penultimate item in an array due to an index error. Fix #3658
2018-05-15 08:45:39 +01:00
Richard Davey
4741ee02b1
Updated docs and lint fixes
2018-05-11 18:55:44 +01:00
Richard Davey
444dda12d7
Added option to insert plugin into Scene immediately
2018-05-11 18:22:28 +01:00
Richard Davey
271c0a08b8
Added new ScenePluginFile and updated PluginFile. External and internal plugins now work.
2018-05-11 18:22:12 +01:00
Richard Davey
0937bff044
Spacing
2018-05-11 18:21:50 +01:00
Richard Davey
d160f5c648
Removed log and improved docs
2018-05-11 16:24:10 +01:00
Richard Davey
a2b1c72a51
PluginManager now handles booting custom scene plugins
2018-05-11 16:01:37 +01:00
Richard Davey
9dc76348cb
Added new base ScenePlugin
2018-05-11 16:01:23 +01:00
Richard Davey
4f2ef3f3ca
Fixed overwrite and split plugin types.
2018-05-11 16:01:11 +01:00
Richard Davey
47077ea9f3
We don't need the key, so remove it.
2018-05-11 16:00:59 +01:00
Richard Davey
4959ed70ef
Now gets the list from the PluginManager
2018-05-11 16:00:46 +01:00
Richard Davey
45c3336354
Revamped PluginManager, now working to install, start and stop plugins.
2018-05-11 14:06:51 +01:00
Richard Davey
ed8a0d97e3
Renamed Plugin to BasePlugin to accurately reflect what it is. Added default methods.
2018-05-11 14:06:35 +01:00
Richard Davey
e431cc33f9
Moved plugins file to DefaultPlugins and changed the namespace
2018-05-11 14:06:13 +01:00
Richard Davey
2f4c52b7e4
Remapped EventEmitter correctly to Phaser.Events.EventEmitter
2018-05-11 14:05:34 +01:00
Richard Davey
0a46c13f4c
Working through new plugin structure
2018-05-11 01:50:37 +01:00
Richard Davey
ade37dd35e
Game.step now uses more events and less direct calls.
2018-05-11 01:50:16 +01:00
Richard Davey
d595da49fd
Now use the prestep event to update instead
2018-05-11 01:50:02 +01:00
Richard Davey
11cbf0cf8d
Marked the children parameter as optional. Fix #3657
2018-05-10 23:32:46 +01:00
Richard Davey
f6d8606daa
Fixed type
2018-05-10 22:01:40 +01:00
Richard Davey
8ca79cdda4
Working on the plugin config setup
2018-05-10 17:15:25 +01:00
Richard Davey
1408a2dc81
plugins is now available from every Scene
2018-05-10 17:15:08 +01:00
Richard Davey
61d38b028f
Exposed Plugin and Plugins namespace
2018-05-10 17:14:52 +01:00
Richard Davey
be330e609e
Moved PluginManager to new location
2018-05-10 17:14:33 +01:00
Richard Davey
cc9d3160b1
Update type
2018-05-10 13:07:49 +01:00
Richard Davey
95eaa2d122
Merge branch 'master' of https://github.com/photonstorm/phaser
2018-05-10 12:42:11 +01:00
Richard Davey
d19a1f9a4f
Fixed config object
2018-05-10 12:42:08 +01:00
Richard Davey
7a4b29872e
Allow for custom canvas and context game config options. Game.context now set in WebGL mode. Allows WebGL2 contexts to be passed in. Fix #3653
2018-05-10 12:25:33 +01:00
samme
a70fb6aee9
Add docs for Arcade Physics
2018-05-09 21:28:52 -07:00
Richard Davey
c9ea4dc117
Testing new PluginFile approach.
2018-05-09 23:55:11 +01:00
Richard Davey
835bc37e32
Optimized TextureTintPipeline.drawBlitter so it skips bobs that have alpha of zero and only calls setTexture2D
if the bob sourceIndex has changed, previously it called it for every single bob.
2018-05-09 15:13:06 +01:00
Richard Davey
7df0488100
Fixed dupe config set
2018-05-09 14:32:32 +01:00
Richard Davey
6ec1a580eb
typo fix
2018-05-09 14:30:31 +01:00
Richard Davey
056e74d6dc
Added compression object for future texture compression support.
2018-05-09 13:46:19 +01:00
Richard Davey
39cf7252c9
Check if body exists. Fix #3649 .
2018-05-09 13:45:47 +01:00
Richard Davey
4106f7e899
Fixed File call re: #3650
2018-05-09 13:04:18 +01:00
Richard Davey
6e97b09ec9
Merge branch 'master' of https://github.com/photonstorm/phaser
2018-05-09 13:02:44 +01:00
TadejZupancic
b795fbd97a
Missing loader parameter in File.call
2018-05-09 13:27:51 +02:00
Richard Davey
89329a2315
Added getMaxTextures and getMaxTextureSize methods
2018-05-09 12:12:16 +01:00
Richard Davey
b1d41e506f
Typo fix
2018-05-09 12:11:29 +01:00
Richard Davey
d90e012898
Preparing for 3.8.0
2018-05-09 11:23:41 +01:00
Richard Davey
7788602518
3.7.1 Release
2018-05-08 23:47:33 +01:00
Richard Davey
321ccf883a
3.7.0 Release
2018-05-08 23:29:42 +01:00
Richard Davey
57918bb50f
Removed the need for raw-loader
in webpack. Shaders now build to standard JS files. Removed fs requirement.
2018-05-08 23:04:57 +01:00
Richard Davey
c89728de1d
lint fix
2018-05-08 21:16:22 +01:00
Richard Davey
ec3bd4c729
The WebAudioSoundManager will now listen for 'click' events on the document body, as well as touch events, before resuming the AudioContext.
2018-05-08 16:51:43 +01:00
Richard Davey
1414b77f4a
Merge branch 'master' of https://github.com/photonstorm/phaser
2018-05-08 16:15:56 +01:00
Richard Davey
672a535d88
Added disableInteractive and removeInteractive methods. #3621
2018-05-08 16:15:50 +01:00
Richard Davey
aed8961e5a
Merge pull request #3647 from zilbuz/jsdocs
...
Update JSDocs
2018-05-08 16:02:43 +01:00
Richard Davey
0441e19f2b
Updated jsdocs
2018-05-08 15:43:12 +01:00
Basile Desloges
fe03667ee5
Update JSDocs
...
- Update GameConfig to explicit the `render` subobject
- GameConfig#render.powerPreference is documented as string instead of boolean
- Add comments to the members of the `Config` object
2018-05-08 16:28:36 +02:00
Richard Davey
ee2c0619d8
Updated jsdocs
2018-05-08 13:30:33 +01:00
Richard Davey
d7dfc1137d
Added jsdocs
2018-05-08 13:16:53 +01:00
Richard Davey
ed9dbde7e0
Added jsdocs
2018-05-08 12:48:12 +01:00
Richard Davey
5700e9ac36
jsdocs update
2018-05-08 12:34:18 +01:00
Richard Davey
acc8683de8
Format fix
2018-05-08 01:37:16 +01:00
Richard Davey
199db75a8b
lint fix
2018-05-08 01:36:45 +01:00
Richard Davey
560b0ca84b
Binary files have a new optional dataType
property to cast the data to upon load.
2018-05-08 01:12:41 +01:00
Richard Davey
1cb68a9895
New per file event dispatched.
2018-05-08 01:12:20 +01:00
Richard Davey
977fc930ec
Added jsdocs
2018-05-07 23:25:58 +01:00
Richard Davey
1fb96f60ed
Added jsdocs
2018-05-07 15:17:33 +01:00
Richard Davey
5042358da0
Typo fix
2018-05-05 17:15:21 +01:00
Richard Davey
90062d46dd
Updated jsdocs
2018-05-05 17:10:03 +01:00
Richard Davey
f81fea08fb
Added jsdocs
2018-05-05 12:46:51 +01:00
Richard Davey
cfe70866d6
Added jsdocs
2018-05-05 12:37:17 +01:00
Richard Davey
e017777773
Updated jsdocs
2018-05-05 12:31:04 +01:00
Richard Davey
a1ee4e6f24
Added jsdocs
2018-05-05 12:14:16 +01:00
Richard Davey
42cc4acf00
Added jsdocs
2018-05-05 11:56:09 +01:00
Richard Davey
29aec01b6f
Bumping to 3.7.0
2018-05-04 18:51:02 +01:00
Richard Davey
7c53e13e81
Finished jsdocs
2018-05-04 18:50:10 +01:00
Richard Davey
8e7df2a234
You can now set the X-Requested-With
header in the XHR requests by specifying it in your XHRSettings config, either in the game, scene or file configs.
2018-05-04 17:33:48 +01:00
Richard Davey
8b574f271f
Loader.enableParallel has been removed. If you don't want parallel file loads then set the maximum parallel limit to 1. Related to this, the Game Config loaderEnableParallel
property has been removed.
2018-05-04 17:13:27 +01:00
Richard Davey
4d8fb08575
Merge branch 'master' of https://github.com/photonstorm/phaser
2018-05-04 16:00:09 +01:00
Richard Davey
faef3449f5
Added jsdocs
2018-05-04 16:00:02 +01:00
Richard Davey
d1479b6f23
Merge pull request #3641 from tamagokun/patch-1
...
Update Tiled Base64Decode function
2018-05-04 15:30:46 +01:00
Richard Davey
0415dfbb7e
lint fixes
2018-05-04 15:16:20 +01:00
Richard Davey
5ec482c539
Removed logs
2018-05-04 15:07:07 +01:00
Richard Davey
3b580c3e32
Missing new!
2018-05-04 14:46:58 +01:00
Richard Davey
d28a928663
Added normal map support for multi-atlas parsing
2018-05-04 14:34:19 +01:00
Richard Davey
6e820b3e7f
We know the order, so can avoid checking the type
2018-05-04 14:34:06 +01:00
Richard Davey
acf6b94b2f
Removed loadArray and fixed addPack return
2018-05-04 14:33:44 +01:00
Richard Davey
ebf77e2bbc
The Scene Settings payload property has changed from files
to pack
and now follows the Pack File format.
2018-05-04 14:33:28 +01:00
Richard Davey
6d83cae2dc
The Texture class has a new method getDataSourceImage
which will return the raw image data of the data source.
2018-05-04 14:33:02 +01:00
Richard Davey
b0c853a782
Added in normal map support
2018-05-04 14:32:13 +01:00
Richard Davey
9b7d6d0254
Added linkFile support back in, so images can bind to other data.
2018-05-04 14:31:43 +01:00
Richard Davey
97dd683ea1
The Forward Diffuse Light Pipeline was hard coded to assume the normal map would be stored in the source index zero. It now correctly obtains the normal map from the frame source index, which means all Game Objects that used frames from multi-atlas textures will now work with lights properly.
2018-05-04 14:31:19 +01:00
Richard Davey
c796332892
Only scan resources if a resourceLoad
2018-05-04 11:34:10 +01:00
Richard Davey
1afb066dfa
Docs
2018-05-04 11:33:56 +01:00
Richard Davey
04584ad191
Renamed LinkFile to MultiFile
2018-05-04 11:33:51 +01:00
Richard Davey
c34de6acdf
lint fixes and console removal
2018-05-04 02:46:38 +01:00
Richard Davey
22c6c23f52
Removed logs and fixed double-cache add bug.
2018-05-04 02:39:49 +01:00
Richard Davey
d56c69cb39
It's only ready if not complete!
2018-05-04 02:39:33 +01:00
Richard Davey
2859e05d74
Removed logs
2018-05-04 02:39:15 +01:00
Richard Davey
225cd628ee
Changed anonymous functions as we needed them outside this file
2018-05-04 02:39:08 +01:00
Richard Davey
42d2bfaece
Audio Sprites can be json only.
2018-05-04 02:38:49 +01:00
Richard Davey
9e150fb400
New AtlasXML file type
2018-05-04 02:38:30 +01:00
Richard Davey
a09c8576d5
Shorter error
2018-05-04 02:38:09 +01:00
Richard Davey
d780cda233
Audio Sprites now support loop property
2018-05-04 02:38:01 +01:00
Richard Davey
77250b1ba3
Shorter warning.
2018-05-04 02:37:41 +01:00
Richard Davey
e1b252e4fd
Removed un-used texture parsers and added in new AtlasXML parser.
2018-05-04 02:37:32 +01:00
Richard Davey
134b0f6752
Now handles web audio + html5 audio and config objects properly
2018-05-03 17:13:01 +01:00
Richard Davey
d40b9c2a10
Fixed call
2018-05-03 17:12:44 +01:00
Richard Davey
bce9a4712e
Moved to new style of file handling
2018-05-03 17:12:32 +01:00
Richard Davey
669792d3ce
Tidying up
2018-05-03 17:12:19 +01:00
Richard Davey
107ca71d6b
BitmapText, both static and dynamic, can now take any data-type, including numbers, for the text
argument in the constructor. Before they only worked via setText
2018-05-03 15:52:12 +01:00
Richard Davey
47f647206f
Added multi atlas support back in. Pack files can now load multi-atlas files too.
2018-05-03 14:19:40 +01:00
Mike Kruk
c0ce45cfa3
Update Base64Decode.js
...
The array length should be 1/4 the size of the raw binary string, otherwise you end up with a bunch of undefined array values at the end.
2018-05-02 19:39:56 -04:00
Richard Davey
be4303e6e6
Added pack loading support and hardened up loader modifiers.
2018-05-03 00:37:00 +01:00
Richard Davey
04487f7510
Added pendingDestroy method and prefix to the key
2018-05-03 00:36:29 +01:00
Richard Davey
e7f98fc02f
No longer needed
2018-05-03 00:35:57 +01:00
Richard Davey
d79db1b739
Added isReadyToProcess method
2018-05-03 00:35:20 +01:00
Richard Davey
267765c72a
Refactoring to allow for adding files during load, instant file processing and load packs
2018-05-02 17:25:27 +01:00
Richard Davey
c0f23e119a
Removed callback argument and hit the onProcess methods directly
2018-05-02 17:24:56 +01:00
Richard Davey
77dd16dc8d
Removed callbacks and added new onProcess methods
2018-05-02 17:24:25 +01:00
Richard Davey
8c51107718
Max Parallel Files limit raised from 4 to 32
2018-05-02 17:23:51 +01:00
Richard Davey
e6a3747291
loader.path doesn't need to be in the config. Added prefix.
2018-05-02 13:11:17 +01:00
Richard Davey
c13c828dc4
lint fix
2018-05-02 11:36:03 +01:00
Richard Davey
28251fd0f5
addToScene
added to all Game Object Creators
2018-05-02 10:57:26 +01:00
Richard Davey
a30d5acb9e
The Graphics Creator would automatically add the Graphics to the display list by mistake. The default should be to remain hidden. Fix #3637
2018-05-02 10:57:04 +01:00
Richard Davey
a14ce15685
Fixed setActive and setVisible
2018-05-01 12:35:56 +01:00
Richard Davey
80a1ef3a6d
Merge branch 'master' of https://github.com/photonstorm/phaser
2018-05-01 12:22:23 +01:00
Richard Davey
e1532b3154
The Scene Systems will emit a ready
event when it has fully finished starting up and all plugins are available. Fix #3636
2018-05-01 12:22:18 +01:00
Richard Davey
661ed5f675
Merge pull request #3629 from samme/fix/setEmitZone
...
Fix `source` checks in ParticleEmitter#setEmitZone
2018-05-01 11:38:52 +01:00
Richard Davey
425acd3f63
Fixed moveAbove and moveBelow
2018-05-01 01:23:34 +01:00
Richard Davey
5d3c06d8b7
ScenePlugin.getIndex will return the index of the given Scene in the Scene List.
2018-05-01 01:23:19 +01:00
Richard Davey
1c4d6551b0
Merge pull request #3635 from snowbillr/arcade-collider-param-types
...
arcade colliders take gameobjects, not arcade bodies
2018-04-30 14:35:55 +01:00
Bill Reed
a996bbf8df
update collider and overlap param types
2018-04-30 08:44:02 -04:00
Bill Reed
3fc0712451
update collider param types
2018-04-30 08:43:21 -04:00
Bill Reed
e3af569642
update overlap and collide params
2018-04-30 08:42:49 -04:00
Richard Davey
3323b785b2
space-infix fix
2018-04-30 13:03:44 +01:00
Bill Reed
7251824b1d
arcade colliders take gameobjects, not arcade bodies
2018-04-30 07:46:46 -04:00
Richard Davey
63dbd9fd12
The Animation Component setProgress
method was setting the frame on the wrong object. Fix #3633
2018-04-30 12:37:50 +01:00
Richard Davey
373ebe7d3f
Merge branch 'master' of https://github.com/photonstorm/phaser
2018-04-30 12:28:36 +01:00
Richard Davey
9fa74400ab
Container.getBounds now checks if it can call getBounds
on its children before doing so, as some do not have this method (such as Graphics objects) so they no longer cause the call to crash. Fix #3623
2018-04-30 12:28:26 +01:00
Richard Davey
b9e774cb04
Merge pull request #3632 from snowbillr/fix-arcade-physics-factory-collider-params
...
Fix arcade physics factory collider params
2018-04-30 12:18:18 +01:00
Richard Davey
abe18a39cf
Merge pull request #3630 from ksmai/fix/jsdoc-grid-align
...
Fix JSDoc parameter type in Actions.GridAlign
2018-04-30 12:16:30 +01:00
Richard Davey
efe649b318
Merge pull request #3628 from PaNaVTEC/camerajsonbounds-typings
...
Fix camera bound typings
2018-04-30 12:15:48 +01:00
Richard Davey
eb1c55b91c
Merge pull request #3627 from rexrainbow/master
...
Remove extra space in each line end
2018-04-30 12:10:16 +01:00
Bill Reed
a50b302216
same for overlap
2018-04-29 11:35:19 -04:00
Bill Reed
b483fc4e1a
update arcade collider factory method optional params to match arcade world collider optional params
2018-04-29 11:33:01 -04:00
ksmai
1050deb59f
Fix JSDoc parameter type in Actions.GridAlign
2018-04-29 16:25:44 +08:00
samme
5fc6f94c67
Remove source
checks in setEmitZone
2018-04-28 13:10:22 -07:00
samme
f59f90d2ca
Correct source
types in *ZoneConfig definitions
2018-04-28 13:09:59 -07:00
Richard Davey
8d6eb2f9ed
More work re-structuring the file types
2018-04-28 18:09:44 +01:00
samme
84ba1ba191
Correct source
checks in setEmitZone
2018-04-28 08:41:32 -07:00
Richard Davey
0390af16e9
Moving to unified 'add' structure and removing multiatlas
2018-04-28 12:32:03 +01:00
Christian Panadero
5f03557603
Fix camera bound typings
...
Bounds where not generated with that syntax so I created an entity to
explictly define the camera bounds.
Bounds are there only when the internal property 'useBounds' is there,
so it can be undefined in some cases.
2018-04-28 12:25:07 +01:00
Rex
0a46d64328
Remove extra space in each line end
...
Add space only when the word index is greater than last one.
2018-04-28 14:54:59 +08:00
Richard Davey
9a974514ff
Added new LinkFile class and updated other file types to use it.
2018-04-27 18:44:12 +01:00
Richard Davey
f289be6bc7
Merge pull request #3625 from iamchristopher/fix-json-loader
...
Fixed loader isn't passed to JSONFile
2018-04-27 13:00:46 +01:00
Richard Davey
2037cf468b
More clarity. #3622
2018-04-27 12:42:37 +01:00
iamchristopher
68687162b5
Fixed JSONFile loader doesn't pass loader to JSONFile
2018-04-26 20:31:32 -04:00
Richard Davey
ef136f684d
Polygon.setTo would fail if given an array of arrays as a list of points. Fix #3619
2018-04-26 15:55:27 +01:00
Richard Davey
65c54f4b8d
Array.AddAt would fail if it branched to the fast-path within a Container due to an invalid property. Fix #3617
2018-04-26 15:44:56 +01:00
Richard Davey
dbdd5a8d04
Merge pull request #3514 from iamchristopher/feature-multi-image-loader
...
Fixed loading normals with multi image load
2018-04-26 13:04:49 +01:00
Richard Davey
b2b631534c
Merge pull request #3616 from samme/fix/particles
...
Fix ParticleEmitter#toJSON() output
2018-04-26 13:03:30 +01:00
Richard Davey
103e0c8727
Updated RandomDataGenerator.shuffle to remove several internal calls as min is always zero
2018-04-26 13:02:13 +01:00
Richard Davey
44314845f5
Merge pull request #3564 from wtravO/master
...
Added array shuffle method to RDG
2018-04-26 12:38:19 +01:00
Richard Davey
6934d79747
Merge pull request #3613 from samme/fix/3612
...
Fix no children created from GroupCreateConfig[] (multiple adds)
2018-04-26 12:36:23 +01:00
Richard Davey
17341d3727
Merge pull request #3614 from Fabadiculous/docs
...
Docs for DegToRad, RadToDeg, Rotate, Within, RoundAwayFromZero and IsEven
2018-04-26 12:34:39 +01:00
Chris Wright
ed51affded
Merge branch 'master' into feature-multi-image-loader
2018-04-25 20:48:06 -04:00
Felipe Alfonso
cf8e2cfd60
added jsdoc comments to WebGLRenderer
2018-04-25 20:30:41 -03:00
Felipe Alfonso
0c90f068fc
Added jsdoc comments to WebGLPipeline
2018-04-25 19:52:20 -03:00
Richard Davey
038bbcc7bc
Fixed the remaining file types.
2018-04-25 23:16:17 +01:00
Felipe Alfonso
de7568acbb
Merge branch 'master' of https://github.com/photonstorm/phaser
2018-04-25 13:18:36 -03:00
Richard Davey
0f0f099326
eslint fixes
2018-04-25 17:18:16 +01:00
Felipe Alfonso
e85c66a2fd
Added jsdocs comments to WebGL utils
2018-04-25 13:17:33 -03:00
Richard Davey
074fcbcf2b
null references
2018-04-25 17:16:39 +01:00
Richard Davey
9843da1053
Check file cache and pass processing of the file off to the file itself
2018-04-25 17:16:09 +01:00
Richard Davey
a07cc81806
Fixed passing of data for freshly added Scenes
2018-04-25 17:14:10 +01:00
Richard Davey
83a1965cb8
Files types updated to support new cache config value
2018-04-25 17:13:43 +01:00
Richard Davey
75a49d284c
Added hasCacheConflict and addToCache methods/
2018-04-25 17:13:06 +01:00
Richard Davey
1b25755419
The BaseCache has a new method exists
that will return a boolean if an entry for the given key exists in the cache or not.
2018-04-25 17:07:39 +01:00
Felipe Alfonso
d2da10c1a9
Added jsdoc comments to TextureTintPipeline
2018-04-25 13:06:19 -03:00
Daniel
78d1c566ef
Fix comment alignment
2018-04-25 20:25:29 +10:00
Daniel
9f8d87c23f
Fill some description tags in Vector2.js. Fixed some descriptions.
...
Filled for:
setFromObject
constructor
2018-04-25 20:10:49 +10:00
samme
bd9831912c
Don't stringify emitter ops twice
2018-04-24 14:20:23 -07:00
samme
0de5340201
Add 'angle' to configOpMap
...
It was missing from toJSON() output
2018-04-24 14:20:23 -07:00
Felipe Alfonso
f64b4b9b20
added jsdoc comments to ForwardDiffuseLightPipeline
2018-04-24 16:52:57 -03:00
Felipe Alfonso
7e90dab82f
FlatTintPipeline jsdoc comments
2018-04-24 16:30:00 -03:00
Felipe Alfonso
e385d018c5
added comments to ModelViewProjection pipeline component
2018-04-24 16:00:35 -03:00
Felipe Alfonso
426bc4ffd4
BitmapMaskPipeline jsdoc descriptions
2018-04-24 13:53:10 -03:00
Richard Davey
ef24982301
Pending dos
2018-04-24 15:34:55 +01:00
Richard Davey
741d1f5793
Doc pending tags
2018-04-24 15:32:08 +01:00
Daniel
1f50bbd221
Filled many description tags for methods in Vector2.
...
These include:
reset,dot, normalize, lengthSq, length, distance, distanceSq, negate,
divide, multiply, add, subtract, scale, angle, equals, setTo, set, copy,
clone
2018-04-24 17:40:51 +10:00
Daniel
f347af853f
Fix grammar in return statement description DegToRad.js
2018-04-24 16:29:51 +10:00
Daniel
529c35adda
Update return statement description in RadToDeg
2018-04-24 16:27:19 +10:00
Daniel
516c8cb29d
Update return statement description in DegToRad
2018-04-24 16:26:47 +10:00
Daniel
bad01055e1
Fill description tags in IsEven.js
2018-04-24 16:23:42 +10:00
Daniel
ce4702cbc2
Fill all description tags in RoundAwayFromZero.js
2018-04-24 16:23:26 +10:00
Daniel
bea966f646
Fill in remaining description tags for Within.js
2018-04-24 16:22:52 +10:00
Daniel
2fbb29f79a
Fill all description tags in Rotate.js
2018-04-24 16:22:05 +10:00
Daniel
31ed7f7673
Fill all description tags in TadToDeg.js
2018-04-24 13:48:11 +10:00
Daniel
c119d570ee
Fill all description tags in DegToRad.js
2018-04-24 13:47:55 +10:00
samme
66f1ff848e
Fix no children created from GroupCreateConfig[] (multiple adds)
...
Fixes #3612
2018-04-23 18:14:36 -07:00
Richard Davey
cd288b33c2
eslint fixes
2018-04-23 23:52:57 +01:00
Richard Davey
84007cd9a4
Merge branch 'master' of https://github.com/photonstorm/phaser
2018-04-23 23:47:18 +01:00
Richard Davey
6ff2cc6ba9
The new CanvasTexture class now working and linked to examples.
2018-04-23 23:46:59 +01:00
Richard Davey
152c68eca3
TextureManager.checkKey will check if a texture key is in-use and log a console warning if it is and then return a boolean.
2018-04-23 23:42:42 +01:00
Richard Davey
649adb51d3
When a TextureSource is destroyed if it's got a canvas texture it's removed from the CanvasPool.
2018-04-23 23:41:05 +01:00
Richard Davey
dd954def9d
Updated jsdoc
2018-04-23 23:40:23 +01:00
Richard Davey
0aa071f734
Frame has a new method setSize
which allows you to set the frame x, y, width and height and have it update all of the internal properties automatically.
2018-04-23 23:40:12 +01:00
Richard Davey
6d958c5157
jsdoc udpate
2018-04-23 23:39:24 +01:00
Richard Davey
8f2c13f4c8
CanvasPool has a new argument selfParent
which allows the canvas itself to be the parent key, used for later removal.
2018-04-23 23:39:12 +01:00
Richard Davey
006d501fbe
Added remove method
2018-04-23 19:11:47 +01:00
Richard Davey
54a5bb41c7
Tidying up
2018-04-23 19:11:16 +01:00
Richard Davey
4a58ed3935
The start of a new CanvasTexture class
2018-04-23 18:37:44 +01:00
Richard Davey
d96d677bea
TextureSource will automatically create a canvas texture if required and holds a reference to the renderer internally
2018-04-23 18:37:30 +01:00
Felipe Alfonso
1ce2311465
tile culling and clipping progress
2018-04-23 13:45:42 -03:00
Richard Davey
e685c50f8a
Clear manager
2018-04-23 17:30:18 +01:00
Richard Davey
649378ed0a
Tidied up canvas creation and texture deletion
2018-04-23 17:30:09 +01:00
Richard Davey
e3c28d3cd9
Removed un-needed arguments
2018-04-23 17:28:37 +01:00
Richard Davey
ed2eafb3b3
Code tidying
2018-04-23 00:13:11 +01:00
Richard Davey
ced2d34b34
BitmapMask and GeometryMask both have new destroy
methods which clear their references, freeing them for gc.
2018-04-23 00:13:04 +01:00
Richard Davey
30a0ff02cb
Merge pull request #3600 from samme/docs/particles
...
Add docs for gameobjects/particles
2018-04-22 23:07:51 +01:00
Richard Davey
f34a507002
Merge pull request #3605 from zilbuz/master
...
Update GetBounds.getBounds() JSDoc
2018-04-22 23:06:25 +01:00
Daniel
96d1b691fa
Add full stop to docs
2018-04-22 17:07:55 +10:00
Daniel
0e3c1064c9
Actually fill in the doc tags, instead of commiting the wrong thing
2018-04-22 17:04:11 +10:00
Daniel
0a422fce0c
Add full stops at the end of doc sentences
2018-04-22 17:03:47 +10:00
Daniel
d67559debc
Fill all description tags for Phaser.Math.Difference
2018-04-22 17:00:03 +10:00
Daniel
ea1d01b325
Fill all description tags for Phaser.Math.Factorial
2018-04-22 16:59:44 +10:00
Daniel
9701d68af2
Fill all description tags for Phaser.Math.FloatBetween
2018-04-22 16:59:25 +10:00
Daniel
d7c5d8951a
Fill all description tags for Phaser.Math.Factorial
2018-04-22 16:53:35 +10:00
Daniel
2c584d3d0e
Fill all description tags in GetPhysicsPlugins.js
2018-04-22 16:50:09 +10:00
iamchristopher
85a9014b28
Merge remote-tracking branch 'upstream/master' into feature-multi-image-loader
2018-04-21 16:15:19 -04:00
Pavle Goloskokovic
116e62fafe
Setting locked lag only if there are locked audio tags
2018-04-21 20:09:18 +02:00
Pavle Goloskokovic
eec19e146a
Removing locked actions from queue before performing it
2018-04-21 20:08:25 +02:00
Pavle Goloskokovic
923ac40d65
No need for resetting lockedActionsQueue
2018-04-21 20:06:14 +02:00
Pavle Goloskokovic
53b69f036c
Removed assigning lockedActionsQueue to empty array since it is initialized in constructor
2018-04-21 20:02:48 +02:00
Pavle Goloskokovic
f89a11793f
Initializing lockedActionsQueue in constructor
2018-04-21 19:58:52 +02:00
samme
711d2a6193
Minor additions and corrections to docs
2018-04-20 21:00:19 -07:00
Richard Davey
606ba6d8d7
Added new Mask component and added to all relevant Game Objects
2018-04-20 18:57:49 +01:00
Richard Davey
445439e253
The Texture Manager will now emit an addtexture
event whenever you add a new texture to it, which includes when you load images files from the Loader (as it automatically populates the Texture Manager). Once you receive an addtexture
event you know the image is loaded and the texture is safe to be applied to a Game Object.
2018-04-20 18:57:23 +01:00
Basile Desloges
a7fc306329
Update GetBounds.getBounds() JSDoc so that @generic matches with @param and @return
2018-04-20 17:55:32 +02:00
samme
8b939d7790
Omit EmitterOpEmitConfig, EmitterOpUpdateConfig
2018-04-20 06:51:31 -07:00
Richard Davey
84fa696f97
Merge branch 'master' of https://github.com/photonstorm/phaser
2018-04-20 14:03:10 +01:00
Richard Davey
6626fae27d
eslint fix
2018-04-20 14:03:06 +01:00
Richard Davey
1185586b23
Web Audio context.close now picks up the Promise.
2018-04-20 14:01:57 +01:00
Richard Davey
d50cb2505f
Merge pull request #3599 from wtravO/JSDocFix
...
Fixed bug in AnimationConfig jsdoc and filled in several empty descriptions
2018-04-20 13:55:43 +01:00
Richard Davey
e3aa437340
DataManagerPlugin would throw an error on Game.destroy if you had any Scenes in the Scene Manager had not been run. Fix #3596
2018-04-20 13:34:45 +01:00
Richard Davey
4018d6ab39
Added require.extensions and eslint rule. Fix #3598
2018-04-20 01:10:04 +01:00
Richard Davey
6299019838
Updated to use typeof DefinePlugin check.
2018-04-20 00:23:24 +01:00
Richard Davey
fc4fdc4e3c
Preparing for 3.6.1
2018-04-19 22:47:10 +01:00
samme
0b881e9a4e
Add particles docs
2018-04-19 14:05:21 -07:00
Travis O'Neal
67ea16e3b2
Fixed bug in AnimationConfig jsdoc and filled in several empty descriptions
2018-04-19 11:36:13 -04:00
Richard Davey
349a95bc4b
Updating to 3.6.0
2018-04-19 14:45:45 +01:00
Richard Davey
cfc4528370
Containers no longer in beta.
2018-04-19 14:35:17 +01:00