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-20 01:55:45 +00:00
Code
Issues
Projects
Releases
Packages
Wiki
Activity
c1c2e6bc9d
phaser
/
src
/
physics
/
arcade
History
photonstorm
c1c2e6bc9d
Removed left-over Body.isCircle checks.
2016-05-23 23:02:04 +01:00
..
Body.js
Removed left-over Body.isCircle checks.
2016-05-23 23:02:04 +01:00
TilemapCollision.js
2015 - 2016.
2016-04-04 22:16:16 +01:00
World.js
Arcade Physics has had a new
world
argument added to the following functions:
distanceBetween
,
distanceToXY
,
distanceToPointer
,
angleBetween
,
angleToXY
and
angleToPointer
. The argument (which is false by default), when enabled will calculate the angles or distances based on the Game Objects
world
property, instead of its
x
and
y
properties. This allows it to work for objects that are placed in offset Groups, or are children of other display objects (thanks @Skeptron for the thread
#2463
)
2016-05-16 13:31:57 +01:00