02.your-first-practice

Your first practice

It’s time for your first practice, in which you’ll reproduce the code we wrote in this lesson.

As this is our first project, the practices stay very close to the lessons. You should take them as an opportunity to rehearse and test what you just learned. Practices will get more challenging moving forward.

How practices work in the course

Practices are all about improving your Godot and game development skills. That’s why we developed a system that lets you practice easily in the Godot editor. Here’s how it works.

On the right, you’ll see a dock named GDQuest Practices. It lists all practices in the course.

Each practice has a dedicated scene. To open the first practice scene, click its name, Making the ship move.

This will open the practice’s scene in the viewport and show your goal, tasks, and hints.

In the viewport, you should see a Sprite node with a script.

To complete a practice, you need to pass several checks, just like in the Learn GDScript app.

Run the scene by pressing F6. This will show the checks on the left and run them. For each failing check, an error message will appear on the right.

Press F8 to stop playing the scene and return to the editor.

To complete a practice, you’ll need to edit the scene and its script(s). Make all the checks pass, and the completed mark will appear in the editor.

All your data is local to your computer. We do not send any data to a web server, so everything works offline. If you change your computer or format your hard drive, your progress will be lost.

In the following video, you will learn to add input support to your game.