How do I add a kill Player Script and a checkpoint system so each time my player dies he goes to the nearest checkpoint?

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By christianbegg2

I am looking for an example on how to do the checkpoint and kill script so I can make a platformer. I am wanting to know how I can do this. Please leave me with a code example so I can use it because I never coded before. I want this done in 3d!!!

HELP!!!

I want this done in 3d

christianbegg2 | 2018-07-31 15:33

You asked this exact question already twice and received answers, with code snippets.

If you’ve never coded before, you’re not going to understand the answer, nor how to do the rest of the things you’ll need to make a platformer. If you really want to learn how to make games, you’re going to need to learn to code. I highly recommend a beginner programming tutorial/course, or at least follow the Official Godot Documentation, which explains a lot of what you need to know to use the engine.

Also, it’s recommended to start with 2D projects until you know more about what you’re doing. 3D just makes things more complex to begin with.

kidscancode | 2018-07-31 16:10

:bust_in_silhouette: Reply From: PixiePal

It’s strongly recommend that programming knowledge is learned first(meaning, classes, scopes, variables, reserved words, functions, multi-dimensional, inheritance, polymorphism, sorting, EXCEPTION/RUN-TIME errors, etc).

As mentioned, it’ll be difficult to interpret exactly what’s going on in-game because a script is copy-pasted. If bugs are encountered, how will they be fixed?