how do i create
say 35 objects(sprites that act as buttons)
and controlling its state(selected/clicked)?
im thinking to do a for loop 35 times and create objects then i want to store the any action in an array so i know that number 5 was clicked
but i cant seem to find a way of creating objects with names i can use dynamically, so that in another loop i can check value of each button
(each button should have the name i(number from loop),
so far i've created a sprite,a textbox and made them into a container.
now i need to find a way to render them in a loop, but each button should be controlled separately,
yes its easy to do manually but if there is a way to make it programatically, im all for it.