Commit graph

6090 commits

Author SHA1 Message Date
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
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
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
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
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