Godot Survivor - Copy
Type: Godot Tutorial
My Role: Student
Date: March 2025
Project Description: My project following the Create Your First 2D Game From Zero with Godot 4 tutorial from GDQuest. The project is using the game Vampire Survivor as an example to work from, hence the name of the project.
Following along with this tutorial is my first attempt at using Godot Engine. I am also going through their Learn to Code From Zero with Godot to learn the basics of Godot's programming language GDScript which helps during this project.
Dev Diary - Copying the Tutorial
Here are some sprites of a Player character and some trees (obstacles) both have colliders attached.
The player is able to move and slide around the screen with some simple code.
Added in Mob (enemies) and coded them to follow the Player.
The Mobs collide with the trees and the player.
A Camera was added to follow the player which was a built in node already in Godot.
However, the Canvas background remains in place so the Player walks off the screen.
Fixed the Canvas so that is stays with the camera as it moves rather than staying in place.
Added a Gun sprite to the Player which rotates around it and follows the Mob enemies.
The Gun now has a Projectile which fires automatically, disappears after a set time and new instances of it spawn.
The Projectiles also disappear after colliding with either the trees or the Mobs.
Added a health bar to the Player and attached it to the its Health so the value of the bar goes down as the player takes damage.
The Mob enemies now spawn in from offscreen, die with a smoke animation and damage the Player.
When the Player's Health reaches zero, the game state is paused and a new Canvas with a Label displays the text "Game Over" with a semi-transparent grey background.
I followed along with the tutorial which has been a fun experience learning Godot for the first time. I had to stop, pause, rewind and go back over points brought up to get concepts and ideas fully into my brain but I got a good general understanding of what was happening as it was taught.
Now that I have copied, my intention is to customize and play around with things to see what I can remember and what I can discover without the need for the tutorial.
Pre-made project files provided from GDQuest.
I have worked through 21 of 30 lessons in the Learn Code From Zero course which has helped me understand some of the structure of the code being used in this tutorial.