It looks like the 'on collision' and 'on overlap' events will trigger when two entities are simply moving along each other.
It seems the grid border is where the collision / overlap occurs.
Is this intended behavior? If so what is the recommended way to detect only actual collisions? How would you create pixel perfect collisions?
Any help is appreciated here. Can't think of a solution to this that wouldn't be overcomplicating things.
Develop games in your browser. Powerful, performant & highly capable.
What do you mean by 'actual collisions'? If the collision box touches the other collision box then it's a collision. Said collision too many times not sure if collision is a word anymore.
Two sprites are touching, this is enough to register overlapping/collision.
The easiest solution is to resize the collision polygon - reduce it by 1 px.