fixed Y variable
This commit is contained in:
@@ -113,9 +113,9 @@ async function Movementloop() {
|
||||
if (booleanArray[3]) {
|
||||
cirX -= speed;}
|
||||
if (booleanArray[2]) {
|
||||
cirY -= speed;}
|
||||
if (booleanArray[0]) {
|
||||
cirY += speed;}
|
||||
if (booleanArray[0]) {
|
||||
cirY -= speed;}
|
||||
}
|
||||
|
||||
function object_collision() {
|
||||
|
Reference in New Issue
Block a user