Making Specific Levels in Gamesalad?

Hello :D

For my app I want to include a star system for each specifc level. In my game, the player can collect up to three stars per level. For every star collected, a star will be displayed in the level select above the given level. I completed most of the coding, but my only problem is that i cant figure out is how to do this for each SPECIFIC level. I tried using tables but it still does not work. Does anyone have any suggestions? Thanks! :)

Comments

  • LooseMooseLooseMoose Member Posts: 224
    I have never done this before and am not sure what your current set-up is but you could give this a go:

    For each level you could make and attribute, for example "level1stars" "level2stars" "level3stars" etc etc.

    In each level you will have to unlock the stars and make a rule so that when the star is collected it will change the "levelXstar" attribute to levelXstar + 1

    On the level select scene you will have an actors that shows the current stars collected for that level. unlock each each of those actors and put in a rule like..
    'change image to "1star" when attribute "levelXstars" = 1'
    'change image to "2star" when attribute "levelXstars" = 2'
    'change image to "3star" when attribute "levelXstars" = 3'

    Hope this helps you a little, goodluck.
  • mrpacogpmrpacogp Member Posts: 400
    If you have alot of level can try to using a table.
    Each level got 3 start.
    When you collect 2star from 3lv, change table value, to true...
    its that best for performance?
    When you stay on resume or something, you can get the values from others levels
Sign In or Register to comment.