Now that you've completed Learn GDScript From Zero, you have the foundations you need to start coding in Godot. By the end of this module, you'll have created a player-controlled ship flying through space, seen from above.
A spaceship is perfect to get started with movement code since we don't have to worry about character animation. You'll learn how to:
Detect player inputs using a keyboard or gamepad
Make a top-down character move in any direction
Rotate a character to face the direction of movement
Code a time-limited speed boost using a Timer node and signals
Create smooth, satisfying movement with steering behaviors
And more. These techniques aren't just for spaceships! You'll reuse them to move projectiles and other entities in the interactive practices. Plus, you'll build upon this same code in the course's final game project, as it's a solid foundation for top-down character movement.
For each lesson, you should follow the steps in the corresponding workbook project. We'll tell you which project to open, how to create files, and where to save them (typically in the reslessons directory).After completing each lesson, you'll apply what you've learned in interactive practices. These are small coding challenges that use techniques from the current lesson or previous ones.Each practice has a unique identifier like L4.P1 (short for Lesson 4, Practice 1). When you see a practice listing, you should open it and complete it. Don't worry, we'll explain exactly how to do that in the next lesson when we encounter our first coding practice.Here's your first practice listing to give you a sense of what they look like. Click on "OPEN INSTRUCTIONS" at the bottom right of the mission statement to open the practice and see how it works!
Practice Makes Perfect!
Time to put your new skills to good use. Open the workbook project in Godot to follow along.
NOTE:
Check all the tasks you completed successfully to mark your exercise as done.
Mission:
This is the mission statement. It summarizes what the practice is about. Click here to open this practice!
In M2. Get to Know Godot, we provided links to download Godot and the project files for the course. If you haven't downloaded the project files yet, let's do that now.Click the link corresponding to your operating system:
This will download a ZIP file with everything you need for the lessons and interactive practices. For detailed instructions on using the project files, check out the page Get to Know Godot.
Now we're ready to dive in! Head to the next lesson to set up the project and start coding your spaceship! We'll start slowly and take our time to make sure we break down everything we do. Don't worry if you feel like you're going too slow; we'll ramp up the pace throughout the course. The goal is to make sure that we build a solid foundation for you to build upon.
Use this space for questions related to what you're learning. For any other type of support (website, learning platform, payments, etc...) please get in touch using the contact form.
Project not opening correctlyantsmathWhen I attempt to open "M4. To Space and Beyond Workbook," it keeps crashing. Note: I have unzipped the file. These are some of the things I've tried:
2. I Tested both the download from chapter M2 and M4.
3. I restarted my computer.
4. Opening up the other projects, with the following results
5. - M4. To Space and Beyond Workbook (Does not work)
6. - M4. To Space and Beyond Solutions (Does not work)
7. - M5. Loot it All Workbook (Works)
8. - M5. Loot it All Solutions (Works)
9. - M2. Getting to Know Godot Interactive Tour (Works)
10. I attempted to open the project from my own godot 'install' not from the download
Anything else I can capture for you to troubleshoot?112Feb. 27, 2024
It has no instructionstrained-bisonWhen i open the project it says nothing, like it has no instructions10Mar. 14, 2025
TypoFlatwaterSuggest removing redundant text:
## How to follow the lessons
This course has both step-by-step tutorials and interactive practices. In every lesson, you should follow the tutorial and reproduce every step in the provided Godot project. We will tell you which project to open and how to get started.
This course has both:
1. Step-by-step instructions to follow along.
2. Interactive practices to apply what you learned.
In every lesson, you should follow the steps and reproduce them in the provided workbook project. We will tell you which project to open, how to create files, and where to save them (typically in a directory named lessons in the Godot project).10Oct. 16, 2024
Projekt Updatingsilver-foxHi, I have a Question. How I know if my Project is Up to Date? where can I see that?
Thanks10Sep. 08, 2024
Windows, Linux and Mac links all incorrect.IronEvaHey GDQuest,
None of the download links point to the correct download file.
Windows: M2 - Getting to Know Godot. (l2dfz-0.4.1-win.zip)
Linux: M6 - Looting (Workbook). (learn-2d-gamedev-godot-4-projects-0.4.1-linux.zip)
Mac OS: M2 - Getting to Know Godot. (learn-2d-gamedev-godot-4-projects-0.4.1-macos.zip)
Where can I get the download link so I can continue with the course?
Cheers.10May. 20, 2024
No lessons for macos tart-hippopotamusHello, sorry, maybe I couldn't find it, but I don't see projects in macos zip file. It has only M2 module, no other lessons and modules 40Apr. 23, 2024
Error While Extracting...JeightwAn unexpected error is keeping you from copying the file. If you continue to receive this error, you can use the error code to search for help with this problem.
Error 0x80010135: Path too long
character_diagonals.gd20Apr. 18, 2024
Unable to write to file xxxx file in use, locked or lacking permissionskokolalaOn loading project this error pops up. The file it refers is:"C:\Users\kokolala\Godot\Projects\learn-2d-gamedev-projects-0.2.2-windows\projects\04.to_space_and_beyond_workbook\.godot\shader_cache\SkyShaderGLES3\331e47de05070875e56be349ed1024f3f313d252946b69aa0a138e9ac9271a5f"
I am on windows 11 with godot 4.2.1 stable. What should I do to solve this error?60Mar. 06, 2024
Path2d - PathFollow2d QuestionTheClogHi there, I was about half way through the godot 3 version and thought I would wait and restart the Godot4 version, so far it looks great. While I wait for the rest of the modules, I have a question about Path2d. I am trying to get an object to follow a path and then stop at the end, click on button and then continue along another path. How is the best way to go about this please. I want the object to smoothly transition from the end of path to the beginning of the next, so it looks as if it is continuing its journey. Anyway thanks in advance.20Feb. 13, 2024
Touches physiques ! :)EricRogerGarciaIn the examples, you should put the "physical keys" in the settings for those who use the course in French for example! (and who do not know how to change that).
:)
Dans les exemples, il faudrait que vous mettiez les "touches physiques" dans les paramètres pour ceusses qui utilisent le cours en français par exemple ! (et qui ne savent pas comment changer ça).
amicalement
10Feb. 12, 2024
Lesson Q&A
Use this space for questions related to what you're learning. For any other type of support (website, learning platform, payments, etc...) please get in touch using the contact form.