Roku Developer Program

Developers and content creators—a complete solution for growing an audience directly.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Highlighted
Level 11

Maskgroup Masksize bug

I have verified there is a bug with Maskgroup.  To generate a MWE (minimum working example) download the example from here https://sdkdocs.roku.com/display/sdkdoc/MaskGroup
1) Edit MainScene.xml and remove the animation block entirely.
2) zip and view in FHD (1920 x 1080)
3) Change Roku display type and view in HD (1280 x 720)
notice the mask coverage is different.  This is a bug and renders Maskgroup unusable if the intent is to support 1080 and 720 dynamically.
aspiring
0 Kudos
1 Reply
Highlighted
Level 7

Re: Maskgroup Masksize bug

If you've set you ui_resolution to FHD in your manifest, you can calculate the actual maskSize by multiplying the image size with 2/3 (0.66666) (720/1080). 

0 Kudos