mirror of
https://github.com/photonstorm/phaser
synced 2024-11-30 00:21:04 +00:00
Merge branch 'master' of https://github.com/photonstorm/phaser
This commit is contained in:
commit
698694828f
2 changed files with 2 additions and 0 deletions
|
@ -27,6 +27,7 @@ var ProcessTileSeparationX = function (body, x)
|
|||
}
|
||||
|
||||
body.position.x -= x;
|
||||
body.updateCenter();
|
||||
|
||||
if (body.bounce.x === 0)
|
||||
{
|
||||
|
|
|
@ -27,6 +27,7 @@ var ProcessTileSeparationY = function (body, y)
|
|||
}
|
||||
|
||||
body.position.y -= y;
|
||||
body.updateCenter();
|
||||
|
||||
if (body.bounce.y === 0)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue