This commit is contained in:
JERRY F 2025-12-01 09:43:50 +07:00
parent a74311d4d8
commit 0bc467a684
2 changed files with 4 additions and 3 deletions

View File

@ -269,6 +269,7 @@
});
}
//update teks pada speed kalau score update
function Movement() {
if (++count < speed) return;
if (ArahUlar > 0) ArahUlar--;
@ -328,9 +329,9 @@
if (e.code === "KeyE" || e.code == "KeyQ")
speed =
e.code == "KeyE" && speed > 4
e.code == "KeyE" && speed > 5
? speed - 1
: e.code == "KeyQ" && speed < 9
: e.code == "KeyQ" && speed < 15
? speed + 1
: speed;
});

View File

@ -109,7 +109,7 @@
padding: 15px 30px;
font-size: 20px;
cursor: pointer;
color: white;
color: rgb(255, 255, 255);
border: none;
border-radius: 5px;
margin: 10px 5px;