photonstorm
dc081f0d26
More classes moved to the new structure.
2017-07-04 13:58:45 +01:00
Richard Davey
f770712c2a
Huge refactoring of States, plugins and object factories
2017-07-04 01:59:31 +01:00
photonstorm
e119e3a3fc
Huge update to move all classes to common Phaser Class format. Tidying up lots. Removing un-needed files.
2017-06-30 15:47:51 +01:00
Richard Davey
8dd7aa3cf6
Moved StateManager update call
2017-06-30 04:09:19 +01:00
Richard Davey
2340a32005
Added callback wrappers
2017-06-30 04:06:53 +01:00
Richard Davey
60247209dd
Lots of new State Manager features (sleep, wake, pause, resume, etc)
2017-06-30 03:31:31 +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
photonstorm
58ed6e51ce
Tidying up State.Systems ready for injection map.
2017-06-29 17:02:08 +01:00
photonstorm
8ab8a59704
Added ability to define cameras in the State config + export and set from JSON.
2017-06-29 16:49:05 +01:00
Richard Davey
5cef085eb5
Updated TimerEvent and Clock
...
Swapped to Class format. Added timeScale, startAt and more robust loop handling.
2017-06-28 22:21:39 +01:00
Richard Davey
6ac524e3bb
Added State Clock and TimerEvents
2017-06-28 17:17:54 +01:00
Richard Davey
b77c34562a
TweenManager.begin is now called.
2017-05-17 04:37:30 +01:00
Richard Davey
b769fe3cb1
Create base TweenManager and added to State Systems.
2017-05-09 20:24:39 +01:00
photonstorm
a232e6c97d
Created VariableTimeStep loop and integrated it into the Game and State Systems.
...
Added GetSpeed Math util.
2017-04-27 17:03:19 +01:00
Richard Davey
07f72f489a
Added TickerLoop and made it optional via config.
2017-04-27 03:11:56 +01:00
Richard Davey
2c4a697665
Expose the GameObjectCreator.
2017-04-11 02:49:13 +01:00
Richard Davey
86d048b079
Lots of tidying up + preUpdate call added back in.
2017-04-04 23:59:02 +01:00
Felipe Alfonso
9217012b79
state;s children depth sorting
2017-03-23 16:51:02 -03:00
Richard Davey
63b2b55cf8
Brand new components and Class structure for Game Objects. Cleaner, leaner and more powerful than ever before. Whoop whoop! :)
2017-02-23 03:10:48 +00:00
Richard Davey
8fd0a7a531
Finished off the Keyboard Manager, tided up the classes and removed un-needed functions.
2017-02-21 16:05:36 +00:00
Felipe Alfonso
efdc4898f3
Removed global scene graph. New system works with camera system
2017-02-20 21:38:22 -03:00
Richard Davey
0975752463
Added new CameraManager and tided up all the related functions.
2017-02-12 13:19:55 +00:00
Felipe Alfonso
e4f72c99c8
Adding camera reference and removing camera reference
2017-02-10 10:49:18 -03:00
Felipe Alfonso
34713ab16b
Camera effects
2017-02-09 21:48:32 -03:00
Richard Davey
2c37dc3fda
StateManager moved to GlobalStateManager and a new State level proxy introduced.
...
You can now start, stop and swap states on the fly.
State.visible now also skips the renderer.
2017-02-08 01:09:12 +00:00
Felipe Alfonso
00185d6193
Merge branch 'master' of https://github.com/photonstorm/phaser
2017-02-07 21:08:20 -03:00
Felipe Alfonso
3e3eb60801
Multiple camera clipping
2017-02-07 21:08:09 -03:00
Richard Davey
a877cdaa02
Fixed State.renderToTexture setting.
2017-02-07 22:00:55 +00:00
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
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
c2657f3d19
Fixed States from instances.
2017-02-06 23:59:15 +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
e9c4f28db3
Exposed Texture Manager via state.textures.
2016-12-08 16:41:23 +00:00
Richard Davey
14ee4c2d1b
Added Camera and fixed path issues.
2016-12-07 02:40:07 +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
c76c5741e7
Added in the new EventDispatch and Event system.
2016-12-05 15:29:44 +00:00