Skip to main content

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

For a first jam this is nice! I would've loved to be able to aim the shots with the mouse, but tis is a good start with great potential
PD: Do remember to unload/delete the bullets after a certain distance/time has passed, I kinda spammed the click a bit too much and the game started lagging lul. Completely normal to not notice at first tho, don't worry, keep it up! :>

Thank you! Aiming with the mouse is a good idea. I will implement it!

Actually, I am despawning the bullets (they have a 5 second timer to despawn). The problem is actually the enemy spawning. I have a counter to prevent too many enemies from spawning at the same time, but it gets desynchronized with the actual amount of enemies on the map. Couple that with the fact the enemies refresh the pathfinding every 0.1 second and the result is what you saw. Thankfully, I already found solutions to this. The synchronization problem just required me to move the code to decrease the counter (it was right before "queue_free()" and I moved it to inside "_notification" on "NOTIFICATION_PREDELETE") and I changed the pathfinding refreshing to get less common the farther the enemy is from the player (up to once every 2 seconds).

Thanks for the feedback!