> From what I have used of flash members, which I will admit
> isn't a whole lot
> when it comes to collison, but the collision I did try with a
> flash member
> seemed not to work so smothly. For some reason, not matter
> what I set the
> flash member background property to (such matte,
> backgroundtransparent, etc..)
> it always treated the member as a whole, detecting the whole
> background
> square.
>
> Maybe someone else can shed som light on this more than I can.


I haven't yet managed to get an intersect on anything but the whole sprite
rect, for normal bitmap cast members. Can you tell me what settings you use?
Do both need to be matte?

However if the cast members are roundish, you could try a distance
calculation, based on square root of the power of H and V distances:

Distance=sqrt(power((locH1-locH2, 2) + power((locV1-locV2), 2))

If they're not, one could probably try the formula in combination with
checking for the locH and V seperately.
Too bad I don't have a project to try in out on...


Karina Steffens,
Multimedia Designer/Programmer

Martello Media Ltd.
4 Islington Avenue
Sandycove
Co. Dublin

Tel: +353 1 2844668
Fax: +353 1 2803195
http://www.martellomm.ie







[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/LUJ/lingo-l.cgi  To post messages to the list,
email [EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED])
Lingo-L is for learning and helping with programming Lingo.  Thanks!]

Reply via email to