Struggling with my Stars per Level

DrGlickertDrGlickert Member Posts: 1,135
edited November -1 in Working with GS (Mac)
I want to award players 1, 2, or 3 stars per level based on how they play (just like every game out there right now).

When the player plays, I want them to shoot and do level stuff and then the level is over. Say they get 2 stars, the next time they play they get 1 star.

How do you all make it so that the 2-star rating is always displayed even if they re-try and get less stars? I don't want a lesser score to save. Any thoughts?

Comments

  • JohnPapiomitisJohnPapiomitis Member Posts: 6,256
    well you could have your highStarCount attribute for each level, then another attribute for each level that counts the stars while your playing. Then you can have a rule if attribute.starCount is greater then HighStarCount
    -change attribute highStarCount to starCount
  • DrGlickertDrGlickert Member Posts: 1,135
    Thanks guys!
  • adnanadnan Member Posts: 46
    but when you close the game you should load the stars back for every level right?
    and how to make a star system for 100 levels?
  • adnanadnan Member Posts: 46
    adnan said:
    but when you close the game you should load the stars back for each level right?
    and how to make a star system for 100 levels?

  • DrGlickertDrGlickert Member Posts: 1,135
    adnan said:
    but when you close the game you should load the stars back for every level right?
    and how to make a star system for 100 levels?

    Dude, i've got 60 levels and I thought that was bad...

    The way I currently am doing it is that I have an invisible actor in the opening menu scene. It literally has 60 load attributes in it. I cant think of any other way to do it.
  • DrGlickertDrGlickert Member Posts: 1,135
    uptimistik said:
    This is where saving to a Text Attribute would come in handy.
    You update the number of stars in the Text Attribute, then you just load one attribute at startup..

    You should go work for GameSalad with ideas like that! :-)
Sign In or Register to comment.