mirror of
https://github.com/wassname/phaser.git
synced 2026-10-01 12:21:02 +08:00
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
This commit is contained in:
1 parent
375e9e379a
commit
5d5c64d22f
201 files changed
+41296
-47048
No files matched your search
File diff suppressed because it is too large.
Load diff
Reference in new issue
Block a user