I need Help, i want create a game with level selection and three stars for level
1UpGamestudio
Member Posts: 213
Hello everyone, I need help.
I want to create a game with the selection of the level and for each level there will be three stars to be taken, for a total of 150 stars.
The question is this without creating 50 variables, one per level, how do I create a few variables? clearly the three stars on each level are independent.
Thank you and look forward to your reply.
I want to create a game with the selection of the level and for each level there will be three stars to be taken, for a total of 150 stars.
The question is this without creating 50 variables, one per level, how do I create a few variables? clearly the three stars on each level are independent.
Thank you and look forward to your reply.
Comments
Ace
But to actually unlock the all the levels u can do that with 1 attribute
Have a attribute called level clear set to to 1
when you beat level 1 change level clear to 2 in whatever you press to go to the 2nd level have when touch is pressed and attribute level clear is >1 change scenee to level 2. then when you beat level 2 change level clear to 3. And in the acotr you press to go to the 3rd level have when touch is pressed and attribute level clear is > 2 change scene to level 3, and so on
I think is the variabile.
Ace
Ace
When you spawn and destroy, GS doesn't garbage collect as efficiently as needed to have a load of spawns/destroys. Instead, try just moving the actor out of the boundaries of the camera so you can't see it then change the x and y values to on screen when you want to spawn.
Ace
the squares come from different sides of the screen, but when the square is many the game becomes slow.
You have a solution?
http://gamesalad.com/forums/topic.php?id=17697