two layer on each of the layout, the top layout have the popup menu on game on the bottom one.
lets say you have 50 level each time player win a game a menu with
Back, replay and next button popup in the middle of the screen...
set invisible
is it better to set the layer invisible on start of layout and set visible when game ends..
Pros is:- it works
Cons is:- Back, replay and next button still press although the layer is invisible
maybe:- this method takes up memory why i am asking you guys
fix to touch issue is:- put Back, replay and next button in a group on set group deactivated on reactivate when win
destroy
is it better to put it off screen set destroy outside and spawn it when the player wins a level
pros is:- i am just asking before i waste my time to try this one
cons is:- ...
maybe: this method save memory and cpu usage