Commit Graph

  • eb7af3d2a2 Group nearly done. Sprite.anchor appears to be broken though, must fix. Richard Davey 2013-09-06 20:20:58 +01:00
  • 822a2df289 Lots of work on Group and also resolved the issue of the core game loop structure not being quite right. Richard Davey 2013-09-06 15:00:05 +01:00
  • 0c97e8e151 Starting work on Group. Richard Davey 2013-09-05 21:07:44 +01:00
  • b2fa345c9d console banner maker Richard Davey 2013-09-05 03:35:12 +01:00
  • c552d86639 Added swapChildren to Phaser.World Richard Davey 2013-09-05 02:11:54 +01:00
  • 4d4f7d3d56 Now working across child sets too :) Richard Davey 2013-09-05 01:57:28 +01:00
  • aa0d8ff238 Swap Child appears to be working. Time to tested a deeply nested set. Richard Davey 2013-09-05 01:34:22 +01:00
  • 87d52bd85e Linked List node swap Richard Davey 2013-09-05 01:12:34 +01:00
  • 912d6e46aa ... Richard Davey 2013-09-05 00:24:01 +01:00
  • 55cf10a085 LL work Richard Davey 2013-09-04 22:53:13 +01:00
  • ca0d1eb8af More node manipulations .. nearly there! Richard Davey 2013-09-04 21:34:07 +01:00
  • f4dab1847e Working on Linked List node swapping. Richard Davey 2013-09-04 21:03:39 +01:00
  • 10bc22b717 Motion helper functions added to the ArcadePhysics class. Richard Davey 2013-09-04 16:12:58 +01:00
  • 128bdccd79 Sorted out the QuadTree issues and resolved a small but vital bug in separateX, also re-organised the collision flags in Body. Richard Davey 2013-09-04 13:54:55 +01:00
  • d44261b191 sublime Richard Davey 2013-09-04 04:59:29 +01:00
  • b2263c16c6 Patched the QuadTree, now working a whole lot better but am worried it's still working out too many collisions. Richard Davey 2013-09-04 04:54:43 +01:00
  • 3f3b6bfd35 Brand new highly optimised QuadTree added, populated by the game loop and world ready to be queried as often as you want in your game loop, without creating hundreds of new QuadTrees each frame. Richard Davey 2013-09-04 03:48:15 +01:00
  • 2a353a0327 Flixel physics optimised about as much as it can be. Also added world and local gravity support and flag to toggle it on / off. Richard Davey 2013-09-04 01:10:01 +01:00
  • 0f438d5221 separateX up and working sweet with gc spike removal too Richard Davey 2013-09-03 19:34:38 +01:00
  • a27f6d6562 Forces working, collision half way there. Richard Davey 2013-09-03 17:28:12 +01:00
  • 2fe8a3a0a7 Physics integration and a fix to Tween that stopped the repeat/yoyo from working. Richard Davey 2013-09-03 17:07:05 +01:00
  • bdc1c2ceb9 Sorted out the bounds for when sprites are in trimmed texture atlases to stop the physics checks going insane. Also bundled in Advanced Physics lib, although not hooked up yet. Richard Davey 2013-09-03 15:35:40 +01:00
  • 923c2504ba One more text demo just for fun :) Richard Davey 2013-09-03 06:35:59 +01:00
  • 8a90a87492 Text converted and a couple of examples created. Using new extend system, so much smaller classes now. Richard Davey 2013-09-03 06:02:47 +01:00
  • 5acb4e9f1b Borrowed the 'extends' system from jQuery and now the codebase will be considerably smaller :) TileSprite already updated to new format. Richard Davey 2013-09-03 04:58:30 +01:00
  • e28cdbeb6a Moving to using a small extend / mixin method to avoid code repeating now we're extending Pixi display objects. Richard Davey 2013-09-03 04:43:26 +01:00
  • 66e86e7d82 Tiling Sprite added Richard Davey 2013-09-03 03:19:42 +01:00
  • c18de53bab SoundManager converted and playing audio :) Richard Davey 2013-09-03 01:24:16 +01:00
  • ed13283f0f Tided up the cull / bounds demo. Richard Davey 2013-09-03 00:42:17 +01:00
  • 7c597999d4 Camera culling now in and working, although you need to enable it on a per sprite basis. Also fixed a few small bugs in the Animation Manager. Richard Davey 2013-09-02 23:22:24 +01:00
  • 6235f25184 LL Richard Davey 2013-09-01 22:02:42 +01:00
  • d31777972c Camera culling Richard Davey 2013-09-01 19:52:50 +01:00
  • 7bdcbf5c2a getBounds update. Richard Davey 2013-09-01 13:17:44 +01:00
  • 71b4cc532f Added Sprite.getBounds function Richard Davey 2013-09-01 11:15:13 +01:00
  • d54a92310d Optimised sprite a tiny bit more and created a couple of fun demos :) Richard Davey 2013-09-01 06:21:39 +01:00
  • fef28c6a6a Optimised update loop to reduce calculations if the transform doesn't change. Richard Davey 2013-09-01 05:50:47 +01:00
  • 6ef89826df Phew.. lots of transform matrix math over and I can finally get all 4 points of a Sprite, regardless of rotation, translation or scale of itself or any of its parents. Richard Davey 2013-09-01 05:29:53 +01:00
  • 12e5d2aceb ... Richard Davey 2013-09-01 05:22:08 +01:00
  • 801c2af9d4 Updated world so the update run uses the linked list. Sprite.getLocalPosition now almost working, but falls over for children. Richard Davey 2013-09-01 03:57:24 +01:00
  • 188d6239a3 Edge points in and working. Richard Davey 2013-09-01 03:15:27 +01:00
  • b742439db8 Now handles scaling and rotation. Time to get the offset. Richard Davey 2013-09-01 02:39:26 +01:00
  • 99e0934244 More late-night math. Richard Davey 2013-09-01 02:28:51 +01:00
  • 5d4da0ce66 Working out culling Richard Davey 2013-09-01 00:35:29 +01:00
  • 22847f6ade DebugUtils converted, re-name spaced the Input classes and started on Camera culling. Richard Davey 2013-08-31 21:50:34 +01:00
  • 70ee753859 The complete Phaser Input Manager suite is now ported across. Not tested in earnest yet, but all the grunt work is at least done. Richard Davey 2013-08-31 13:54:59 +01:00
  • f9aa7f7339 Fixed small bug in Game where AUTO didn't detect the lack of WebGL properly. Tidied up Math a bit more. Richard Davey 2013-08-30 20:05:29 +01:00
  • 54d98944e4 Mummy attack :) Richard Davey 2013-08-30 18:56:10 +01:00
  • e77f5da2cd Fixed the TweenManager and added support to GameObjectFactory, so you can create tweens easily now all hooked in to the internal game clock. Also added the AnimationManager into Sprite, so you can create and play animations directly from sprites nice and easily. Richard Davey 2013-08-30 17:09:43 +01:00
  • 936118bd91 AnimationManager done and in, need to fix texture update bug, otherwise finished. Richard Davey 2013-08-30 04:20:14 +01:00
  • a81a8effb4 Sprite Sheets now parse and render correctly too. Richard Davey 2013-08-30 02:18:00 +01:00
  • 1e59bc69fb Fixed bug in RequestAnimationFrame where the time wasn't being updated properly. Richard Davey 2013-08-30 02:00:30 +01:00
  • 559d75eba1 When Phaser loads images they are now added to the PIXI.BaseTextureCache. Also when it loads atlas data (regardless of the 3 formats) they are converted into PIXI TextureCache entries using UUIDs to avoid name clashes and to support index based atlases. Richard Davey 2013-08-30 01:50:17 +01:00
  • 4c1dacfa02 Loader can now parse both JSON Hash and JSON Array formated texture atlas files. Richard Davey 2013-08-29 22:53:55 +01:00
  • 5b036557c0 The start of World, also moved Game/Stage into core. Richard Davey 2013-08-29 21:57:36 +01:00
  • 6bf7bab917 Fixed some errors in Rectangle and more Pixi hooks added, now creating the Stage properly and rendering sprites. Richard Davey 2013-08-29 19:20:04 +01:00
  • 19483bafed Canvas and Stage added and starting to merge in Pixi deeply. Richard Davey 2013-08-29 17:20:59 +01:00
  • 16749edf20 More state swapping features and optimised Game.loop. Richard Davey 2013-08-29 15:14:56 +01:00
  • 3d4783980e StateManager improving in leaps and bounds. Richard Davey 2013-08-29 14:38:51 +01:00
  • 4bbcc380c5 State handling done. Refactored the Game constructor a LOT. Now works from within closures, outside of them, with Phaser.State objects or normal Objects with the right functions inside. Also fixed some small bugs in PluginManager and various scope issues with RAF. Richard Davey 2013-08-29 07:06:16 +01:00
  • 3c8cd20b70 RequestAnimationFrame done and optimised massively. PluginManager added (but needs testing). Game now fleshed out with all the state changing and core loop, also optimised heavily. Also Pixi integration started and the basics are working well :) Richard Davey 2013-08-29 03:52:59 +01:00
  • b8d3a61c97 Added the TweenManager Richard Davey 2013-08-29 00:09:12 +01:00
  • d323404676 Starting integration of tween.js Richard Davey 2013-08-28 21:29:25 +01:00
  • 8a09469798 Final methods added. Richard Davey 2013-08-28 19:18:34 +01:00
  • 9289f690eb Rectangle mostly done, needs the prototype functions adding and some test cases made. Richard Davey 2013-08-28 17:19:13 +01:00
  • 89fe2855e4 Fixed a few things in Circle and added the Point object. Richard Davey 2013-08-28 15:58:37 +01:00
  • 0f58945212 Circle and Math converted Richard Davey 2013-08-28 15:27:22 +01:00
  • 09def364c3 Farewell TypeScript, see you on the other side. Richard Davey 2013-08-28 07:02:55 +01:00
  • 0e55e644a9 Doc updates Richard Davey 2013-08-26 17:45:02 +01:00
  • 8a85155c08 Fixed the tilemap pre/post update hooks. Richard Davey 2013-08-25 10:35:58 +01:00
  • ecf61fc80c Updated Game.switchState to accept state objects and fixed the OrientationScreen. Richard Davey 2013-08-25 09:59:23 +01:00
  • c2745bec35 Pre-vacation push Richard Davey 2013-08-16 23:44:06 +01:00
  • c884bab7ec Fixed instance check issue in Game and tidied up the stageScaleMode inner loop. Richard Davey 2013-08-16 02:18:12 +01:00
  • f76ba6840f Animation and Input related fixes Richard Davey 2013-08-16 00:14:57 +01:00
  • 619b8415ed Reverting back to the only version of TypeScript that really works :( Richard Davey 2013-08-13 04:22:24 +01:00
  • 91dc7a4acf Tidying up and trying to fix more stupid TypeScript errors. Richard Davey 2013-08-12 04:08:15 +01:00
  • e74114f384 Docs Richard Davey 2013-08-12 00:52:35 +01:00
  • 142348f70b Updates Richard Davey 2013-08-11 21:31:35 +01:00
  • 7aa82a1cb0 All physics projections added. Richard Davey 2013-08-11 19:02:10 +01:00
  • c2d7fb7fab Merged N+ physics in and tidied up the Docs folder and logos. Richard Davey 2013-08-11 12:15:53 +01:00
  • aff7d99a8a Fixed bug where children of Groups wouldn't have their preUpdate methods called. Richard Davey 2013-08-09 20:03:36 +01:00
  • 0b1bcaf270 Set the default camera to direct itself to the Stage. Richard Davey 2013-08-09 18:44:45 +01:00
  • f9776f30fc Added the CanvasUtils class and moved some stuff out of Stage into it. Richard Davey 2013-08-09 17:47:08 +01:00
  • 8b2f1cca51 Various small fixes Richard Davey 2013-08-09 17:02:47 +01:00
  • e002827a20 Fixed load add Richard Davey 2013-08-09 16:56:38 +01:00
  • c2f0128797 Added types Richard Davey 2013-08-09 16:54:46 +01:00
  • 2d49a31ecd yuidoc scripts added. Tidied up the Docs folder. Added back in the Emitter and fixed the Tests that weren't compiling. Richard Davey 2013-08-09 05:08:54 +01:00
  • 9bf7d070f5 Added in the JS source files for doc generation and the definitions to csproj XML script. Richard Davey 2013-08-09 03:12:33 +01:00
  • 1248a6c06e Whole codebase updated to TypeScript 0.9.1, phew! Richard Davey 2013-08-08 19:16:47 +01:00
  • df32190db8 Updating for TypeScript 0.9.1, part 1. Richard Davey 2013-08-08 11:34:33 +01:00
  • 73745e5720 Fixed a few things in Tilemap and optimised the renderer a little bit. Richard Davey 2013-08-08 06:29:21 +01:00
  • 48f6d850c8 Fixed bug where a Tween with both yoyo and loop enabled would get out of sync. Richard Davey 2013-08-08 06:08:53 +01:00
  • ab7e55ef27 Added ability for the TimeManager to monitor the pause duration. This is then applied to tweens and other game services, meaning the tweens now restart properly after a pause resumes. Richard Davey 2013-08-08 05:43:22 +01:00
  • 5768336150 Tidied up the Loader so it now starts automatically, added required Signals and removed the old-style callbacks. Richard Davey 2013-08-08 04:35:13 +01:00
  • 04dcb29c88 WorldView now takes camera placement into account, so Buttons now work across multiple camera set-ups. Richard Davey 2013-08-08 03:24:26 +01:00
  • a174bbc6b3 Vastly optimised InputManager and Pointer is now aware of which camera it is over. Richard Davey 2013-08-08 03:05:59 +01:00
  • bc77c3f84e Updated Renderer system, now much easier to expand and maintain. Richard Davey 2013-08-08 01:07:22 +01:00
  • d7205992a5 Fixed some issues in dragging sprites with snap-to-center and world coordinates. Richard Davey 2013-08-07 00:00:12 +01:00
  • 77cc3858d9 Fixed the world drag issue across Sprite and Button. Richard Davey 2013-08-06 04:34:52 +01:00
  • a7873a3b74 Removed the FX project as it's no longer needed and tidied up the build folder. Richard Davey 2013-08-06 03:43:53 +01:00
  • 11954812c6 Clearing down the To Do list. Richard Davey 2013-08-06 03:14:48 +01:00