So I am making a menu that pops out from the side of the screen using layers. My question are:
For each button on the menu, is it better to have each of them be their own object with only 2 frames for unclicked/clicked, or have all the buttons on the menu in one object that has all of the clicked/unclicked frames inside it?
I ask because I am using the second method of having them all inside 1 object and it is proving to be a bit difficult for me, but I wan to make the game as optimized as possible.
If you think the second option is the best way to go, then my second question is, how would you handle changing the animation frame of each IID of the buttons? I can'r seem to figure out how to change specific object instances to different frames, they all go to the same frame.