test if class works

This commit is contained in:
sam
2023-11-28 14:45:14 +01:00
parent 308c2a4008
commit 3a9674ff46
3 changed files with 8 additions and 6 deletions

View File

@@ -73,8 +73,7 @@ let playerPosY = 300;
let bullets = [];
let playerSpeed = 5;
let radius = 20;
let myBullet = new bullet();
let myBullet = new bullet();
async function Movementloop() {
if (booleanArray[1]) {
@@ -109,6 +108,7 @@ function setup(){
frameRate(244);
// disable the outline of shapes
noStroke();
myBullet(playerPosX, playerPosY, radius, 5);
}
// the function draw() is called every frame