Complex menu adding new worlds?

Hello

So i haven't quite put full gears in to this yet but better make sure it is possible first.
If I have a world select menu like cut the rope ( cover flow) with five worlds. Then when the player buys more worlds they get added to the cover flow in order.
So example:
Worlds:
1,2,3,4,5 come original but have option to buy worlds 6,7,8.

So the players buys world 7.

So it now shows 1,2,3,4,5,7

Later on they then buy world 6 too.

So then the cover flow should display the worlds in order.

1,2,3,4,5,6,7 .

Would this be possible. I haven't really looked to much at it but I would need some way to tell what world each box And the ranking from 1st to last then change position according. Any ideas?
Thanks

Elfizm

Comments

  • The_Gamesalad_GuruThe_Gamesalad_Guru Member Posts: 9,922
    Most people use a Boolean to to lock the worlds and then display the world but with the image of a lock over it. Then when it is unlocked you do a change image to one without the lock.
  • ElfizmElfizm Member Posts: 489
    @FryingBaconStudio

    Well I guess I am different :)

    Yeah I know about that but I can't do it that way because of the design I have. So far I have that free cover flow where I am understanding what they did and a way to have actors rearrange in order. But now I have to put two in two some way. Which is the hard bit. So I am guessing I properly won't be getting help if most people do it the other way but was just hoping for some tips on how to do. Looks like I will wait till I have a more detailed simplified question after I do some trial and error. Thanks :)
  • The_Gamesalad_GuruThe_Gamesalad_Guru Member Posts: 9,922
    edited January 2013
    Just take into account that using IAP you need a restore purchase function so don't forget about that when figuring how to unlock your levels. Okay so here is the way use the self actor tracking method similar to the method used to link actors to a table. So just use a generic lock image for all unlocked levels. Then assign the level unlocked to a self attribute in the next available slot. So slot 7 is bought and it goes into the next slot and then slot 5 is bought so have rules that can track what is unlocked and can sort where they are displayed just use rules with < and > operators. Since it's a simple numerical order it should be easy logic.
  • ElfizmElfizm Member Posts: 489
    @FryingBaconStudios

    Thanks for the responses. I did manage to create it as a cover flow style swiping effect ect. That was the easy part. It's based on camera so no moving actors.

    The hard part was finding away to make everything in order and I couldnt do that in away that moves actors. So I placed all ten worlds down. There is two tables, table one tells me if the world is unlock or bought and table two tells me if that world is already being displayed.
    So at the start it goes through and changes it's image ect to whatever the table says. I have yet to test it on device but it works pretty well which is great.
Sign In or Register to comment.