I need a bit of Help with my platformer. I'm Having Problems with Level Logic

Godot Version 4.3

Question

I dont speak english very well

Basically I’m making a platformer similar to mario as my first game so I can Learn the basics of godot.
I’m actually almost done but now I have to create the logic so the player can proceed to the next level.
I used to do that by just having an area2D in at the end of every level that sets it to the next scene manually but I use a different scene as Death Screen
(When the player dies it sets it to that death scene and theres a retry button)
now the problem is i need an table that is always loaded wich contains all level names and where the player is currently in so that when he presses retry he gets put in the correct level.
and I don’t know how to do that…

Instead of having a death scene, just make it an overlay on the current scene. Then you dont need such logic and you can reset the current scene.

1 Like

… I’m Dumb, lol thank you!