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
1966bfc0f8
Added in Game.focusLoss and focusGain methods and onBlur and onFocus signals to listen for. Made small time related fix and tested on iOS6 and iOS7 home screen button + lock button and all working fine.
2014-03-12 21:19:00 +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
e6d520f983
Removed the coreUpdate Game loop stuff and reverted to previous method.
2014-03-12 13:45:30 +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
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
8683d41c76
New Text examples.
2014-03-11 20:21:07 +00:00
photonstorm
e9ae465272
Sorted out Body gravity settings and updated the example.
2014-03-11 16:26:03 +00:00
photonstorm
6bddf1a914
The main Game class has been modified so that the update methods no longer have any if/else checks in them. Now split into coreUpdate, etc.
...
Put QuadTree back into Debug class.
Debug class now clears down on WebGL.
Updated RetroFont.type.
Fixed QuadTree example.
2014-03-11 16:14:01 +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
d2d77f37dd
Finished Ninja Physics updates.
2014-03-11 14:21:20 +00:00
photonstorm
170776ada1
rnd updated so the array picks use length -1 ( fixes #541 )
2014-03-11 10:56:54 +00:00
photonstorm
384451bef7
Particles back in and working again. Also updated most of the examples and put Body.gravity back in as well.
2014-03-11 02:49:55 +00:00
photonstorm
f321cab77e
The physics configuration object can now be used to start physics systems specifically.
2014-03-11 01:23:41 +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
6ef9e30753
Added z property to remaining game objects and updated TypeScript defs.
2014-03-10 23:16:49 +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
b4cb281f1c
Renamed Phaser.Physics.P2 const to Phaser.Physics.P2JS to avoid issue #540
2014-03-10 22:15:03 +00:00
photonstorm
85d5fdfb2f
Sorted out orientationImage in ScaleManager, throwing a preUpdate error ( fix #534 )
...
Tightened up the currentFrame allocation in AnimationManager.
2014-03-10 19:06:16 +00:00
photonstorm
13ff8985e1
Merged @georgiee p2 BodyDebug and reformatted for jshint pass. Looks awesome :) #536
2014-03-10 15:25:43 +00:00
photonstorm
9f997daa46
Lots of examples fixes and put Group.sort back in.
2014-03-10 14:33:18 +00:00
alvinsight
1d897753c8
Added the new gravity scale
2014-03-10 11:45:35 +00:00
alvinsight
d09da54dd3
Updated the arcade physics examples according to the lastest changes
2014-03-10 11:37:46 +00:00
photonstorm
8fff38618d
Tidied up the Examples, fixed Arcade Physics Body, added Body enable support to Group and fixed QuadTree.
2014-03-10 03:06:28 +00:00
photonstorm
4db1fc0079
Restored Phaser.QuadTree - should get all remaining Arcade Physics examples working again.
2014-03-07 15:14:53 +00:00
photonstorm
480c1819d6
Working through AABB vs. AABB tests.
2014-03-07 05:30:56 +00:00
photonstorm
4cac6408d8
Ninja.AABB updated with all the correct properties, now works fully as with Circle. Created new tests, all Ninja shapes now set Body.touching values correctly. TileSprites work as bodies. Trying out AABB vs. AABB collision now.
2014-03-07 04:43:55 +00:00
photonstorm
a51ae03246
Tweens are now bound to their own TweenManager, not always the global game one. So you can create your own managers now (for you clark :)
2014-03-07 01:26:09 +00:00
photonstorm
3b2573de9a
Objects that are 'fixedToCamera' are now still correctly placed even if the camera is scaled ( #512 )
2014-03-06 17:12:12 +00:00
photonstorm
512b542e50
Fixed gruntfile and included new labs demo.
2014-03-06 10:01:46 +00:00
photonstorm
6815c5909a
New tiles and new map test.
2014-03-06 09:48:42 +00:00
photonstorm
e97a207816
Added in Circle to the Ninja physics system.
2014-03-06 07:18:59 +00:00
photonstorm
3e93f24583
New split physics system is implemented. Still tidying-up, but ArcadePhysics, P2 and Ninja Physics are in and configured. Lots more examples required, and tilemap collision mostly broken in Arcade at the moment. Time to implement in Ninja.
2014-03-06 06:29:19 +00:00
photonstorm
2bab4fd2fb
Testing lines.
2014-03-05 04:40:37 +00:00
photonstorm
12a2a2ec16
Testing map collision
2014-03-05 03:18:24 +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
photonstorm
cc82336952
Adding in TweenGroup for wip dev.
2014-03-04 03:31:20 +00:00
photonstorm
5a6ae5f696
Tilemap.putTile now correctly re-calculates the collision data based on the new collideIndexes array ( fixes #371 )
...
Tilemap.putTile can now insert a tile into a null/blank area of the map (before it could only replace existing tiles)
2014-03-04 03:08:35 +00:00
photonstorm
8c2502d37d
Group.xy(index, x, y) allows you to set the x and y coordinates of a Group child at the given index.
...
Group.reverse() reverses the display order of all children in the Group.
New labs demo.
Fixed some Easing docs issues.
2014-03-04 01:27:57 +00:00
photonstorm
67ad898294
Tween.generateData(frameRate) allows you to generate tween data into an array, which can then be used however you wish (see new examples)
...
Added new Retro Font examples.
2014-03-03 22:43:35 +00:00
photonstorm
7183322259
Renamed Phaser.BitmapFont to Phaser.RetroFont because I believe it will cause confusion otherwise. Also tidied up the asset fonts folder.
2014-03-03 17:05:28 +00:00
photonstorm
833960b3c8
Animation.looped has been renamed to Animation.loop. It's a boolean you can toggle at run-time to turn on/off animation looping.
...
A single Animation object now has 3 new events: onStart, onLoop and onComplete.
Animation.loopCount holds the number of times the animation has looped since it last started.
Animation.stop has a new parameter: dispatchComplete. If true it'll dispatch an Animation.onComplete event.
2014-03-03 16:05:55 +00:00