Missing ) in this section:

scene.anims.create({

key: 'run',

frames:

Should be:

scene.anims.create(){

key: 'run',

frames:

>> I think

Reply to this note

Please Login to reply.

Discussion

That part looks okay. I think you may be mixing Phaser Arcade physics with Matter physics. This game would probably run better if I used arcade, but I’ve spent so much time working with Matter that I don’t really know all the functions of arcade.

Phaser is awesome if you ever want to get into 2D game development. It’s the new Adobe Flash, but written in JavaScript so it will always be compatible.

Maybe. I haven't played with phaser yet.