Corona crashes and quits unexpectedly when I am trying to work with masks. All files referenced exist and valid.
whenever I apply a mask/touch (or sometimes enter the scene) Corona crashes.
running latest trial version 2011.704a on a mac OSX 10.7.3
code that exhibits the issue:
raponzelItem = display.newImage(easyGrp, "Graphics/Diff\_Medival/raponzel.png", 223, 232, true)
raponzelItem:setReferencePoint( display.CenterReferencePoint )
horseItem = display.newImage(easyGrp,"Graphics/Diff\_Medival/horse.png", 5,5,true)--400, 1900, true)
mask = graphics.newMask( "Graphics/Diff\_Medival/horse\_mask.png" )
horseItem:setMask(mask )
horseItem.maskX = horseItem.x
horseItem.maskY = horseItem.y
horseItem:setReferencePoint( display.CenterReferencePoint)
backgroundGrp:setReferencePoint( display.TopLeftReferencePoint)--CenterReferencePoint )
backgroundGrp.x = 0--screenW/2
backgroundGrp.y = 0--screenH/2
easyGrp:setReferencePoint( display.TopLeftReferencePoint)--CenterReferencePoint )
easyGrp.x = 0
easyGrp.y = 0
group:insert(backgroundGrp)
group:insert(easyGrp)
I need to create touch masks to my objects but corona crashes all the time…
please help!
i
[import]uid: 124146 topic_id: 24572 reply_id: 324572[/import]