Score, Replay Help!

Hi, im learning Corona atm and im stuck on the score output process. I want a popup to display right on the last gameplay with a little transition similar to flappy bird when you die having a replay button and scoreboard  this picture might help you understand.

Really appreciate a reply! :slight_smile:

247763d1392389508t-what-your-high-score-

Rob miracle has a good tutorial on saving and loading data. You should check it out. Once you read that what you could do is set up a table that holds high score and last score. Use a overlay to display game over scene then write a function that checks if last score is greater then high score if it is then overwrite high score with last score and use a text object to show the data. It sounds confusing but it’s actually pretty simple.

thanks, do you mind if i email/pm you later if i need help?

Sure or just post here if you run into problems.

Rob miracle has a good tutorial on saving and loading data. You should check it out. Once you read that what you could do is set up a table that holds high score and last score. Use a overlay to display game over scene then write a function that checks if last score is greater then high score if it is then overwrite high score with last score and use a text object to show the data. It sounds confusing but it’s actually pretty simple.

thanks, do you mind if i email/pm you later if i need help?

Sure or just post here if you run into problems.