This website requires JavaScript.
Explore
Help
Sign In
Mirrors
/
phaser
Watch
2
Star
0
Fork
You've already forked phaser
0
mirror of
https://github.com/photonstorm/phaser
synced
2024-12-19 17:44:45 +00:00
Code
Issues
Projects
Releases
Packages
Wiki
Activity
62b2fb51d6
phaser
/
src
/
physics
/
arcade
History
photonstorm
2483cd5df4
Various readonly Body properties flagged as 'readonly' in the jsdocs (
#1643
)
2015-02-26 23:32:14 +00:00
..
Body.js
Various readonly Body properties flagged as 'readonly' in the jsdocs (
#1643
)
2015-02-26 23:32:14 +00:00
TilemapCollision.js
Copyright date change.
2015-02-25 03:36:23 +00:00
World.js
Arcade Physics is now using a spacial pre-sort for all Sprite vs. Group and Group vs. Group collisions. You can define the direction the sort will prioritise via the new
sortDirection
property. By default it is set to
Phaser.Physics.Arcade.LEFT_RIGHT
. For example if you are making a horizontally scrolling game, where the player starts on the left and moves to the right, then this sort order will allow the physics system to quickly eliminate any object to the right of the players bounds. This cuts down on the sheer volume of actual collision checks needing to be made. In a densely populated level it can improve fps rate dramatically.
2015-02-26 21:24:07 +00:00