Richard Davey
b0e2018c73
Fixed issue with scope of the GameObjectFactory in multi-state games.
2017-02-07 21:49:25 +00:00
Richard Davey
7cef0e49fd
Working through context issues.
2017-02-07 20:47:41 +00:00
Richard Davey
00ac45137d
Trying to fix State order.
2017-02-07 19:53:21 +00:00
Richard Davey
2510bee27c
Updating the StateManager so it supports renderToTexture and advanced State configs.
2017-02-07 18:55:37 +00:00
Felipe Alfonso
002facb59a
Clipping added to cameras on webgl
2017-02-07 13:12:20 -03:00
Felipe Alfonso
b8524200c3
Merge branch 'master' of https://github.com/photonstorm/phaser
2017-02-07 12:47:39 -03:00
Felipe Alfonso
3301a07b88
Camera implementation
2017-02-07 12:47:27 -03:00
Richard Davey
7ef44200bb
You can now specify a files payload in the State config, which are loaded automatically before the State is run. Useful for config files, small preloader assets, etc.
2017-02-07 12:54:51 +00:00
Richard Davey
63c11faeb2
Multiple states now rendering together again.
2017-02-07 00:41:21 +00:00
Richard Davey
c2657f3d19
Fixed States from instances.
2017-02-06 23:59:15 +00:00
Richard Davey
7999f72d81
Moved GetObjectValue into utils/object
2017-02-04 05:39:37 +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
Felipe Alfonso
3f0509bead
fixed V8 deopt on Transform's updateRoot
2017-01-31 20:06:13 -03:00
photonstorm
69a9e59f8f
Testing performance.
2017-01-31 17:04:31 +00:00
photonstorm
9371753b2c
New Anchor component.
...
DrawImage now takes anchor arguments.
GameObject.angle fixed and all the other Transform accessors added back in (except Pivot).
Wrap fixed to not wrap if value is within range already.
2017-01-31 14:55:15 +00:00
Felipe Alfonso
371e779b11
Fixed issue when trying to render image on canvas with new transform
2017-01-31 10:32:03 -03:00
Richard Davey
7d83c9971f
Fixed new Transform Component integration with Canvas Renderer.
2017-01-31 00:56:13 +00:00
Richard Davey
ebf4a50ca6
Updated so Game Objects and States are using the new experimental Transform 2.
2017-01-30 23:58:29 +00:00
photonstorm
733d056899
Game Cache added and tests written and working.
...
Loader updated.
Cache now emits events on add and remove.
2017-01-30 16:56:04 +00:00
Richard Davey
0e0fceb5f7
Removed Camera as root container. Images now skipTransform.
2017-01-27 00:07:57 +00:00
Richard Davey
ce3bb7d1fa
Implemented RTree spatial sort for the display list handling. Canvas Renderer updated to take advantage of it. Camera updated to extend BaseTransform + add extra properties. Array QuickSelect function added. Frame radius calculation added.
2017-01-26 04:06:10 +00:00
photonstorm
6ee499132c
Huge refactor to sort out the game loop flow.
2017-01-25 17:10:19 +00:00
photonstorm
5c495bbdf8
RAF now calls StateManager.step directly.
...
Game no longer has RNG property.
2017-01-25 12:02:18 +00:00
Richard Davey
a814b58a45
Tidying up the State classes.
2017-01-20 02:28:55 +00:00
Richard Davey
7d044d7f14
Updating game loop
2017-01-18 16:11:29 +00:00
Richard Davey
270504923d
Fixed Scale Mode references.
2017-01-18 14:48:02 +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
Richard Davey
4662100514
Updating Set API, adding Map, adding Cache.
2016-12-09 09:32:24 +00:00
photonstorm
e9c4f28db3
Exposed Texture Manager via state.textures.
2016-12-08 16:41:23 +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
14ee4c2d1b
Added Camera and fixed path issues.
2016-12-07 02:40:07 +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
photonstorm
b3e4c349d2
Getting ready to hook the Loader to the Texture Manager.
2016-12-06 16:49:29 +00:00
photonstorm
7cf7eadb1f
Added in the new Texture Manager and all Parsers.
2016-12-06 16:18:28 +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
c76c5741e7
Added in the new EventDispatch and Event system.
2016-12-05 15:29:44 +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
photonstorm
34303f1df6
Added in the Update Manager, MainLoop and State Systems.
2016-11-29 15:25:14 +00:00
photonstorm
c2f624d349
Adding in the State Manager.
2016-11-29 13:01:16 +00:00
photonstorm
3cac9fbba8
Added Game Object Creator.
2016-11-29 11:06:14 +00:00
photonstorm
28db9a2550
Lots of work on the Game Object Factory patterns.
2016-11-29 10:46:35 +00:00