test if class works
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user