Commit graph

10266 commits

Author SHA1 Message Date
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
82591113bd Updated change log 2018-05-04 02:36:53 +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
ab303f0f1f Updated change log 2018-05-03 00:36:37 +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
196fad18a0 Updated versions and moved scripts 2018-05-02 11:36:20 +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