I started making a game in which i want my main character is not able to see those spikes or any enemy. I want to make it so when you press some key on a keyboard or a button in a game those spikes are visible but just for a moment so you need to remember where are they and finish the level.
I hope you understand what i'm tryng to say.