Commit graph

10788 commits

Author SHA1 Message Date
Chris Andrew
566fdaca0e Documented the TransformMatrix component. 2018-06-13 14:36:07 +01:00
Richard Davey
ef8e5dd9a7 Updated readme 2018-06-13 13:55:51 +01:00
Richard Davey
7c9f731540 3.10.1 Release 2018-06-13 13:52:56 +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
39148638fd Link update 2018-06-13 10:57:27 +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
641abd300b Updated the change log 2018-06-12 16:21:44 +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
6dba00a9a7 Updated change log 2018-06-12 13:15:07 +01:00
Richard Davey
7608fcd3f9 Small package update 2018-06-12 13:15:01 +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
c24f3b8fdb Updated change log 2018-06-11 11:54:09 +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