Pavle Goloskokovic
5b6fb580b3
fixed a few bugs with AudioFile class
...
- _this and device audio references
- added logging for when audio is disabled or no supported urls are found
2017-11-10 18:54:08 +01:00
Pavle Goloskokovic
36ffb13fc7
changed cache key for storing audio data from sound to audio (see https://english.stackexchange.com/a/8425 )
2017-11-10 18:51:19 +01:00
Pavle Goloskokovic
77a3eb850b
handling audio decoding in onProcess method of AudioFile class
2017-11-10 14:38:04 +01:00
Pavle Goloskokovic
0b348f83ec
updated conditional logic for choosing correct sound manager and audio files implementation
2017-11-10 13:36:13 +01:00
Michael Hadley
1b1bc41f81
Adding CSV & JSON tilemaps to BaseLoader
2017-11-09 12:21:06 -06:00
Pavle Goloskokovic
7d8f55152e
added onProcess method to AudioFile class
...
passing reference to sound manager to AudioFile constructor
2017-11-09 14:42:52 +01:00
Pavle Goloskokovic
8c0eaf3b69
added AudioFile constructor
...
loading AudioFile if Web Audio is enabled
added a couple of todos
changed return value of findAudioURL method to expose extension if available
2017-11-09 12:25:55 +01:00
Pavle Goloskokovic
13b54403f3
using better regex for extracting file extension
2017-11-09 10:58:50 +01:00
Michael Hadley
747018b5d3
Adding loader and file types for CSV and JSON tilemaps
2017-11-08 16:17:52 -06:00
Pavle Goloskokovic
4d976e59d1
added Loader method for loading audio files
...
added AudioFile class
2017-11-08 13:57:07 +01:00
Pavle Goloskokovic
1a30fc0758
updated docs and params names for newly added static methods
2017-10-12 18:13:40 +02:00
Pavle Goloskokovic
10eaa46ffa
using new static methods for generating object url when loading html files as well
2017-10-12 18:10:58 +02:00
Pavle Goloskokovic
a0c1d129ce
moved url generating logic into File class static methods
...
applied it to image and svg file classes
fixed issue with unnecessary calls to revokeObjectURL method in SVGFile class
2017-10-12 16:20:42 +02:00
Pavle Goloskokovic
a7cf674323
added alternative image loading with FileReader when URL API is not available
2017-10-12 15:39:36 +02:00
Richard Davey
bb97421214
Adding in method and property docs
2017-10-04 23:48:16 +01:00
Richard Davey
e15701da81
Added BaseLoader.save method.
...
Not really meant for production use, but super-handy for dev tools and prototypes.
2017-10-02 22:41:52 +01:00
Felipe Alfonso
6218c05f37
Fixed texfile loader
2017-08-22 17:44:40 -03:00
Richard Davey
ad4f102335
Added ability to load Unity meta data files for sprite sheets
2017-08-10 05:17:02 +01:00
photonstorm
b8df529ff1
Updated Loader and all single-file file types to support multiple load methods. Will now work with argument based loader, a configuration object or an array of objects, per all file types. Moved lots of code out of the Loader plugin and into BaseLoader and the FileType files.
2017-08-04 18:43:05 +01:00
photonstorm
dec57e2915
Extended ImageFile to support setting from a config object or array of objects.
2017-08-04 16:15:00 +01:00
photonstorm
d804e056ed
Renaming from State to Scene internally.
...
This is one monster update.
2017-07-14 14:50:51 +01:00
Richard Davey
b4e84860da
Loader can now handle script files
2017-07-11 19:23:03 +01:00
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