Menu/Game screens

Subscribe to Menu/Game screens 3 posts

avatar for manabk manabk 29 posts
Flag Post

I was thinking of storing each in a separate Sprite, and swapping them around, when clicked or such. Are there any better ways to manage these?

 
avatar for Aesica Aesica 951 posts
Flag Post

I think that’s actually how most people do it already, so nope! :D

 
avatar for Ace_Blue Ace_Blue 1082 posts
Flag Post

This is the better way, considering the alternative is to pack everything on the same screen and making only what is needed visible at any given time. Or worse, creating/destroying elements as needed, with all the memory leak implications that entails.

Keep trucking, you’re doing it right.