Commit graph

1609 commits

Author SHA1 Message Date
photonstorm
f07c10e38e Fix typo for Phaser.InputHandler#pointerDragged for docs #451 2014-02-19 19:05:54 +00:00
Richard Davey
e95ec9fdbc Merge pull request #451 from nhowell/patch-1
Fix typo for Phaser.InputHandler#pointerDragged for docs
2014-02-19 19:05:47 +00:00
Nicholas Howell
936092cba1 Fix typo of Phaser.Math#fuzzyLessThan for docs 2014-02-19 14:05:04 -05:00
Nicholas Howell
0727541e05 Fix typo of Phaser.Line.intersectsPoints for docs 2014-02-19 13:47:54 -05:00
Nicholas Howell
3c6bee8dda Fix typo for Phaser.InputHandler#pointerDragged for docs 2014-02-19 13:21:38 -05:00
photonstorm
1762983bc0 Fixed loadPolygon reference. Need to test decomp data next. 2014-02-19 17:09:01 +00:00
Richard Davey
6d418ba9c7 Merge pull request #450 from nhowell/patch-2
Fix typo of Phaser.SinglePad#addCallbacks for docs
2014-02-19 17:00:12 +00:00
photonstorm
95b3872508 Fixing documentation errors #450 2014-02-19 16:59:27 +00:00
Richard Davey
4b3d282f67 Merge pull request #448 from nhowell/patch-1
Fix typo of Phaser.Point#setMagnitude for docs
2014-02-19 16:56:25 +00:00
Nicholas Howell
232d022aaa Fix typo of Phaser.SinglePad#addCallbacks for docs
This typo was causing this method to appear in the wrong page of the docs
2014-02-19 11:18:09 -05:00
Nicholas Howell
26415094b6 Fix typo of Phaser.Point#setMagnitude for docs 2014-02-19 11:08:11 -05:00
photonstorm
aac31bdaa4 debug#renderShapeConvex fixed, fix in p2 physics body creation #446 2014-02-19 15:43:05 +00:00
photonstorm
1d3616f52c Do not invert (physics) shape size data for circle, rectangle, capsuel & line #445 2014-02-19 15:21:03 +00:00
photonstorm
812de7d994 Fix typos in Phaser.Group#forEachExists for docs #447 2014-02-19 15:06:22 +00:00
Richard Davey
e396b56686 Merge pull request #447 from nhowell/patch-3
Fix typos in Phaser.Group#forEachExists for docs
2014-02-19 15:06:13 +00:00
photonstorm
5f79bb4330 Fix typos of method names in Button.js for doc #444 2014-02-19 15:01:59 +00:00
Richard Davey
47f98ac2bc Merge pull request #444 from nhowell/patch-1
Fix typos of method names in Button.js for docs
2014-02-19 15:01:21 +00:00
Nicholas Howell
d964ef7d0a Fix typos in Phaser.Group#forEachExists for docs 2014-02-19 09:42:16 -05:00
Nicholas Howell
7db37bf5d5 Fix typos of method names in Button.js for docs 2014-02-19 08:32:05 -05:00
photonstorm
7394403bb6 Fresh build. Updated docs and re-built phaser.js. 2014-02-19 05:28:19 +00:00
photonstorm
d9080052c3 Disabled World bounds by default.
Body.collides now takes a group level callback.
Added Body.createBodyCallback and Body.createGroupCallback.
2014-02-19 05:22:37 +00:00
photonstorm
f6807e23c6 Fixed Body.removeFromWorld 2014-02-19 04:05:12 +00:00
photonstorm
7373db6e8c Upgraded p2 to latest build. 2014-02-19 03:58:24 +00:00
photonstorm
08e5f18257 Fixed some doc typos.
You can now pass a physicsConfig object with the game constructor that is given to p2.World, allowing you to set the broadphase, etc.
2014-02-19 03:51:48 +00:00
Richard Davey
a97357b34e Merge pull request #441 from nhowell/patch-1
Fix typo of Phaser.Key#justReleased for docs
2014-02-19 03:31:19 +00:00
photonstorm
d057a9fe11 Device, Canvas and GamePad classes all updated for better CocoonJS support (thanks Videlais) 2014-02-19 02:45:42 +00:00
Nicholas Howell
e8559fb735 Fix typo of Phaser.Key#justReleased for docs 2014-02-18 21:33:34 -05:00
photonstorm
14646e811c QuadTree deprecated and moved to plugins. Body.collideWorldBounds added back and working. CollisionGroups pretty much finished. 2014-02-19 02:12:27 +00:00
photonstorm
5968dd053b CollisionGroup and collision masks working. Need to refine a little, but all the essentials are there. 2014-02-19 01:51:14 +00:00
photonstorm
7a8c96db37 Working gravity + contacts + platformer demo :) 2014-02-18 17:25:54 +00:00
photonstorm
1e29e28333 Added ContactMaterials and lots of new World help functions for assigning and creating them. 2014-02-18 16:37:53 +00:00
photonstorm
15be3f86f3 Added ContactMaterial support. 2014-02-18 15:28:42 +00:00
photonstorm
3d0b5bde75 Updated World vastly. No longer extends p2.World due to a few vars we can't alias cleanly, adds in lots of new helper methods.
Ready for Materials and Constraints.
InversePointProxy is for aliasing a p2 typed array when the values need reversing before applying (gravity for example).
2014-02-18 15:16:26 +00:00
photonstorm
335684ac57 Removed width/height parameters from addParticle, not needed. 2014-02-18 12:32:26 +00:00
Richard Davey
58d203619a Merge pull request #438 from georgiee/dev2
Patch for PixiPatch so it renders masks again
2014-02-18 11:23:34 +00:00
Georgios Kaleadis
16dc2c1597 patch for PixiPatch so render masks again 2014-02-18 11:26:10 +01:00
photonstorm
63145d7735 New labs demo. Added moveForward and moveBackward to Body. 2014-02-18 04:49:03 +00:00
photonstorm
5d5c64d22f Tilemap.createCollisionObjects will parse Tiled data for objectgroups and convert polyline instances into physics objects you can collide with in the world.
After defining tiles that collide on a Tilemap, you need to call Tilemap.generateCollisionData(layer) to populate the physics world with the data required.
Debug.renderPhysicsBody updated to take camera location and body rotation into account.
Body movement functions put back to velocity :)
Updated to latest dev version of pixi and latest p2.js
Updated docs
2014-02-18 03:01:51 +00:00
photonstorm
375e9e379a Fixed issue with trimmed JSON Hash texture atlases not parsing correctly. 2014-02-17 19:58:45 +00:00
photonstorm
cad14848e8 Removed input handler from Graphics as it's just meant to be used as a texture really, if you need input events you can apply Graphics to a Sprite.
You can now create a Physics Body directly via game.physics.createBody(), and Body has been updated so it's no longer always bound to a Sprite.
Debug.renderPhysicsBody now works with Rectangles, Lines and multiple Convex shapes.
Starting to get the Tiled polyline parsing working nicely. Not too far off a complete tilemap collision.
2014-02-17 17:54:10 +00:00
photonstorm
78bf874888 Fresh build. Added pre/post update hooks to Graphics. 2014-02-17 11:27:31 +00:00
bunnyhero
c57071bd98 Return a value from Phaser.Physics.Arcade.intersects. 2014-02-16 21:11:08 -05:00
photonstorm
d026f968de You can now set the Stage.backgroundColor using either hex or numeric values. 2014-02-16 14:54:04 +00:00
photonstorm
cfa2c96637 Updated to latest pixi and p2.js 2014-02-16 14:32:16 +00:00
Richard Davey
06273211ad Merge pull request #428 from JoeAnzalone/1.2
Make header image on labs site responsive
2014-02-16 03:12:27 +00:00
Joe Anzalone
c74016189e Make header image on labs site responsive 2014-02-15 18:45:17 -05:00
photonstorm
3a59c13a71 Added hostname: '*' to the grunt-connect in Gruntfile.js (fixes #426) 2014-02-15 19:03:43 +00:00
photonstorm
85eaaef688 Filters fixed to work with Pixi 1.5. 2014-02-15 03:12:24 +00:00
photonstorm
9837984a4d Working Springs demo. 2014-02-15 02:56:24 +00:00
photonstorm
e5812710cc Added Spring class. Fixed reason why World wasn't pre and post updating (Stage didn't have an exists property). 2014-02-15 02:19:37 +00:00