So im making dungeon-crawler like game and i ran into problem.
when mouse overlaps an enemy and the player clicks M1 the wound sprite spawns at the current mouse x,y to represent damage dealt. The problem is that the sprite of wound can go out of enemy sprite so part of it kinda weirdly hangs in air. Any idea how can i possinbly fix it so the wound still appears where the player clicked but doesnt go out of bounds?