"Try again" Button

ryantheappleguyryantheappleguy Member Posts: 2
edited November -1 in Working with GS (Mac)
Hello, everyone.

Does anyone know how to make a try again button?
I have a Game Over scene and it as a try again button but it goes back to the previous scene in the GS scenes library.
I need it to go back to the last level/scene that the user was on.

Comments

  • SAZ_1SAZ_1 Member Posts: 397
    hey ryan...it pretty simple... basically in your retry button place a change scene attribute to your main game not previous scene (so in the little dorp down bar select the name of your main games scene),

    You will then need to reset all attributes that affect the main game...for example..
    --> change attribute game.score --> to zero.
    --> change attribute game.player lives --> to 3.

    hope that helps peace.
  • ryantheappleguyryantheappleguy Member Posts: 2
    Thanx guys.

    I will give the ideas a go and let you know how they work out for me.

    Sometimes its the most simple things that I cant wrap my head around when my mind is all over the place with this project.
Sign In or Register to comment.