Hi everyone,
In my 2D platformer game, I have multiple layouts that are all part of a single scene. After the player dies and presses the “Retry” button, I want to restart the layout they were currently on. However, I couldn’t find an action like “Restart current layout.”
How can I reload the current layout without resetting the whole scene?
Thanks in advance!
1 Like
Hi,
There is no “Start current layout”-action because Gdevelop does not know by default where a layout in your scene starts or ends.
Anyway, the easiest thing to do for achieving what you want is probably to set up a waypoint system. The platformer example shows how to do that:
1 Like
I will try asap. Thank U