Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Star count at the end of a level

ElemetAppsElemetApps Posts: 54Member, PRO

So I have a star count system, and it works great,
but I have one problem. When my level is complete I want to through an image up on how many stars you get during that round. How would I do this?


  • tatiangtatiang Posts: 11,796Member, Sous Chef, PRO, Senior Sous-Chef

    On the end of level scene, add an actor with an image of a star. Use the replicate behavior and in the copies field put the attribute that represents the number of stars, such as game.stars. Set the size to self.Size.Width (plus a few pixels for spacing if you like).

    New to GameSalad? (FAQs)   |   Tutorials   |   Templates   |   Greenleaf Games   |   Educator & Certified GameSalad User

  • jorkosjorkos Posts: 352Member, PRO

    the other approach is just to have one star actor with different image sets - 1-star.png , 2-star.png ... etc.

    Then just have the rule, change image to game.stars.."-star.png"

Sign In or Register to comment.