How to create spritesheet like the one in phaser tutorial
If you are fammiliar with the Phaser tutorial you would know that there is a spritesheet that is used in the tutorial. I would like to make my own spritesheet simmilar to this one. How would I do that?
get hitbox as well as image to rotate around a point
I used Phaser.Actions.RotateAroundDistance(spinningfire.getChildren(), { x: 600, y: -1780 }, 0.02, 200)
in order to make a the group spinning fire to spin around a sprite. the only problem is that the hitbox does not move with the fire image.
get hitbox as well as image to rotate around a poing
I used Phaser.Actions.RotateAroundDistance(spinningfire.getChildren(), { x: 600, y: -1780 }, 0.02, 200)
in order to make a the group spinning fire to spin around a sprite. the only problem is that the hitbox does not move with the fire image.
why is the camera not following the player if phaser 3
I tried to get the camera to follow the player with this.cameras.startFollow(this.player) but it still did not work. it just shows a black screen, why is this?