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