App reset

Hey guys My name is Brady and I am releasing an app later this week titled “City jets”

In order to do so I need some help. My game is almost finished but, I have a minor issue. Whenever I “die” in-game I of course go to a restart screen. Whenever I click on that screen I want to go to the start menu. It is currently set to go in-game. I want the app to “reset” after you die and click retry. Why do I want this you ask? My current scoreboard system requires an app reset to go back to 0. I would recode it but, we are already to late in the process of doing that. If someone could give me a game reset code I would very much appreciate it! I will leave my restart.lua here in .txt to help you all!

Thanks for your time.

Brady E. Pennington, CEO of LongSword Entertainment

Hi Brady, There is a new video set and source code, try search ‘corona sdk flappy bird’ on youtube. It addresses the issue that I think you are talking about in your question and it returns to the ‘start’ screen rather than the game. It also shows how to integrate Rob Miracles score.lua file in a fairly basic manner. Is this the score module that you are integrating? From memory, I don’t think the ‘city jets’ code uses removeScene() is a very efficient manner, is that correct?

Hi Brady, There is a new video set and source code, try search ‘corona sdk flappy bird’ on youtube. It addresses the issue that I think you are talking about in your question and it returns to the ‘start’ screen rather than the game. It also shows how to integrate Rob Miracles score.lua file in a fairly basic manner. Is this the score module that you are integrating? From memory, I don’t think the ‘city jets’ code uses removeScene() is a very efficient manner, is that correct?