itch.io is community of indie game creators and players

Devlogs

Projectile Offset Hit Detection - Sprint 5

Proving Grounds
A downloadable game

Author: Tyler Sessler

No Offset
Now that we have the projectile spawning in front of the enemy, it looks much better. However, my projectile checks for collisions on overlap begin. If I stand close to the enemy, the projectile spawns inside of me, therefore never calling the initial overlap. To fix this, I created a small function that is spawned right when the projectile spawns. This function checks all overlapping actors, then filters out the player to apply damage.
Download Proving Grounds
Leave a comment