samme
633acec058
Fix wrong Extend target in MergeXHRSettings
2018-02-14 09:52:52 -08:00
Richard Davey
26403aa84f
Added setCORS method.
2018-02-13 05:54:43 +00:00
Richard Davey
8f4a1012fd
Updated jsdocs.
2018-02-13 01:39:22 +00:00
Richard Davey
2813ac8162
Moved PluginManager and merged configs into single root file for easier changing.
2018-02-12 23:03:48 +00:00
Richard Davey
d578e89828
Moved Mesh out of core and into its own Graphics extension.
2018-02-12 16:59:27 +00:00
Richard Davey
d1f5f8a82b
Added jsdocs
2018-02-12 16:01:21 +00:00
Richard Davey
0ca8390ecb
Optionally retain listeners.
2018-02-12 13:48:50 +00:00
Richard Davey
cbb0f236f5
Added jsdocs
2018-02-09 17:56:43 +00:00
Richard Davey
91887815f6
Merged Arcade Physics methods and added jsdocs
2018-02-09 01:40:41 +00:00
Richard Davey
e5f32ef546
Added jsdocs and moved FileTypes to their own namespace
2018-02-08 17:00:14 +00:00
Richard Davey
10193c181a
Fixed require paths.
2018-02-07 17:10:01 +00:00
Richard Davey
40689d1e35
Updated jsdocs.
2018-02-07 15:27:21 +00:00
Richard Davey
65e5b14276
Merge branch 'master' of https://github.com/photonstorm/phaser
2018-01-31 13:54:48 +00:00
Richard Davey
2a86400a28
Added in jsdocs
2018-01-31 13:54:44 +00:00
Pavle Goloskokovic
6bfb0d21ce
Releasing audio context reference
2018-01-31 14:07:03 +01:00
Richard Davey
f0726d4060
Added the ability to provide a data source image to go with a standard image
...
This allows you to load a normal map, specular map, or other format of image based data alongside a regular image and have them bound together internally, without creating duplicate entries in the Texture Manager or loader
2018-01-29 23:38:27 +00:00
Richard Davey
a4e9ae5fdd
Added jsdocs.
2018-01-26 14:23:00 +00:00
Richard Davey
2d0e27cd63
Fixed use of Object.assign (doesn't work on IE11)
2018-01-25 23:19:23 +00:00
Richard Davey
cb2891db8a
Added jsdocs to the Device inspector, removed out-dated properties and changed case of Device access
2018-01-25 17:03:35 +00:00
Richard Davey
8fe16e5506
Moved removal of listeners to the loadComplete section (re: #3184 )
2018-01-24 14:26:17 +00:00
Pavle Goloskokovic
07bbe80fca
Merge remote-tracking branch 'origin/master'
2018-01-23 19:03:11 +01:00
Pavle Goloskokovic
924247c04d
Fixes #3182
2018-01-23 19:02:58 +01:00
Michael Hadley
568b04cedb
Loader typo in new loader structure
2018-01-21 15:28:04 -06:00
Pavle Goloskokovic
c604fd9a5e
Removed updating loading properties if audio is locked
2018-01-21 15:14:46 +01:00
Pavle Goloskokovic
f917c94d93
Emitting fileprogress event
2018-01-21 15:13:48 +01:00
Pavle Goloskokovic
bdf38448ea
Calling loader nextFile method instead of callback
2018-01-21 15:13:02 +01:00
Pavle Goloskokovic
d743ac82c1
Added loaded flag to prevent multiple calls to onLoad method
2018-01-21 15:12:34 +01:00
Pavle Goloskokovic
e1c5969bd4
Calling loader nextFile method instead of callback
2018-01-21 15:11:30 +01:00
Pavle Goloskokovic
4160d738bc
Passing loader reference to load method
2018-01-21 15:10:08 +01:00
Richard Davey
864fa638af
Added LoadArray back in and sorted out callback passing.
2018-01-19 19:13:27 +00:00
Richard Davey
1d22f5a59a
File has a reference to its Loader, will also now emit progress events on itself.
2018-01-19 19:13:02 +00:00
Richard Davey
7577f470ae
You can now pass in a JS object to the JSON Loader instead of a URL. It will use the object to populate the data with. This impacts any loader type that uses json, so atlas, tilemap, audio sprite, etc. Closes #3147 .
2018-01-19 17:53:07 +00:00
Richard Davey
76c7639b20
If a file load 404s then handle this case, as it'll return the 404 page as the response type which will then try to be parsed.
2018-01-19 17:29:14 +00:00
Richard Davey
f3d9f145a6
Fixed flow error when the Loader would never complete if every single file failed.
2018-01-19 17:28:48 +00:00
Richard Davey
8c3422f2b4
BaseURL adds trailing slash if missing.
2018-01-19 17:10:23 +00:00
Richard Davey
7c7336dd30
Loader.reset gets path and baseURL again.
2018-01-19 17:07:38 +00:00
Richard Davey
7e0b04df70
You can now specify Loader settings (baseURL, path, xhr settings, etc) in either the Game Config, the Scene Config or a File Config. Game config is used as the defaults. Scene config overrides those, and a File config overrides the Scene config. This fixes #3168 .
2018-01-19 16:56:41 +00:00
Richard Davey
57444596e5
Loader now emits a progress event which can be used for progress bar loaders, etc. Also added setBasePath
and removed console logs.
2018-01-19 16:30:04 +00:00
Pavle Goloskokovic
d50c04e9f8
Merge remote-tracking branch 'origin/master'
...
# Conflicts:
# src/loader/filetypes/AudioFile.js
2018-01-19 16:30:43 +01:00
Richard Davey
e2d71e2c6d
BaseLoader renamed LoaderPlugin, const updated, index updated.
2018-01-19 14:54:50 +00:00
Richard Davey
4aa6e931f1
Merging Loader into BaseLoader
2018-01-19 14:47:25 +00:00
Richard Davey
e18858010c
Tidying up before merging with BaseLoader.
2018-01-19 13:52:03 +00:00
Richard Davey
f5462146e2
Added MultiAtlas loader.
2018-01-19 13:51:53 +00:00
Richard Davey
8983c93fc6
Added AudioSprite loader.
2018-01-19 13:51:12 +00:00
Richard Davey
db515d8724
All FileTypes now register themselves with the FileTypesManager, allowing devs to specify which loaders are included in their builds.
2018-01-19 13:29:26 +00:00
Richard Davey
676c5be1da
Added global FileTypes manager.
2018-01-19 13:29:25 +00:00
Pavle Goloskokovic
f019b8ad75
Merge remote-tracking branch 'origin/master'
2018-01-19 12:08:40 +01:00
Pavle Goloskokovic
4bb8557081
Updated reference to the game object
2018-01-19 12:06:11 +01:00
Richard Davey
fb7cdbf29b
Added ability to load plugins from external files and have them register with the PluginManager.
2018-01-18 16:48:25 +00:00
Pavle Goloskokovic
e889de2c20
Merge remote-tracking branch 'origin/master'
2018-01-18 16:09:29 +01:00