Heya,
I've got a mask on on a image, which itself is in a display group. When I scale the group, the mask attached to the image doesn't scale with it, which took me by surprise. I'm not sure whether I'm missing something.
I'm using a basic setup like:
1 2 3 4 5 6 | local img=display.newImage("img.png") local mask=graphics.newMask("mask.png") img:setMask(mask) scalingGroup:insert(img) |
I might be mistaken but as far as I know that is not supported yet...
Also make sure to check out other limitations @ http://developer.anscamobile.com/reference/bitmap-mask
Btw, daily builds received some updates such as masking text objects... So make sure to check daily builds summary too if you are using them...
Awesome, thanks for pointing that out to me. I've generally stayed clear of daily builds due to the "Milage may vary" warning, but I'll have a play as it does say that the general implementation of masks has improved
Unfortunately no luck :(
I'd really love to have it though.