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? [import]uid: 8545 topic_id: 12695 reply_id: 312695[/import]

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,

?:slight_smile: [import]uid: 3826 topic_id: 12695 reply_id: 46558[/import]

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. [import]uid: 8545 topic_id: 12695 reply_id: 47235[/import]

I know this is an old post, but it’s still unresolved. I’d like to do this as well, if you found out how, can you please tell me? [import]uid: 53195 topic_id: 12695 reply_id: 127723[/import]

I know this is an old post, but it’s still unresolved. I’d like to do this as well, if you found out how, can you please tell me? [import]uid: 53195 topic_id: 12695 reply_id: 127723[/import]