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: 

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
Roku Employee
Roku Employee

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