Actually it reminded me of our game! It's a similar thing where there are traps (+ other things in your game) that you can see when you die. The difference is that once you are alive again in your game you can't see the traps anymore.
It's quite frustrating because I'm not so good at 2d platformers and even when I knew where traps were sometimes I would still die.