Commit graph

42 commits

Author SHA1 Message Date
photonstorm
13a2cc2feb Updating all files to adhere to the JSHint settings and fixing lots of documentation errors on the way. 2013-11-25 03:13:04 +00:00
photonstorm
38bd00b4ed ArcadePhysics.separateTile wasn't returning the value, so the custom process callback wasn't getting called (thanks flameiguana) 2013-11-16 13:47:12 +00:00
photonstorm
1eca16a948 ArcadePhysics.updateMotion applies the dt to the velocity calculations as well as position now (thanks jcs) 2013-11-05 16:14:24 +00:00
photonstorm
3c164b466c * Updated: event.preventDefault() has been added to all Mouse event handlers.
* Updated: Sprite.deltaX/Y removed due to non-use. prevX/Y values moved to Sprite._cache.prevX/Y.
* Updated: Due to missing extends parameter the Sprite prototype was picking up functions from classes it never meant to (Button, TilemapLayer), now fully isolated.
2013-11-01 02:07:21 +00:00
photonstorm
6f93a2ec94 Multiple Anims update, Tilemap fixes and some new examples. 2013-10-31 15:45:19 +00:00
photonstorm
a814cc26cc * Fixed issue 135 - Added typeof checks into most ArcadePhysics functions to avoid errors with zero values.
* Fixed issue 136 - distanceTo using worldX/Y instead of x/y.
2013-10-28 10:17:36 +00:00
photonstorm
6994e4be5e Merge branch 'dev' 2013-10-25 18:50:14 +01:00
photonstorm
65d2bf557b Updated docs and more tidying up. 2013-10-25 17:30:37 +01:00
photonstorm
9f9e6a2a57 Lots of doc updates! 2013-10-25 16:54:40 +01:00
photonstorm
4a51ac4671 Updated README and sorting out folder case issue. 2013-10-23 13:30:23 +01:00
photonstorm
9c1fdb371c Nearly finished Tilemap integration into the core. 2013-10-16 06:33:39 +01:00
photonstorm
31018b9295 Star Struck game back and working again, plus finished the level design. 2013-10-16 03:37:15 +01:00
photonstorm
fd5eeb9088 Fixed Rectangle intersection issue and tilemap collision is working again. Win! 2013-10-15 15:24:07 +01:00
photonstorm
f3ea68aad3 Extracting the correct area from a layer, debug displaying it and preparing for collision. 2013-10-15 05:41:42 +01:00
photonstorm
a7230aa769 Sprite.loadTexture added. 2013-10-10 09:03:38 +01:00
photonstorm
29acf7fb4b Enemy tanks, now firing. 2013-10-09 07:11:36 +01:00
photonstorm
ca9321ef42 Updated physics body to use localTransform. Updated tanks demo. 2013-10-09 05:13:38 +01:00
photonstorm
83a00862be Lots of new examples and updates. 2013-10-09 04:31:08 +01:00
photonstorm
f5584bdfe5 Lots of fixes and updates to ArcadePhysics and Group, plus more examples. 2013-10-08 21:09:46 +01:00
photonstorm
c307f79102 Added Sprite.fixedToCamera, fixed Angular Velocity and Acceleration, fixed jittery Camera, added skipQuadTree flag and created lots more examples. 2013-10-08 00:58:20 +01:00
Richard Davey
e8bed83ac3 Making some major changes to Camera and World. 2013-10-04 14:41:15 +01:00
Richard Davey
8d17e1f963 Sound duration fixes. 2013-09-30 12:17:21 +01:00
Richard Davey
9d84429960 Group length checks 2013-09-24 15:49:21 +01:00
Richard Davey
891369b197 Preparing for 1.0.6 release, but moving physics changes to dev. 2013-09-24 15:28:29 +01:00
Richard Davey
257cbe3be8 Much more stable collision, just need to refactor the Tilemap handling - see if I can optimise it a bit too. 2013-09-23 03:26:08 +01:00
Richard Davey
bc02a1a05e Fixing collision issues 2013-09-23 01:06:09 +01:00
Richard Davey
f069107e55 1.0.1 release - fixes issues in tile map collision, additional Animation stop checks and updated package license. 2013-09-15 03:58:38 +01:00
Richard Davey
62d77e7038 Small new demo and refactored collision list - now far less comparisons to perform! 2013-09-13 04:22:12 +01:00
Richard Davey
ecc91fb4e0 More collision test cases and fixing a few issues as I go :) 2013-09-13 03:07:39 +01:00
Richard Davey
f812b92b8a Creating test cases. 2013-09-13 02:07:58 +01:00
Richard Davey
a1450680a4 Part way through re-factoring the collision handler 2013-09-13 00:53:03 +01:00
Richard Davey
9f687b4f8a Adding Type support for collision checks. 2013-09-12 21:54:41 +01:00
Richard Davey
92e86494e3 Tilemap Collision in and working :) Needs testing against Groups now. 2013-09-12 15:39:52 +01:00
Richard Davey
822a2df289 Lots of work on Group and also resolved the issue of the core game loop structure not being quite right. 2013-09-06 15:00:05 +01:00
Richard Davey
10bc22b717 Motion helper functions added to the ArcadePhysics class. 2013-09-04 16:12:58 +01:00
Richard Davey
128bdccd79 Sorted out the QuadTree issues and resolved a small but vital bug in separateX, also re-organised the collision flags in Body. 2013-09-04 13:54:55 +01:00
Richard Davey
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. 2013-09-04 03:48:15 +01:00
Richard Davey
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. 2013-09-04 01:10:01 +01:00
Richard Davey
0f438d5221 separateX up and working sweet with gc spike removal too 2013-09-03 19:34:38 +01:00
Richard Davey
a27f6d6562 Forces working, collision half way there. 2013-09-03 17:28:12 +01:00
Richard Davey
2fe8a3a0a7 Physics integration and a fix to Tween that stopped the repeat/yoyo from working. 2013-09-03 17:07:05 +01:00
Richard Davey
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. 2013-09-03 15:35:40 +01:00