How can I unlock levels when a certain goal has been reached?

IncrediboIncredibo Member Posts: 274
edited November -1 in Working with GS (Mac)
WHAT IS A GOOD AMOUNT OF LEVELS BEFORE PUBLISHING???
& ALSO HOW DO YOU LOCK A MAP & MAKE IT UNLOCK WHEN YOU REACH A CURTAIN AMOUNT OF COINS/STARZ

THANKS,
Bo Garza

(I edited the title to make it mirror the question instead of just "help" - jonmulcahy)

Comments

  • AsymptoteellAsymptoteell Member Posts: 1,362
    For the levels, it depends on the game.

    As far as the map goes, make two game attributes, (coins and stars) and make it so when you collect stars, it adds one two attribute stars and when you get coin it adds one to attribute coins. Then, in the map, make a rule where if game.coins> say 10 and game.stars > say 25, then change scene and go to an unlocked map scene.
  • IncrediboIncredibo Member Posts: 274
    Thanks
  • bgappsbgapps Member Posts: 183
    but wont you have to unlock it every time you exit out of the app because the app doesnt save your progress
  • JohnPapiomitisJohnPapiomitis Member Posts: 6,256
    bgapps said:
    but wont you have to unlock it every time you exit out of the app because the app doesnt save your progress

    You can save your progress, and then load when the game starts with the save attribute, load attribute behavior. You assign attributes to each level have them interger 0 and set them so when levels done, it changes to 1. Then for the next level unlock it when the level before its attribute is 1. Then at the end of each level after it turns to 1, save that attribute. And then have load attributes for all levels at the begingin of the game.

    Cheers
  • IncrediboIncredibo Member Posts: 274
    Is there any way someone can make a video
    if not thanks so much I will see if I get it :(

    Thanks,
    Bo Garza
  • jonmulcahyjonmulcahy Member, Sous Chef Posts: 10,408
    do a search, this has been discussed a bunch of times before, there should be plenty of information
Sign In or Register to comment.