We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent afafa5d commit 31ef2d9Copy full SHA for 31ef2d9
Spaceship.pde
@@ -5,7 +5,7 @@ class Spaceship extends SpaceObject {
5
private long lastTime = -1;
6
7
private Spaceship() {
8
- super(new float[]{1000, 500});
+ super(new float[]{width/2f, height/2f});
9
this.acceleration = 0;
10
this.invincibility = millis() + 1000;
11
}
0 commit comments