Jump to content

Phaser Virtual Joystick Plugin


simonwollerton
 Share

Recommended Posts

Hello guys i got a quick question for you.

It's probably a noob thing because this is the first time i've used Phaser
and the Virtual Joystick Plugin at all.

I have a basic game with a game state and a main state, the main state
being a menu containing scores, high score and tap here to start etc.

The Virtual Joystick Plugin is instantiated and started from within the
game state and works great. The problem i have is when the player dies and
the game drops out to the menu the Virtual Joystick remains on the canvas
and no matter what i try i can't destroy and restart it. On game restart
the Virtual Joystick is redrawn and you end up with multiple instances
drawn on the canvas.

Thanks for any help.

Si

Link to comment
Share on other sites

 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...