scene reset problem

Hipster_Owl_StudiosHipster_Owl_Studios Member, PRO Posts: 214
edited March 2012 in Working with GS (Mac)
Hello all! i need help coding a reset scene. in my game i have coins that my actor collects that go into a total coins attribute. how can I code it so that when the user resets the current scene the coins that were collected for that scene don't save? any help would be great, if its still unclear what i wrote just let me know and i can try explaining myself better.

Comments

  • EatingMyHatEatingMyHat Member Posts: 1,246
    Have two attributes, TotalCoins and CollectedCoins. Add the CollectedCoins to the TotalCoins only when the player completed the level successfully.

    During the level if you want to show the total coins so far you can always display Totalcoins + CollectedCoins


    Follow Eating My Hat on Facebook and the Blog
    Check out my templates in the GS Marketplace or at the store
  • Hipster_Owl_StudiosHipster_Owl_Studios Member, PRO Posts: 214
    Thank you guys for your help! i will try these out! thanks again!
Sign In or Register to comment.