Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

Rain of Arrows Fix

When making the boss enemy we noticed that the rain of arrows never stopped hitting the target even after they left the area or when the timer for the ability had run out. I spent some time this week looking for the best way to get the array cleared so we could fix the issue. It needed two solutions in the code to get the ability to work as intended. the first was a timer set to the life time of the ability that would clear the whole array of targets when the area of effect stopped being active.  The second was a check when it went to damage targets to make sure they were still overlapping the mesh and is it wasn't it get removed from the array.

Support this post

Did you like this post? Tell us

Leave a comment

Log in with your itch.io account to leave a comment.