

I started Phaser, and if you look at the Visual Studio Guide on the Phaser website, you keep getting errors. Did anyone solve this problem?
I started Phaser, and if you look at the Visual Studio Guide on the Phaser website, you keep getting errors. Did anyone solve this problem?
As it was mentioned in the comments, I also assume that you are mixing to phaser versions.
I would use Phaser 3 (here is a older post "comparing" the versions Should I use Phaser 3 or Phaser 2/CE? )
Just to be on the save side:
Select the tutorials/examples for the version you want to use:
For example, for your sprite
problem:
Phaser 3 Example how to add a sprite:
https://phaser.io/examples/v3/view/animation/60fps-animation-test
...
create(){
...
this.add.sprite(400, 484, 'walker', 'frame_0000');
sprite.play('walk');
...
}
...
Phaser 2 CE Example how to add a sprite:
https://phaser.io/examples/v2/sprites/add-a-sprite
...
var test = game.add.sprite(200, 200, 'mushroom');
...
I hope this helps, with your problem