Merge branch 'main' of ssh://gitlab.fdmci.hva.nl/propedeuse-hbo-ict/onderwijs/2023-2024/out-a-se-ti/blok-2/cuujooceevii61

This commit is contained in:
Mees Roelofsz
2024-01-08 20:48:05 +01:00

View File

@@ -20,7 +20,7 @@ let lives = 1;
let isDead = false; let isDead = false;
let bossPosX = width / 2; let bossPosX = width / 2;
let bossPosY = 100; let bossPosY = 100;
let shotSpeed = 12; let shotSpeed = 16;
let shotSpeedAdj; let shotSpeedAdj;
let projectile; let projectile;
let projSize = 5; let projSize = 5;
@@ -33,7 +33,7 @@ let initialPlayerPosX = playerPosX;
let initialPlayerPosY = playerPosY; let initialPlayerPosY = playerPosY;
let bullets = []; let bullets = [];
let direction; let direction;
let framerate = 120; let framerate = 60;
let hasMoved = false; let hasMoved = false;
let time = 0; let time = 0;
let shotPoint = 0; let shotPoint = 0;