Skip to main content

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

Fun little game. Gun stops shooting after a while and enemies start dieing on there own so I assume a bug there but it was cool.

Hey, thank you for the comment! I knew about the bugs but I had no time to come up with solutions so it is what it is haha. If you're wondering what's happening:

1. The gun won't allow you to shoot more than two bullets at a time. Unfortunately, if an enemy dies with a bullet attached to it, the bullet despawns and the gun's tracking breaks.

2. Enemies dying on their own is a bit complicated. Basically, I wanted to calculate damage based on how fast the enemy collides with another object (enemy or terrain), but I couldn't figure out a solution because terrain doesn't have an Area2D. So I just made the enemies take damage when they rapidly decelerate, which has the side effect of killing them when they run into each other or the player.

(+1)

ah, well they didn't show up til you got on a bit so its fine. I dont know Godot well but I imagine you can  have the enemies save their acceleration to a variable and use that at the time of collision with the static2d or whatever its called.