Page 1 of 1

Why x y coordinates in BRUSH Collision?

Posted: Fri Feb 07, 2025 9:59 am
by amyren
I have a feeling this might be a silly question and I'm missing somethings obvious, but I still ask..
Why do you need to enter x y in the collision argument for brushes?

I mean for sprite collision its just the id arguments. It may be the same png file loaded as a brush or as a sprite, with or without transparent areas, what is the difference in the collision detection.

Re: Why x y coordinates in BRUSH Collision?

Posted: Fri Feb 07, 2025 3:17 pm
by plouf
a brush can be displayed with the same id several times in screen while sprites only once so

Re: Why x y coordinates in BRUSH Collision?

Posted: Fri Feb 07, 2025 7:44 pm
by amyren
That makes sense, thanks