Purpose:

For context, all of my game dev so far has been in the Construct game engine. This project is my version of the Godot, first 2d game as per their website tutorial. All assets used are as per the tutorial. The purpose of posting, was to perhaps assist others who are building out their first 2d Godot game. For the most part, the code is, as intended, presuming that I got it  done correctly, aside from the one modification below. My code can be found on my github here built on version v4.1.2.stable.official.

Implementation:

I found the tutorial fairly good, especially explaining why certain things were being done. One of the main issues, is the first time you need to do something, it is very well explained, next time they just expect you to know it, and I had to backtrack a couple of times where I misled something. There were two main catches for me.

  1. For Godot Signals (events) you can not just code in the function. You have to select the signal and connect it to the code. I have not figured out where that connection is made, but effectively a signal and the function need to have the green connect next to it, for it so work.
  2. I made a few errors in the code, mostly getting confused knowing in which scene I was working on, so busy coding stuff in the wrong scene. The down side was that having no debugging skills, this was like hitting a brick wall.

All in all a good experience. Super exicited about some of the features I have discovered.

Modification:

There is only one small modifcation, where I adjusted the mob spawning time to be dynamic, speeding up as the game progressed. Their design, was 0.5 seconds, created a very chaotic short game (perhaps I just play badly). I modified it so that the starting spawn time is 2 seconds, and it reduces by 0.01 seconds every second, until it hits a 0.5 second spawn time (score of 150, although I never made it that far. As I said, perhaps I just play badly). Was very happy with the change giving a far more gradual slide into the game.

How to play:

Simple, dodge the creeps, just don't die. If you read this far. My best score is 135

Leave a comment

Log in with itch.io to leave a comment.