ArcadePhysics.setBoundsToWorld implemented. Body.setCircle, setRectangle and setPolygon all working. Tidying up Body class. Need to add tile collision special case handler next.

This commit is contained in:
photonstorm
2014-01-28 05:01:17 +00:00
parent 90c09374af
commit 9deb5514a2
6 changed files with 464 additions and 164 deletions
+1
View File
@@ -71,6 +71,7 @@ Significant API changes:
* Body.rebound is a boolean that controls if a body will exchange velocity on collision. Set to false to allow it to be 'pushed' (see new examples).
* Removed Body.deltaAbsX and deltaAbsY as they are no longer used internally.
* Body.screenX and screenY moved to getters, no longer calculated every frame.
* ArcadePhysics now has setBounds and setBoundsToWorld, and you can specify which walls are created or not (left, right, up, down)
New features: