Hi guys,
I’m trying to find a way to use an image sheet as a mask, but can’t find a solution. Is this even possible?
Thanks,
Ferdi [import]uid: 86582 topic_id: 28243 reply_id: 328243[/import]
Hi guys,
I’m trying to find a way to use an image sheet as a mask, but can’t find a solution. Is this even possible?
Thanks,
Ferdi [import]uid: 86582 topic_id: 28243 reply_id: 328243[/import]
Hi, I’m wondering that as well…
So far this:
local myImageMask = graphics.newMask( myMaskSheet , sheetInfo:getFrameIndex("mysingleobject"))
is not throwing any errors but doesn’t seem to work either… The Imagesheet is basically a black/white mask file where each sprite follows the required padding and sizes (divisible by 4 etc.)
Would be great to hear of anyone else having tried this or got more insights on masks… Thanks! [import]uid: 15953 topic_id: 28243 reply_id: 128606[/import]
Hi, I’m wondering that as well…
So far this:
local myImageMask = graphics.newMask( myMaskSheet , sheetInfo:getFrameIndex("mysingleobject"))
is not throwing any errors but doesn’t seem to work either… The Imagesheet is basically a black/white mask file where each sprite follows the required padding and sizes (divisible by 4 etc.)
Would be great to hear of anyone else having tried this or got more insights on masks… Thanks! [import]uid: 15953 topic_id: 28243 reply_id: 128606[/import]