Commit graph

35 commits

Author SHA1 Message Date
Rafael Barbosa Lopes
c1c3bd3fdf Fix url parameter processing.
Passing an URL to load any given file asset is optional, and the method
should make its best guess, based on some defaults, to load the
requested file.

This fix ensures the `url` attribute of the File object yields the
correct value.
2017-07-05 09:36:45 -03:00
photonstorm
c1a6919895 Loader Events extend Event class. 2017-07-04 13:10:51 +01:00
photonstorm
10be5739d8 Updated File Types to use config object instead. 2017-07-03 17:06:40 +01:00
photonstorm
4136ccf374 Lots more updates moving everything to consistent class structure. 2017-07-03 16:05:22 +01:00
Richard Davey
a27d42bc13 Added State Injection Map
State level properties can now be set and modified via the State config. State.settings removed and all accesses to it moved to sys.settings.
2017-06-30 00:32:18 +01:00
Alex Ford
6deffce156 Move a couple of _this = this binds to before their first uses 2017-06-26 18:05:26 +01:00
Richard Davey
612db78818 Added AnimationJSON Loader File type.
Fixed ToJSON component.
2017-04-12 15:27:05 +01:00
photonstorm
4b4ef1dcfd eslint fix. 2017-04-11 17:21:50 +01:00
Richard Davey
acea677424 Added ability to load HTML files into textures. 2017-04-04 14:54:22 +01:00
Richard Davey
6f115a60e3 Added ability for the Loader to handle loading SVG files and creating Images from them (for use as Sprite textures) 2017-04-04 02:54:27 +01:00
Richard Davey
0fc9c3f4ad Moved BitmapText into new folder and added in scale and font size support. 2017-03-01 00:16:35 +00:00
Richard Davey
57a90997e7 Tidied up Class, fixed a few bounds checks and exposed the utils. 2017-02-28 01:10:45 +00:00
Richard Davey
a877cdaa02 Fixed State.renderToTexture setting. 2017-02-07 22:00:55 +00:00
Richard Davey
2510bee27c Updating the StateManager so it supports renderToTexture and advanced State configs. 2017-02-07 18:55:37 +00:00
Richard Davey
a5c22cb2a2 Events reset. 2017-02-07 12:54:20 +00:00
Richard Davey
7c06670f90 Added Loader.SpriteSheet, now using a new config object rather than a bunch of arguments. 2017-02-04 05:36:06 +00:00
Richard Davey
dc5ddec256 Swapped Set.add for Set.set. 2016-12-12 22:35:47 +00:00
Richard Davey
822b3a9d0c Updated Loader so you can pass in your own XHRSettings object with any file, and have that override the XHR defaults for the specific file. 2016-12-12 22:27:53 +00:00
photonstorm
903b703245 Added Multi Atlas loader support and fixed issue with Set.each iteration. 2016-12-08 16:23:04 +00:00
photonstorm
7bf07c2151 Added in all of the Array Utils. 2016-12-07 13:34:21 +00:00
Richard Davey
5e0bbd7028 Fixed ability for it to load multi-part files and parse atlas data. 2016-12-07 10:50:10 +00:00
Richard Davey
ae47921f42 Support for lots of new file types, and the start of the multi-file loader. 2016-12-07 04:43:02 +00:00
Richard Davey
cee7498180 Fixes to get the renderer working. 2016-12-07 03:42:41 +00:00
Richard Davey
04ecaefc48 Lots of noise removal and fixed loader processing queue. 2016-12-07 01:13:17 +00:00
Richard Davey
2d90ae2b08 Images now parse into Blobs properly. 2016-12-07 00:27:56 +00:00
Richard Davey
393791706e Adding in Image parsing. 2016-12-07 00:04:53 +00:00
photonstorm
b3e4c349d2 Getting ready to hook the Loader to the Texture Manager. 2016-12-06 16:49:29 +00:00
photonstorm
2b3127c405 Cutting out the noise. 2016-12-06 15:25:24 +00:00
photonstorm
048e11bc5e New Loader Events, and sorted out the const assignments. 2016-12-06 15:15:42 +00:00
photonstorm
fdad2fc3b0 Listeners can be removed during dispatch without breaking the array. 2016-12-05 17:19:12 +00:00
photonstorm
66a5647417 Added small task list. 2016-12-05 15:29:53 +00:00
Richard Davey
1afa75d871 Updated Loader, added ArrayBuffer to Base64, added GetURL. You can now load a file on its own, without using a Loader instance at all. 2016-12-01 12:51:05 +00:00
Richard Davey
77b469b1a5 State level Loader re-implemented, and lots of BaseLoader features updated. 2016-11-30 17:16:45 +00:00
Richard Davey
17092eb573 More Loader updates, lots to do though. 2016-11-30 01:24:44 +00:00
Richard Davey
104d7a1341 Added start of the new Loader. 2016-11-30 01:24:44 +00:00