Commit graph

6090 commits

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