Your first 2D game
You will learn how the Godot editor works, how to structure a project, and build a 2D game.
Note
This project is an introduction to the Godot engine. It assumes that you have some programming experience already. If you’re new to programming entirely, you should start here: Scripting languages.
The game is called “Dodge the Creeps!”. Your character must move and avoid the enemies for as long as possible.
You will learn to:
Structure a simple game project.
Spawn random enemies.
Count the score.
And more.
You’ll find another series where you’ll create a similar game but in 3D. We recommend you to start with this one, though.
3D games are much more complex than 2D ones. It would be best if you stuck to 2D until you understood the game development process and how to use Godot well.
You can find a completed version of this project at this location:
This step-by-step tutorial is intended for beginners who followed the complete .
If you’re an experienced programmer, you can find the complete demo’s source code here: Godot demo projects.
We prepared some game assets you’ll need to download so we can jump straight to the code.
You can download them by clicking the link below.