Running Nostr

//** Here I think this code includes all the necessary fixes to make it work properly. However, I haven't tested the functionality of the game, per se. **//

Reply to this note

Please Login to reply.

Discussion

I'm missing a closed parentheses. And probably something else.

Missing ) in this section:

scene.anims.create({

key: 'run',

frames:

Should be:

scene.anims.create(){

key: 'run',

frames:

>> I think

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.