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: 

Simple way to animate a loading screen?

Hey Guys,

Is there a simple way to have a ro GUI component display like 3 bitmaps automatically without having to repeatedly call the component (like roCompositor draw() requires). Or are there any timer events supported in BS that I could use for the draw?

I just want to display a sequence of pics (e.g., loading screen) async-wise while I execute other code.

Any example code would be greatly appreciated.
TIA.
0 Kudos
1 REPLY 1
RokuRobB
Streaming Star

Re: Simple way to animate a loading screen?

You can now do asynchronous image loading with the roTextureManager component. This can be used in an image canvas or roScreen for this purpose:

http://sdkdocs.roku.com/display/sdkdoc/roTextureManager
0 Kudos