How do I check if an object overlaps an image point from another object ?
Something like this:
Check if sprite1 overlaps sprite2.imagepoint(1)
Check if sprite1 overlaps sprite2 at imagepoint(1)
This might work..........+system Pick overlapping point
Pick all instances of a given object type that are overlapping a point in the layout. The given X and Y position in the layout will be tested against the instance's collision polygons.
replace the x and y with the x and y of the image point of the sprite you want to check , i found it in the manual under system conditions .
So there is no "easy" way to do that ?
Thanks, I will try your advice
You can also create a helper sprite. Just a sprite with 1px² and pin it to the sprite object you will check if overlapping.
Then you only have to check if the helper sprite is overlapping with the other sprite.
You know what I mean? If so your problem solved?
Develop games in your browser. Powerful, performant & highly capable.
Thanks, that is the method I am currently using (named them pointer1, pointer2 ... etc). I thought that I could delete the pointers (objects) since I already have the imagepoint's coordinates.