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 three 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.
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.
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.
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.
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.