So far it seems that I can’s add multiple masks to the same image.
-- add background
local background = display.newImageRect( "images/bkg\_1\_sqr.png", 768, 1024 )
background.x, background.y = halfW, halfH
-- card hole
local cardHoleMask = graphics.newMask("images/card\_mask\_sqr.png")
background:setMask(cardHoleMask)
-- clock hole
local clockHoleMask = graphics.newMask("images/clock\_mask.png")
background:setMask(clockHoleMask)
group:insert(background)
The 2nd mask shows up but not the first.
Am I doing it wrong? Or is there a way around this? [import]uid: 136105 topic_id: 33826 reply_id: 333826[/import]