Jump to content

Restarting Scene Problem


polansk1
 Share

Recommended Posts

Hi guys!

I have a problem with my restart function. Can't move my player after trigger him. In my restart button i call that function:

function restartGame (){

    game.scene.start('level1')
    juego2.scene.switch('level1')

}

Switch from my Game over menu to inicial scene well, but then can't move :S

Console alert: Invalid Animation Key, or Key already in use: down. 

Any idea?

Link to comment
Share on other sites

 Share

  • Recently Browsing   0 members

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