Roku Developer Program

Join our online forum to talk to Roku developers and fellow channel creators. Ask questions, share tips with the community, and find helpful resources.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
DadOfTwo
Visitor

Circular countdown animation in SceneGraph?

Hi all

I've done some searching of the forum and haven't found a solution to this.

Does SceneGraph support this type of circular countdown animation?

https://codepen.io/zebateira/pen/VvqJwm

The rotation is easy enough with the FloatFieldInterpolator node. The issue is you can't apply a mask (to hide the part of the circle image at the top of the rotation) that is supported on all devices. From the docs: "MaskGroup nodes do not work on all Roku players (specifically, MaskGroup nodes only work on players that support OpenGL)."
https://sdkdocs.roku.com/display/sdkdoc/MaskGroup

Or is there another way to achieve this animation?


Thanks
0 Kudos
1 REPLY 1
DadOfTwo
Visitor

Re: Circular countdown animation in SceneGraph?

The Hulu Roku app currently achieves this as part of their countdown during advertising.

They're doing it using 4 segments,
0 Kudos
Need Assistance?
Welcome to the Roku Community! Feel free to search our Community for answers or post your question to get help.

Become a Roku Streaming Expert!

Share your expertise, help fellow streamers, and unlock exclusive rewards as part of the Roku Community. Learn more.