Added bullet array

This commit is contained in:
sam
2023-11-28 13:18:59 +01:00
parent b0610e2b87
commit 3b877fc3f8

View File

@@ -29,7 +29,7 @@ let predictiveBounceX;
let predictiveBounceY; let predictiveBounceY;
let time = 0; let time = 0;
let Bullets = [];
let myBullet = new bullet(); let myBullet = new bullet();
// the function setup() is called once when the page is loaded // the function setup() is called once when the page is loaded
function setup() { function setup() {