Bitmap Mask not scaling within displayGroup

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:

local img=display.newImage("img.png")  
local mask=graphics.newMask("mask.png")  
  
img:setMask(mask)  
  
scalingGroup:insert(img)  

Anyone got round this or know whether I’m missing something? [import]uid: 11757 topic_id: 10469 reply_id: 310469[/import]

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 [import]uid: 10478 topic_id: 10469 reply_id: 38088[/import]

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… [import]uid: 10478 topic_id: 10469 reply_id: 38089[/import]

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 [import]uid: 11757 topic_id: 10469 reply_id: 38091[/import]

Unfortunately no luck :frowning:

I’d really love to have it though. [import]uid: 11757 topic_id: 10469 reply_id: 38317[/import]