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