I use the Particle Emitter in Phaser 3 to make shooting stars in my background. This technically works great, but there is still a problem with the particles it
I have a JavaScript game, using the Phaser 2 framework, and I am trying to add a new map to my game. So I made a scene in Tiled map editor so I can export to my
So, I'm working on a project, attempting to learn Phaser as a ruby dev (JS isn't my most confident programming language). Having run my game on a lower-spec la
I have the Circle object that extends shape and am trying to get the value of x or position of the object in 2d plane. During animation (tween) the position doe
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