Jump to content

Bong

Members
  • Content Count

    2
  • Joined

  • Last visited

  1. Hi all, I'm making a shmup game at the moment. I'm trying to animate player's diagonal movements but can't get it to work. Any help you could offer would be greatly appreciated. First, I created the animation: this.anims.create({ key: 'rightUp', frames: this.anims.generateFrameNumbers('player', { start: 30, end: 33 }), frameRate: 10, repeat: -1 }); then when the player wants to go up&&right: if(this.keyLeft.isDown&&this.keyUp.is
  2. I don't know who you and this post has been here for a year already but it literally solved my problem. Thank you so much!
×
×
  • Create New...