trying to add dash
This commit is contained in:
@@ -123,10 +123,7 @@ function keyPressed() {
|
|||||||
movingY = false;
|
movingY = false;
|
||||||
}
|
}
|
||||||
if (key == ' ' && shot == false && lives != 0) {
|
if (key == ' ' && shot == false && lives != 0) {
|
||||||
if (movingX == true) {
|
|
||||||
playerPosX += 100;
|
|
||||||
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user