Hi all
I am making a game with a level selection similar to “Cut the Rope”
I need to have my levels locked and upon how many stars I gather in the level, display them afterwards.
So I have a Locked level image, an unlocked level image and depending a star image. i need to display under the level button 1 star if that is what they gathered in the level, 2 if thats what they got and so on.
I’m not sure how to write this to a table and then read it and display it based on values saved, if I could do
level 1 {
0=nostars
1=1star
2=2stars
3=3stars
4=locked
}
and create a function to display the images based on what value the table holds
level1=0
level2=4
level3=4
…
how can i create this [import]uid: 33062 topic_id: 8137 reply_id: 308137[/import]