Why x y coordinates in BRUSH Collision?

Find quick help here to get you started with Hollywood
Post Reply
amyren
Posts: 380
Joined: Thu May 02, 2019 11:53 am

Why x y coordinates in BRUSH Collision?

Post 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.
plouf
Posts: 613
Joined: Sun Feb 04, 2018 11:51 pm
Location: Athens,Greece

Re: Why x y coordinates in BRUSH Collision?

Post by plouf »

a brush can be displayed with the same id several times in screen while sprites only once so
Christos
amyren
Posts: 380
Joined: Thu May 02, 2019 11:53 am

Re: Why x y coordinates in BRUSH Collision?

Post by amyren »

That makes sense, thanks
Post Reply