Im trying to create a js file with functions relevant to my game but i get an error message saying Uncaught TypeError: Cannot read properties of undefined (rea
I type: npm test and I get: It's interesting to note that the import statement works inside the BootScene.test.js file but it doesn't work in the imported fil
In my Phaser3 game there is a global gameTick variable that is incremented every update. I am using this to spawn in enemies in my game every 100th update. Her
I have created 3 canvas textures: this.textures1 = this.textures.createCanvas('canvastextures1', 450, 170) this.textures2 = this.textures.createCanvas('
In my game, I have a video playing before the game itself begins (short instruction about the game). After the video ends, I destroy it and the game starts, but