How can you make it so that when your character dies, the score is presented to you at the end?

I pretty new. Then i want there to be a replay button which resets the score and goes to the previous scene.
Cheers!

Comments

  • revoltandreverbrevoltandreverb Member Posts: 159

    These are really basics and covered in the cookbook. Assuming you score is kept as an integer, you can use display text and show the score. When you character dies, just constrain the score attribute to 0, and make the reset button change the scene to the previous one.

  • MarchiefMarchief Member, PRO Posts: 98

    I found it better to spawn a new actor to this on death then you can add the text and style the actor how you want and re-use it on all your scenes. Presuming your score is held in a table.

Sign In or Register to comment.