I'm working on a little ball drop game and I'm trying to figure out how to create a loop ( i'm guessing a for loop ) so that when the player clicks next level, it adds 1 to level variable and then creates an extra green box per level
So, level 1 -> 1 green box
level 2 -> 2 green boxes
level 3 -> 3 green boxes
and so on. I know this can be hard coded in but I would like the game to be endless.
If anyone has an Idea or something better than a loop, please shout
Here is the link to the game capx if you wanna have a bash :