Devlog 8, 7/30
A lot of core systems got done today!
I managed to finish 12 hours of tutorials for this project, and the game is starting to finally take shape.
I added in a system that gives enemies and players invulnerable frames, so they dont die quite as fast. Scene Transitions are fairly simple in Godot, so a quick "You win" screen transition is possible! A bit ugly, but ugly gets games made.
I also coded in HP and damage values, so that now the player can gain and lose HP. If the player hits 0 HP....
Dirty, ugly, simple.
Getting the animation to play *before* the Queue_free and making queue_free wait until the animation was done was a bit tricky at first, but I realized that in Godot, the animation player can have timelines of functions. Just put the queue_free in a custom function and shove it at the 2 second mark of the animation, and voila!
This is starting to shape up. I feel that with these accomplishments this weekend, the last 6 days are going to be frantic, but doable. This is my final list of what I want done, at the *bare minimum*.
- Enemies move and follow the player. Ideally, they only move to stay within a specific range. Shouldn't be too hard to do?
- Code a few more enemies. A melee enemy that rushes the player and explodes, and maybe an enemy that fires homing shots.
- Speaking of, I want to change the players grenade to be a button that fires a small volley of auto homing shots.
- Add health and ammo pickups from fallen enemies. The tutorial I am following has these pickups available from items... I should be able to repurpose the destroyed enemies for this as well.
- Code in a mini boss that fires enemies that home in to the player, and a final boss that is either just a tougher version of the mini boss, or a boss with multiple stages.
- Add in enemy spawns and make a system that configures the enemies to spawn in.
I've decided to re-adjust the scope of the game from 6 levels to 3. Meaning that the first level is just basics against waves, second is against waves and then a mini boss, and then third is against waves, then boss. Its a bit dissapointing, but will allow me to quickly get this out by Sunday. Its finally starting to take shape!
Devlog out!