photonstorm
c2d38fe16b
jshint passed all the p2 physics and fixed Debug.spriteBounds.
2014-03-13 16:16:14 +00:00
photonstorm
181ef7ce53
Added World.frameRate - The frame rate the world will be stepped at. Defaults to 1 / 60, but you can change here. Also see useElapsedTime property.
...
Added World.useElapsedTime - If true the frameRate value will be ignored and instead p2 will step with the value of Game.Time.physicsElapsed, which is a delta time value. #554
2014-03-13 13:19:02 +00:00
photonstorm
c3f687eda9
Prismatic Constraint done. That's all of them! jshint time.
2014-03-13 13:09:33 +00:00
photonstorm
87684bb15f
Revolute Constraint done.
2014-03-13 12:14:14 +00:00
photonstorm
6b55fea953
Distance and Gear constraints done.
2014-03-13 11:13:22 +00:00
photonstorm
ef359e8992
P2 Springs example done and working nicely.
2014-03-13 10:32:34 +00:00
photonstorm
aa6b1821bd
Get First Dead example.
2014-03-13 10:14:06 +00:00
photonstorm
8318a58f69
Fixed bug causing Text with empty or no given text to break. Added World.createSpring.
2014-03-13 09:43:00 +00:00
photonstorm
0584d3eadf
P2 collision groups and callbacks working as expected, new example done.
2014-03-13 09:14:12 +00:00
photonstorm
94448d2497
P2 postBroadphase example and handler done. Group.enableBodyDebug added. Sprites no longer remove bodies from the world if exists = false, instead they set safeDestroy to true, which removes the body on the next preUpdate, to avoid mid-step destruction issues.
2014-03-13 07:29:23 +00:00
photonstorm
84741f065f
New P2 examples. And fixed Camera.atLimit value.
2014-03-12 16:33:53 +00:00
photonstorm
fc788f909c
P2 Body Begin and End Contact events done and working nicely.
2014-03-12 15:26:20 +00:00
photonstorm
274fd4a7e9
You can now hitTest against P2 bodies + example created.
2014-03-12 13:26:27 +00:00
photonstorm
abf26df741
New P2 examples and fixed Body debug assignment parameter.
2014-03-12 06:25:29 +00:00
photonstorm
a07cf894a0
Fixed Kenny tiles. Fixed Ninja Circle vs. World bounds. Added Ninja tilemap to Tiles conversion. Created test.
2014-03-12 02:44:34 +00:00
photonstorm
4910f27a88
You can now over-ride the pxm and mpx functions with your own via the physics config object.
2014-03-12 00:12:26 +00:00
photonstorm
cb5a8c7515
Renamed px2p and p2px to: pxm and mpx (px to meters and meters to px). Also removed from Math.
2014-03-12 00:07:27 +00:00
photonstorm
58887d9bc6
Moved all of the Tilemap to P2 body methods into P2 itself (makes more sense this way) and tidied them up.
2014-03-11 15:02:59 +00:00
photonstorm
a6467f9b60
Fixed Arcade, Ninja and P2 enable methods. Modified core Physics enable. Added world enable test.
2014-03-11 01:11:08 +00:00
photonstorm
53797171a3
Fixed Group.sort. Added z-depth property to all core game objects. Fixed P2 const overwrite.
2014-03-10 23:01:10 +00:00
photonstorm
1fe331956a
Added in p2.total
2014-03-10 14:47:29 +00:00
photonstorm
22b1ce9b9d
Added Phasers new Physics Manager and restored the pre-1.1.4 ArcadePhysics system. The new manager can handle multiple physics systems running in parallel, which could be extremely useful for lots of games.
2014-03-05 02:36:08 +00:00