I’ve been experiencing mask-related bugs for a while. And I’m sure anyone making puzzle games will end up using masks unless they want a huge file size. Since a lot of people will be making puzzle-type games, I’m gonna consider this a showstopper When I started Corona I decided on a very simple game to test out the waters. Masking had problems so I went pre-cut. My app is done, but I’m back on this issue, and even made a video:
http://www.youtube.com/watch?v=4w4ThSlU2ZE
Hoping for solutions, I found Jonathan Beebe’s PuzzleApp, but when I run it on the simulator and device its sluggish and unresponsive.
http://developer.anscamobile.com/code/puzzleapp
Sorry if any of my points are outdated, my issues are with masks:
- Masks should exactly follow its image/group, also related to screen orientation/rotation.
- Masks need to have a reference point also not just center (sorry I’m not sure if it does already).
- It would be better if masks automatically sized itself and not be forced into 4 pixel alignment, or in the very least print a warning about it instead of crashing.
- Masks would be nice if it can be used as a hit area without actually masking the image. I think right now its isHitTestable, but I believe it also masks the image along with the touch events. Probably shouldn’t be called a mask anymore for that.
- General crashing that seem to be related to masks.
Thanks! [import]uid: 99244 topic_id: 19119 reply_id: 319119[/import]