block between two floor

Started by Yosha, June 12, 2015, 02:32:55 PM

Previous topic - Next topic
Hello Solarus users,

I was wondering if it was a simple way to make a block fall into a below floor, i.e. the hero push a block in a hole and go to the B1 floor to activate a switch with this block (which just fall from upstairs). Noting that the two floors are on separate maps !

Thanks

Hi,
You have to do it manually. Both maps would have a block.
When the block falls in the hole, set a boolean value in the savegame.
If the boolean is false, the bottom map removes the blocks at loading time.
If the boolean is true, the upper map removes the blocks at loading time.

There is an example of this in ZSDX, in dungeon 7 for example.