mirror of
https://github.com/wassname/phaser.git
synced 2026-08-15 12:45:11 +08:00
Updating and fixing tests
This commit is contained in:
@@ -99,7 +99,7 @@
|
||||
}
|
||||
}
|
||||
|
||||
shipMotion = game.motion.velocityFromAngle(ship.rotation, speed);
|
||||
//shipMotion = game.motion.velocityFromAngle(ship.rotation, speed);
|
||||
|
||||
scroller.setSpeed(shipMotion.x, shipMotion.y);
|
||||
|
||||
@@ -144,7 +144,8 @@
|
||||
b.x = ship.x;
|
||||
b.y = ship.y - 26;
|
||||
|
||||
var bulletMotion = game.motion.velocityFromAngle(ship.rotation, 400);
|
||||
//var bulletMotion = game.motion.velocityFromAngle(ship.rotation, 400);
|
||||
var bulletMotion = {x:0,y:0};
|
||||
|
||||
b.revive();
|
||||
b.rotation = ship.rotation;
|
||||
|
||||
Reference in New Issue
Block a user