DEV Community

Aby Noctel
Aby Noctel

Posted on

Weekly update #3

Hello people! Hope you all have been doing well.
This week's work contain more or less edits and touch-ups of the previous code so it would run more to my liking.
Changed the spawn timers and the random location in which enemies spawn; specifically made it so they would spawn on the top half of the window rather than the whole window.
Another edit is for not deleting enemies when the LMB is held down, as it would be a cheat code to score more!
The last thing was HP and Score alongside GamgeOver function which the first 2 print out in the console and the GameOver would trigger when HP hits 0. I later found out while testing that it would literally close the game, gave me a good laugh to be honest.
Other than those next up will probably be fonts and text in the game window itself.
I'm very excited to see what's to come in the next days!
Stay safe, take care of yourself, and I'll see you all next week! <3

Top comments (0)