Hello,
I am making a game with many levels and as a result have created a set of about 40 detailed numbered button images for the menu. How do I insert these all at once instead of having to meticulously insert them one at a time?
Thanks,
William
Develop games in your browser. Powerful, performant & highly capable.
A for loop will work, like:
Sprite: Set Animation Speed: 0
For "loopindex" from 0 to 40:
Create Sprite: X= 100; Y=50*loopindex + 10
Sprite: Set frame: loopindex
Make sure your buttons are all on the same sprite as independent animation frames