Commit graph

35 commits

Author SHA1 Message Date
Richard Davey
07f72f489a Added TickerLoop and made it optional via config. 2017-04-27 03:11:56 +01:00
Richard Davey
ee5e4f5195 Tidied up the Animation folder.
Animation Manager now in its own folder, with all methods split out to their own files.
Animation Components moved to components folder.
AnimationFrame renamed to Frame and moved inside the frame folder, as it's frame specific.
2017-04-12 13:53:55 +01:00
Richard Davey
05bbfd9bd8 Animation Manager boot state call. 2017-04-04 23:58:45 +01:00
Richard Davey
657ea7ffa7 AM start 2017-03-22 12:38:33 +00:00
Richard Davey
9579263333 New Input Manager and Keyboard handler in and working. 2017-02-21 01:04:37 +00:00
Richard Davey
2b8426a199 Fixed data passing. 2017-02-17 02:07:56 +00:00
Richard Davey
1e17678648 Refactoring Game Loop to include MasterClock and State data packages. 2017-02-17 01:43:55 +00: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
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
98a6d282ba Registry added. 2017-01-30 00:00:45 +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
4ac4d406b2 Hooked up SpriteBatch. 2017-01-19 23:20:36 +00:00
Richard Davey
9235d6fe58 Lots of Canvas Renderer fixes.
Merged CONST with Phaser export.
Fixed GetObjectValue check.
Added drawImage data to Frame.
2017-01-16 22:44:02 +00:00
photonstorm
6585297fbf Lots of Math component exports added.
Restructured Phaser export file, finally removing it out of the Boot folder.
Fixed several broken math functions.
2016-12-13 16:12:25 +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
82d1ceeba4 Adding in WebGL Renderer. 2016-12-07 02:28:22 +00:00
photonstorm
b3e4c349d2 Getting ready to hook the Loader to the Texture Manager. 2016-12-06 16:49:29 +00:00
photonstorm
34303f1df6 Added in the Update Manager, MainLoop and State Systems. 2016-11-29 15:25:14 +00:00
photonstorm
1db02f3d3a Added CreateRenderer function. 2016-11-29 11:26:30 +00:00
photonstorm
28db9a2550 Lots of work on the Game Object Factory patterns. 2016-11-29 10:46:35 +00:00
photonstorm
e83bd3d544 Added NOOP.
Added Config pre and post boot callbacks.
Added Image and start of the Game Factory rebuild.
2016-11-28 16:55:25 +00:00
Richard Davey
14d2c6a8ae Updated CanvasPool to store the type (2d or webgl), so it doesn't give incorrect canvases back out again. Updated Features to use proper canvases when feature testing. Added Interpolation code. Cached the Smoothing prefix. 2016-11-26 02:32:59 +00:00
Richard Davey
e45096611e Converted the Device and CanvasPool into page level singletons, that can be shared by all instances of a Phaser Game running in the same page. 2016-11-26 01:28:53 +00:00
Richard Davey
1d4cdbd56a Added and refactored the Random Data Generator. Working nicely, removed some redundant apply calls, and made the private vars properly private. 2016-11-25 05:12:02 +00:00
Richard Davey
45002461db Added in final Device tests. 2016-11-25 04:33:48 +00:00
Richard Davey
5ca567c7e0 Adding more Device tests. 2016-11-25 04:00:15 +00:00
Richard Davey
36ca61dddb Added in the final DOM level functions. 2016-11-25 02:08:33 +00:00
Richard Davey
970dea20f5 Added checksum ability to build process.
Fixed RequestAnimationFrame.
2016-11-25 01:37:14 +00:00
Richard Davey
96c7446b1e Added RAF 2016-11-25 00:34:37 +00:00
photonstorm
247a837961 Game update. 2016-11-24 17:01:58 +00:00
photonstorm
7883a7d305 Added more options to Config class. 2016-11-24 15:40:05 +00:00
Richard Davey
13f49f6086 Added webpack shell script to copy build file to examples. 2016-11-24 01:35:07 +00:00
Richard Davey
c298a45d1f Updated folder paths and the 2.7 README. 2016-11-23 00:17:46 +00:00
Renamed from 3.0.0/src/boot/Game.js (Browse further)