Locking content video tutorial?

ryastryast Member Posts: 145

Hey!

I am making a game where I want to lock everything above level 1 with multiple locks... for example:
Level 1 is free to play,
user has to buy one "pineapple" ($0.99) if he wants level 2,
one watermelon ($0.99) for level 3,
one pear $0.99 for level 4
or a "fruit basket package" ($1.99) for access to levels 1-5.

Anybody know of a video tutorial that will help me do the above?

Thanks!

Comments

  • bjandthekatzbjandthekatz Orlando, FlMember Posts: 1,375

    I would use a table with 5 rows and 1 column. Make the attributes boolean and name the rows level2,level3,level4,level5,all.

    Inside the actors that display the lock:
    if tableCellValue(TB-table, level2, 1) is true or if tableCellValue(TB-table, all, 1) is true
    -change image to "unlocked image"
    -when touch is pressed go to level 2
    otherwise:
    display lock image

    When the player purchases the $.99 just change the desired row in the table to true.

  • ryastryast Member Posts: 145

    @bjandthekatz said:
    When the player purchases the $.99 just change the desired row in the table to true.

    Hey!

    Thanks for the quick reply!

    Actually, the part the confuses me the most is the purchasing part.
    Adding and removing the locks is not a problem and I have it pretty much down, its the whole purchasing part that I dont get as my other apps are 'just for sale', no unlocking - this will be my first "in app sale" app.

    Cheers!

  • bjandthekatzbjandthekatz Orlando, FlMember Posts: 1,375

    This should be a good video to help you through it!

  • ryastryast Member Posts: 145

    Thanks! Will check it out!

  • UtopianGamesUtopianGames Member Posts: 5,692
    edited July 2015

    This might help although you might have to change the file extension to .gameproj as it was made with an old nightly version http://www.deepblueapps.com/level-select-system/

  • ryastryast Member Posts: 145

    Thanks DBA! I saw you guys were having a sale, thinking of picking up the big bundle... do any of those games have what I am talking about?

Sign In or Register to comment.