mexDev Posted April 4, 2016 Share Posted April 4, 2016 Hi there, I am quite new to PandaJS framework. Can anyone please give me an example as to how to implement a simple restart button after the game over function has been called. Thank you! Mer, Quote Link to comment Share on other sites More sharing options...
SkyzohKey Posted April 4, 2016 Share Posted April 4, 2016 Assuming the scene you want to restart is called ie. Game: game.system.setScene("Game"); Quote Link to comment Share on other sites More sharing options...
mexDev Posted April 5, 2016 Author Share Posted April 5, 2016 Thank you! Quote Link to comment Share on other sites More sharing options...
SkyzohKey Posted April 6, 2016 Share Posted April 6, 2016 You're welcome, feel free to give me some reputations or simply leave a comment on my profile page Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.