Applying a Mask to Storyboard Scenes?

Rather than try to adjust all my display elements for aspects wider than 3:4 (iPad retina, etc), I want to apply a mask to the content area and just black border the areas out of my concern. Right now, transitions and certain rectangles are happy to extend beyond the useful content area. How would you integrate this kind of mask over an existing set of screens?

Hi @jack95,

You can mask display groups (and a Storyboard scene is a display group). The method is outlined here:

http://docs.coronalabs.com/guide/media/imageMask/index.html

Just remember that if your entire app (not just a few scenes) is “cropped” like this, it might not look good to the marketplace reviewers who want apps to occupy the entire screen. Cropping a few scenes, like “cutscenes”, should be fine, but exercise caution on doing this app-wide.

Best regards,

Brent

Hi @jack95,

You can mask display groups (and a Storyboard scene is a display group). The method is outlined here:

http://docs.coronalabs.com/guide/media/imageMask/index.html

Just remember that if your entire app (not just a few scenes) is “cropped” like this, it might not look good to the marketplace reviewers who want apps to occupy the entire screen. Cropping a few scenes, like “cutscenes”, should be fine, but exercise caution on doing this app-wide.

Best regards,

Brent