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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

  • Recently Browsing   0 members

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