- Home /
How to make layers become visible with a button prompt?,How to make entire layers active/inactive with a button press
The concept of my game is that a player can hold down a certain button to reveal new platforms, so I was wondering how it would be possible to program it so that when a certain key is being pressed, a layer (of tiles) would become visible. Would this be better to do with a secondary tileset?,The concept of my game is the character can shift through dimensions to expose new platforms, so I was wondering what kind of command would be needed so that if the player were holding Q, an entire layer (of tiles) became visible but if not, that same layer would be invisible.
Your answer
Follow this Question
Related Questions
I Can't Jump, And If I Remove if(isGrounded) I Can Do More Then 10 Jumps IN The Air 1 Answer
so I'm trying to make a 2D platform but the first animation i make is the only one that registers 0 Answers
Destroy a gameObject in the scene if instantiate the same gameObject 0 Answers
How to Implement a “Parry” mechanic to a 2D game? 1 Answer
2d shooting problem 1 Answer