Add multiple masks to an image

Hello I was wondering if anybody knew how to add multiple masks to a single image in corona? So far I've had to create several fullscreen images of the same exact image for each necessary mask. It's really killing my memory allotment. I know the iPhone can do this.

Any ideas?

If you want to pick up portions of the image that are rectangular, then use sprites that way you can get portions of the image.

However if it is a bitmap mask that cannot be defined with primitive shapes, then you have to use a MASK.

cheers,

?:)

Hey thanks, I guess the question is how do I add multiple masks to one large image. In the flashlight example this would be showing multiple flashlight beams. Once they are added how do i position them individually. As is I have to load multiple versons of the same image and 1 mask to each large image. Really hard on memory management.

views:1437 update:2011/9/28 9:01:40
corona forums © 2003-2011