Richard Davey
c9ea4dc117
Testing new PluginFile approach.
2018-05-09 23:55:11 +01:00
Richard Davey
4106f7e899
Fixed File call re: #3650
2018-05-09 13:04:18 +01:00
TadejZupancic
b795fbd97a
Missing loader parameter in File.call
2018-05-09 13:27:51 +02:00
Richard Davey
b1d41e506f
Typo fix
2018-05-09 12:11:29 +01:00
Richard Davey
c89728de1d
lint fix
2018-05-08 21:16:22 +01:00
Richard Davey
0441e19f2b
Updated jsdocs
2018-05-08 15:43:12 +01: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
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
faef3449f5
Added jsdocs
2018-05-04 16:00:02 +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
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
c796332892
Only scan resources if a resourceLoad
2018-05-04 11:34:10 +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
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
47f647206f
Added multi atlas support back in. Pack files can now load multi-atlas files too.
2018-05-03 14:19:40 +01: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
e6a3747291
loader.path doesn't need to be in the config. Added prefix.
2018-05-02 13:11:17 +01:00
Richard Davey
8d6eb2f9ed
More work re-structuring the file types
2018-04-28 18:09:44 +01:00
Richard Davey
0390af16e9
Moving to unified 'add' structure and removing multiatlas
2018-04-28 12:32:03 +01:00
Richard Davey
9a974514ff
Added new LinkFile class and updated other file types to use it.
2018-04-27 18:44:12 +01:00
iamchristopher
68687162b5
Fixed JSONFile loader doesn't pass loader to JSONFile
2018-04-26 20:31:32 -04:00
Chris Wright
ed51affded
Merge branch 'master' into feature-multi-image-loader
2018-04-25 20:48:06 -04:00
Richard Davey
038bbcc7bc
Fixed the remaining file types.
2018-04-25 23:16:17 +01:00
Richard Davey
0f0f099326
eslint fixes
2018-04-25 17:18:16 +01:00
Richard Davey
074fcbcf2b
null references
2018-04-25 17:16:39 +01:00
Richard Davey
9843da1053
Check file cache and pass processing of the file off to the file itself
2018-04-25 17:16:09 +01:00
Richard Davey
83a1965cb8
Files types updated to support new cache config value
2018-04-25 17:13:43 +01:00
Richard Davey
75a49d284c
Added hasCacheConflict and addToCache methods/
2018-04-25 17:13:06 +01:00
iamchristopher
85a9014b28
Merge remote-tracking branch 'upstream/master' into feature-multi-image-loader
2018-04-21 16:15:19 -04:00
Richard Davey
a6c430674a
# not .
2018-04-19 13:31:21 +01:00
Richard Davey
eb1990d061
jsdoc fix
2018-04-19 13:30:19 +01:00
Richard Davey
32ce8d7947
jsdoc fixes and removed un-used ResetKey file.
2018-04-19 12:30:38 +01:00
Richard Davey
b0544c73b8
jsdoc fixes
2018-04-18 13:29:22 +01:00
NemoStein
2c3f13246d
Updated jsdocs (all XHR parameters are optional in Phaser.Loader.FileTypes)
2018-04-17 10:31:52 -03:00
Richard Davey
1be486fab4
destroy
only called once, no matter how many times the Scene restarts. Fix #3581
2018-04-17 12:25:45 +01:00
Richard Davey
07a55e5d1f
Removed debug call and merged Scene Systems boot and start sequences. Fix #3579
2018-04-17 02:34:07 +01:00
Richard Davey
52c6a3cdb5
Updated jsdocs
2018-04-16 15:17:10 +01:00
iamchristopher
8e15d3ca31
Merge branch 'master' into feature-multi-image-loader
2018-04-15 19:35:41 -04:00
Pavle Goloskokovic
fa07dc76e9
Removed unused argument from the docs
2018-04-14 18:49:14 +02:00
Pavle Goloskokovic
f8ebcf0588
Removed unnecessary argument
2018-04-14 18:48:22 +02:00
Pavle Goloskokovic
b4aaf81db7
Storing data on each audio tag if it is locked (ont yet loaded)
2018-04-14 18:46:09 +02:00
Pavle Goloskokovic
1c294d5921
Calculating locally if audio is locked instead of getting that data passed as a constructor argument
2018-04-14 18:44:47 +02:00
Richard Davey
6b2307594a
Scene plugin flow overhaul
...
Every Plugin has been updated to correctly follow the same flow through the Scene lifecycle. Instead of listening for the Scene 'boot' event, which is only dispatched once (when the Scene is first created), they will now listen for the Scene 'start' event, which occurs every time the Scene is started. All plugins now consistently follow the same Shutdown and Destroy patterns too, meaning they tidy-up after themselves on a shutdown, not just a destroy. Overall, this change means that there should be less issues when returning to previously closed Scenes, as the plugins will restart themselves properly.
2018-04-13 17:12:17 +01:00
iamchristopher
135db3089e
Fixed linting issue
2018-04-11 15:03:18 -04:00
iamchristopher
95e44527c5
Merge remote-tracking branch 'upstream/master' into feature-multi-image-loader
2018-04-11 14:03:18 -04:00
Richard Davey
5f9972c791
LoaderPlugin.isReady referenced a constant that no longer exists. Fix #3503
2018-04-09 13:55:41 +01:00
iamchristopher
e538a597b3
Updated ImageFile argument types
2018-04-05 20:42:32 -04:00
iamchristopher
a65cd41852
Added ImageFile argument descriptions
2018-04-05 20:34:49 -04:00
iamchristopher
9155149012
Added example multi image load
2018-04-05 20:15:56 -04:00
iamchristopher
661f9fd29e
Fixed loading normals with multi image load
2018-04-05 20:12:58 -04:00
Richard Davey
747f09af86
jsdoc fixes
2018-03-28 15:04:09 +01:00
orblazer
f42f1bf132
Change structs for generic types
2018-03-23 16:54:12 +01:00
orblazer
ed1f2a7011
Fix wrong types
2018-03-22 13:51:30 +01:00
Richard Davey
0ef92e1172
Merge branch 'pr/3439'
2018-03-21 16:06:56 +00:00
Richard Davey
13f5608cbe
Added XHRSettings Conf
2018-03-21 14:41:04 +00:00
orblazer
0c1ced8d86
Fix "object" types on Loader
2018-03-21 13:03:14 +01:00
orblazer
7fba122321
Fix "any" types
2018-03-20 17:15:49 +01:00
orblazer
44103dc475
Fix remaining multiple types
2018-03-20 16:12:42 +01:00
Richard Davey
8d7ed97d38
Removed const because already merged into namespace ( #3417 )
2018-03-20 00:37:10 +00:00
Richard Davey
3591edcb73
Merge pull request #3417 from rexrainbow/master
...
Bug fix: font might not sync to context
2018-03-20 00:34:51 +00:00
orblazer
fa13b597e3
Add more callbacks
2018-03-19 23:08:05 +01:00