Thanks for advice. The dungeon is random and there is always a way to get back. The generate every jump (not exactly every jump though since if you are in air you can press Space and the dungeon will generate without jump again.) is just a mechanics I thought of and didn't use yet. I may use it later . Your advice is very useful. Thanks again.
RE: Gamedev blog : My progress making a game for 2 game jam part 2 - 003