Score

ishman777ishman777 Member Posts: 32
edited November -1 in Working with GS (Mac)
Hey I need to know how in my menu system I can make a star system and keep the best time. Thanks

Comments

  • tenrdrmertenrdrmer Member, Sous Chef, Senior Sous-Chef Posts: 9,934
    you will need to setup attributes to track them for each level.

    For the stars you basically can have different images based in the number of stars that are collected. And the score you will just need to use a custom font or display text for that score you have saved.
  • ishman777ishman777 Member Posts: 32
    Thank you, but how do I make the score and stars save after the app is closed and opened back up?
  • stevethornstevethorn Member Posts: 35

    Load and Save Attributes
  • ishman777ishman777 Member Posts: 32
    Ok thank you guys!
  • ThemistoklesVThemistoklesV Member, PRO Posts: 138
    hey gurus !!!!

    i need to save scores in different levels in order to add them --> load them in the main scene...

    is that possible bc i tried and i didn't find anything.....(im new in gs)

    thanks in advanced.....
  • old_kipperold_kipper Member Posts: 1,420
    a game attribute stay available throughout a game and can be altered by rules in different scenes. So you can add to it from each scene and then use it to make a total of scene scores.

    hope that helps

    kipper
  • ThemistoklesVThemistoklesV Member, PRO Posts: 138
    i have done that ..... but when i return in the main menu i m trying to add the two scores but nothing happens....it displays only the score for the first scene.....and not the sum.
    i have use a load score actor and at display behavior i typed :game.High Score + game.Score1 in the expression...
Sign In or Register to comment.