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