Restarting an app

Hey Guys,

So, I haven’t been able to make an easy in game start over button, so I was wonder if there was a command for restarting the app completely?

Thanks for the help

~Caleb [import]uid: 95032 topic_id: 31233 reply_id: 331233[/import]

There isn’t a command/API to just restart and app completely, no - but if you are using Director or Storyboard then changing back to menu.lua (or the first scene you load after main.lua) should do it. Unless you’re using globals that carry over across scene changes?

It would help to know more about the specific issues you are encountering and if you are using Director or Storyboard or neither.

Peach :slight_smile: [import]uid: 52491 topic_id: 31233 reply_id: 124966[/import]

There isn’t a command/API to just restart and app completely, no - but if you are using Director or Storyboard then changing back to menu.lua (or the first scene you load after main.lua) should do it. Unless you’re using globals that carry over across scene changes?

It would help to know more about the specific issues you are encountering and if you are using Director or Storyboard or neither.

Peach :slight_smile: [import]uid: 52491 topic_id: 31233 reply_id: 124966[/import]