Jump to content

init Problems - Phaser


Recommended Posts

Hey all,


I am having some problems making init work.


I have one state and i'm calling the next one by doing ('newState', false, false, this.hero)


i want to pass my hero from my first state, which is kind of like a prologue/cutscene, so I don't have to re define him on every state but I'm having some problems with passing him.


Could somebody show me the correct way to do init or point me to a good example?



Link to comment
Share on other sites


  • Recently Browsing   0 members

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