Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines
(1 edit)

Just a quick update, I have been working sporadically on the game for the past few days. I started with the implementation of the 1-ups. It wasn’t really that complicated so it didn’t took me a bit too long

Most of what I did was revamping the code of the health system for the enemy. Before, the value of the life of the enemy and the method that reduces their life were all in the same script which led to the player projectile script looking like this:

every time the projectile hits a gameobject it has to go through multiple ifs to check if the gameobject has a certain script

so I created a separate script for the life management of the enemies and updated all the different enemies and I went through all 4 levels again to make sure they all worked and thankfully the projectile code has now been simplified to this:

After updating the enemy health system. I began the implementation of the score system. For now, there’s a working score system but it doesn’t really persist throughout the scenes even though I’m using singleton for the score manager. I’ll still have to review the code again and maybe watch a couple more videos if I’m actually doing it right. Here’s what the score system looks so far:

So yeah that’s all for my update, once I get the points system working. I’ll probably work on a pause UI and the transitions between screens to finalize the flow of the game.