Hi, I want some advice on how best to use layouts. I currently have 3:
Obviously my menu is very different to the others. It has a start button and is what the player will see first. And also what they will see when they die.
Level 1 has my character, the game level, and also lots of global elements that make up the HUD. I've made these elements global, so that I don't have to duplicate them on every other level. Because if I eventually have 20 levels, and want to change the layout of the HUD, I'll have to change each one!
So Level 2 is very basic, it just has the character and the level. No global elements. But when you play the game, you'll see these global elements as it'll pick them up from Level 1.
When the player goes back to the menu though, all of the global elements still show, overlapping the menu!
I wondered if anyone else has had this exact same problem? And how have you solved it?