Ask here your questions to get help using GDevelop.
By wombocombo
#63203 Heyo!
How would I get the character, if he dies, to teleport to the beginning? is there some sort of collision I could make?
Thanks,
Brendan
User avatar
By Lizard-13
#63205 You can teleport the player with an action to change an object position, this way the scene won't restart, in other words dead enemies will still be dead, picked up coins won't reappear, etc.
You can reload the scene too, this way the scene will be reset. To do it use the action to change the scene, with the current scene name as parameter (or the expression CurrentSceneName() ).

is there some sort of collision I could make?

If the player must die when colliding with an enemy, just use the condition to check collision between player and enemy, and put one of the actions from above :)
By wombocombo
#63215
Lizard-13 wrote:You can teleport the player with an action to change an object position, this way the scene won't restart, in other words dead enemies will still be dead, picked up coins won't reappear, etc.
You can reload the scene too, this way the scene will be reset. To do it use the action to change the scene, with the current scene name as parameter (or the expression CurrentSceneName() ).

is there some sort of collision I could make?

If the player must die when colliding with an enemy, just use the condition to check collision between player and enemy, and put one of the actions from above :)

thank you so much! I'll try reloading the scene. :D