itch.io is community of indie game creators and players

Devlogs

Week 5/Dev 4

Game Design Devlogs
A downloadable game

As for the "proper" game, there were two major issues I ran into: the first is that whilst triggering the health increase and decrease worked well, and whilst enemies and healthboxes alike vanished when they came in contact with the player, for some strange reason, the player's health would carry over between tests and not reset. The second issue that I ran into was that the health display would not update live, and only update after resetting the test.  However, as you can see from the gif below, the player's health is increased and decreased in the debug menu upon executing the correct method.

This became especially frustrating when I needed to check whether or not the player would become inactive (disabled/"deleted") upon hitting 0 health, as unless I stopped the test at 0 health, then my player would be stuck at an absurdly negative health. 

Thankfully, this turned out not to be the case.

None of the other students seemed to run into this issue, so I wasn't entirely sure if this was due to something I had done by accident (which is the most likely answer) or if something weird just happened with my project. I tried searching up a solution online but the suggestions that were posted on similar forums didn't seem to help. 

Regardless, I was able to get the majority of the script to work, and even if the test didn't seem to update all too well, I'm still glad that the main feature - the incrementing and decrementing of health - worked perfectly.

Download Game Design Devlogs
Leave a comment