Hello guys!
Let’s imagine that we have some game object that is colliding with some other objects. We have sprite for the object 20x20 pixels. But collider, which determines collision, is about 10x10 pixels (squire in squire, 2d graphics).
But I need to implement gameplay, in which this object will be colliding (10 x 10) and will be able to listen mouse events (inMouseUp/Down …) but for full sprite (20x20) at the same time.
Is there any way to implement it?