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: 
buenafe
Visitor

roBitmap for smooth scrolling question

I want to have a smooth scrolling/panning of an image file using remote (up, down, left, right). Is using component roBitmap the best approach?
----------------------------------------------------------------------------------
current: two roku XDS 2xs, dtvpal, boxeebox, kylo.tv,
radar: wdlxtv.com
0 Kudos
2 REPLIES 2
TheEndless
Channel Surfer

Re: roBitmap for smooth scrolling question

For smooth scrolling, yes (roBitmap, roScreen, and roRegion). The "scroll" example in the SDK does exactly that.
My Channels: http://roku.permanence.com - Twitter: @TheEndlessDev
Instant Watch Browser (NetflixIWB), Aquarium Screensaver (AQUARIUM), Clever Clocks Screensaver (CLEVERCLOCKS), iTunes Podcasts (ITPC), My Channels (MYCHANNELS)
0 Kudos
RokuJoel
Binge Watcher

Re: roBitmap for smooth scrolling question

Also, if you use an roSprite to display the image, you might get smoother graphics performance as the compositing is done under the hood by the compositor instead of in Brightscript.

- Joel
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.