The Godot game engine is an incredible open-source project that is free for anyone to use. It is community-maintained and has seen explosive growth in the last two years.
With the arrival of Godot 4, the engine has become a legitimate tool for learning game development and making fun games in both 2D and 3D - and more recently XR.
Following this course, you’ll be welcome to join the growing community of creators and game developers at TTLMakerspace for continued support and encouragement in your game development journey.
Create a basic game scene using the four main types of game objects – static body, rigid body, character body, and area.
By doing this exercise, you’ll learn some of the most important core concepts about creating a game.
## Week2 – Deeper in Code and Bullets
* How does code work?
* Variables, Functions
* Operators, Conditionals
Concepts covered:
* Forces and Impulses
* Dynamic Instantiation
* Code based animation
* Groups
* Hitbox and Hurtbox (modules)
* Raycasts
Exercise:
Add melee attacks to the character by applying forces. Additionally add a ranged attack by firing a bullet. Learn to detect what objects are being attacked, and advance your knowledge of signals.
## Week3 – Graphics and Animation
* Three ways to animate graphics
* How to add images and style our graphics
* Animating the player character
* Creating levels, walls, platforms
Concepts covered:
* Sprites
* Animated Sprites
* Tilesets, Tilemap Layers, Terrains
* Cameras
* Scaling and Viewport
Exercise:
Create animation states for your player character, add graphics for the bullets. Learn to paint terrains for your world level.
## Week4 – Graphics and Animation 2
* Enhancing our world
* Enhancing player animation
* Using more graphics tools
* Creating traps
Concepts covered:
* Animatable objects
* Animation player
* Parallax background
* Scene controller
Exercise:
Enhance your level by learning to use terrains for painting graphics into your game world. Learn to use layers in terrains. And learn to trigger traps or effects based on player interaction.
# OPTIONAL: GAME ART JAM
Current students and alumni are invited for an evening of fun and to work together on enhancing the graphics and animation of their games!
## Week5 – Collectibles and Enemies
* Introducing enemies and obstacles
* Providing objectives and collectibles
* Simple AI
* Player death
Concepts covered:
* Unique names (scene singletons)
* Scene loading
* Enhanced Scene Manager
Exercise:
Introduce enemies to the game, along with objectives and items to collect. Allow the enemies to attack, and for the player character to be harmed. Learn to restart the game.
## Week6 – UI
* Enhance the player death
* Add a way to keep track of player and enemy health
* Keep track of collectibles
* Create a simple user interface
Concepts covered:
* Custom resources
* Game manager
* Class names
* Canvas layers
* Controls
Exercise:
Enhance the game architecture to include any number of enemies and objectives. Create a player health indicator and a score counter.
It is a good idea to create a branch each time you are working on a major milestone. For the sake of the course, you should create a branch for each week.
`git checkout -b week2`
As always, you will add and commit your changes into the branch.
`git add .`
`git commit -m "some message"`
And if you wish, you can push the new branch to the remote repository just like you did with the main branch.
`git push origin week2`
Now you can work away without fear of messing up your project. Because if you need to, you can always revert back to the main branch, undoing all your changes.
`git checkout -b main`
From the main branch, you can merge your updates from the week2 branch by simply using:
`git merge week2`
And after that, you are free to push the updates up to your repo.