Alpah Mask Weirdness - Two PNG's with Alpa masks not displaying correctly

I have multiple png files with alpha masks in each png’s.  When I lay one on top of the other the objects are not displaying properly.  I’m actually overlying an animated sprite built from png’s.

To make sure it was not something I was doing I placed two copies of the animated sprite on screen.  One on a black background and one over the png with the alpha channel.  The animation over the black background played correctly. The animation over the oject with the alpha channel displayed wrong (there are multiple layers of smoke not displaying properly)

I did the same test with a background png with NO alpha channel and the animation played correctly.

I tried setting the alpha channel on the png behind the animation but this made no difference.

It appears to me there is some kind of blending going on with these masks that is make the animation play incorrectly.

Can someone tell me how to fix this?

I will be happy to provide the image files if required.

Hi @aaroberts,

The first thing I always ask (with masks) is, did you follow the masking guide very thoroughly?

http://docs.coronalabs.com/guide/media/imageMask/index.html

Masks have several little requirements, and if you don’t follow them exactly, they will not behave properly.

Best regards,

Brent Sorrentino

Hi @aaroberts,

The first thing I always ask (with masks) is, did you follow the masking guide very thoroughly?

http://docs.coronalabs.com/guide/media/imageMask/index.html

Masks have several little requirements, and if you don’t follow them exactly, they will not behave properly.

Best regards,

Brent Sorrentino

Hi,

I forgot to follow up with this.  It was me!  I thought I had an alpha mask in my png file and evidently I didn’t.

Sorry!

Arthur

Hi,

I forgot to follow up with this.  It was me!  I thought I had an alpha mask in my png file and evidently I didn’t.

Sorry!

Arthur