Richard Davey
006d501fbe
Added remove method
2018-04-23 19:11:47 +01:00
Richard Davey
445439e253
The Texture Manager will now emit an addtexture
event whenever you add a new texture to it, which includes when you load images files from the Loader (as it automatically populates the Texture Manager). Once you receive an addtexture
event you know the image is loaded and the texture is safe to be applied to a Game Object.
2018-04-20 18:57:23 +01:00
Richard Davey
ea0bdce26a
Updated jsdocs
2018-04-16 16:37:07 +01:00
Richard Davey
06998276ec
Removed stict mode warning
2018-03-28 16:00:19 +01:00
Richard Davey
747f09af86
jsdoc fixes
2018-03-28 15:04:09 +01:00
Richard Davey
2182511b1d
Image swap
2018-03-21 14:41:51 +00:00
orblazer
7fba122321
Fix "any" types
2018-03-20 17:15:49 +01:00
orblazer
dca7996179
Fix multiple types on Physics, Texture and Input
2018-03-20 16:10:19 +01:00
orblazer
4cff464555
Fix nullable types
2018-03-20 15:36:03 +01:00
orblazer
fa13b597e3
Add more callbacks
2018-03-19 23:08:05 +01:00
Joachim Grill
22ecd23f09
fixed multiatlas loader to support new TexturePacker atlas format introduced for Phaser 3
2018-02-27 14:48:45 +01:00
Richard Davey
e1554c34d6
eslint fixes
2018-02-16 18:07:49 +00:00
Richard Davey
8f4a1012fd
Updated jsdocs.
2018-02-13 01:39:22 +00:00
Richard Davey
d1f5f8a82b
Added jsdocs
2018-02-12 16:01:21 +00:00
Richard Davey
3225367240
Check for new TP3 structure.
2018-02-09 15:23:03 +00:00
Richard Davey
93a2c3734b
Added jsdocs
2018-02-08 13:45:53 +00:00
Richard Davey
4c5150a24c
Added jsdocs
2018-02-08 04:01:44 +00:00
Richard Davey
a802914243
Added in destroy methods for all managers and invoked them from Game
2018-01-31 03:38:10 +00: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
faf89ea78a
getTextureKeys method added to return all loaded textures.
2018-01-19 16:30:05 +00:00
Richard Davey
86fe054c63
Game boot sequence is now split-up to allow time for non-blocking, but time sensitive plugins (like the Texture Manager) to complete starting up before the main loop begins. Texture Manager now checks on state of default images before telling Game it is ready.
2018-01-18 14:01:29 +00:00
Richard Davey
e017a71f32
Game emits a boot event, which its managers listen for
2018-01-18 05:16:52 +00:00
Richard Davey
d8f1ba03e9
Moved repository location
2018-01-09 21:43:56 +00:00
Richard Davey
0d90f75b5f
Splitting the dev branch up into versions.
2016-11-22 01:36:56 +00:00
Richard Davey
2e4e4be68d
Added Frame.clone.
2016-11-07 00:33:18 +00:00
Richard Davey
35854ea58d
Cache now adds in Default and Missing images to the new Texture Manager.
2016-10-13 00:08:11 +01:00
Richard Davey
271aab1844
Removed the GPU texture handlers out of the Texture Manager, and into the WebGL Renderer.
2016-10-11 23:48:22 +01:00
Richard Davey
379b54b554
Added TextureManager.addSpriteSheetFromAtlas and removed it from the Texture class.
2016-10-11 22:46:23 +01:00
photonstorm
ce3308ea1d
Hooking the Loader and Cache into the new Texture Manager.
2016-10-11 14:52:17 +01:00
Richard Davey
e0ef9cab8b
Hooked the Texture Manager into the Cache.
2016-10-10 23:57:51 +01:00
Richard Davey
0abf9d958d
Updated scaleMode global.
2016-10-07 03:22:59 +01:00
Richard Davey
a096dd4f7d
Removed context arrays.
2016-10-05 01:47:54 +01:00
photonstorm
1da95994a5
First pass of the newly re-structured Canvas Renderer (still using old texture system though).
2016-10-03 12:44:54 +01:00
Richard Davey
42b8118fa0
All core features of the new Texture classes are now done. Multi-atlas support, Sprite Sheets embedded in atlases, shared source references, shared frame data, and split parsers. Phew.
2016-09-30 06:07:00 +01:00
photonstorm
f993769336
Lots of work on the new Texture classes.
2016-09-29 16:10:22 +01:00