Forum Discussion

buenafe's avatar
buenafe
Visitor
13 years ago

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?

2 Replies

  • For smooth scrolling, yes (roBitmap, roScreen, and roRegion). The "scroll" example in the SDK does exactly that.
  • 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