mirror of
https://github.com/wassname/phaser.git
synced 2026-09-09 11:28:47 +08:00
Velocity integration tidied up. Now moving to sync Body with Sprite center point.
This commit is contained in:
@@ -67,10 +67,8 @@ function create() {
|
||||
|
||||
function launch() {
|
||||
|
||||
game.time._x = true;
|
||||
|
||||
// sprite.body.velocity.x = -200;
|
||||
// sprite.body.velocity.y = -200;
|
||||
sprite.body.velocity.x = -200;
|
||||
sprite.body.velocity.y = -200;
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user