Skip to main content

On Sale: GamesAssetsToolsTabletopComics
Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

Bug AI Update

Buuuuuuugs

After work I have been able to dive into the bug AI some more and feel like the improvements are really adding to the combat fun of the game! Unfortunately, I could not figure out how to get the NavMesh Agent to work with 2D games in Unity, and there really didn't seem to be a "wander" method that I could invoke. Therefore, to adjust for this I now have the bugs follow the player if there are no seeds in the scene. Otherwise, they will look through the scene for a seed and go to pick the seed. 

After playing around with this for a bit I started to have some more fun avoiding and shooting the bugs as they came towards me. It felt more "bullet hell" like and I was really enjoying it. I also turned up the spawn time and had a crazy moment with over 200 bugs on screen and it was pretty wild. I definitely need to figure out a good balance for how many bugs should be in scene and how often the should spawn.

Player Health

Since I couldn't figure out the wander mechanic for the bugs, and leaned right into bullet-hell, I felt it would only be appropriate and balancing to create a health system for the player so they have to keep moving. Currently the player has health (I will most likely add the health bar at the top of the screen) and each time a bug hits the ship the player will lose an integer of health. I also want to add an effect where the bug with bounce back maybe if it hits the ship to give some recovery time.

Let's Finish The Fight

I am looking forward to the next few days since I have off work and I can focus more on this game development before the end of the month. I feel like I have made "meh" progress the last few updates, but I am really looking forward to putting a lot of the final mechanics together and complete v0.1.0 of the game for the jam. Like I said before, I would like to iterate after the end of the month for a mobile deployment, but we will get there when the time comes. 

I look forward to sharing more in the next week and hope to have the game on my itch page before the end of the month!