Hi, how do I check if an X / Y coordinate is colliding with another object?.
My sprite has several image points that I need to know if they collide with another object
Assuming that your character is a Container and has several Sprites that make it up you can refer for example to the Sprite -> LeftArm and check if this overlaping is Enemy then you do damage
My sprite is just a graph. I want to check if certain (X / Y) coordinates collide with another graph, I want to know if these coordinates are producing a collision with object X.
Develop games in your browser. Powerful, performant & highly capable.
Ok I have solved it by placing an object of 1 wide and 1 pixel high in the coordinates that I need to check.