cpjamloki
Visitor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-04-2015
11:20 PM
remove a particular bitmap in roScreen without clear screen
Is it possible to remove a particular bitmap(image in fixed position) in roScreen? on key event without clearing whole screen like in Imagecanvas as remove a particular layer.
for this i am clearing whole screen and then redrawing all bitmap in there fixed position. it takes a long process.
for this i am clearing whole screen and then redrawing all bitmap in there fixed position. it takes a long process.
2 REPLIES 2
rarebrds
Channel Surfer
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-07-2015
10:23 PM
Re: remove a particular bitmap in roScreen without clear scr
I don't think this is possible, the screen needs to be redrawn each time on each frame update. If you don't clear the screen, it will continually stack items. What do you mean by a long process? Is there noticeable delay between the updates? How many objects are you sending to the screen? I've seen slowdown around ~50 objects with the streaming stick. I've not encountered any slowdown with the Roku 3 though.

NewManLiving
Visitor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-08-2015
02:46 AM
Re: remove a particular bitmap in roScreen without clear scr
You can use a compositor with sprites to emulate the functionality of an imagecanvas. However, rarebrds is correct in asking why is it taking so long. Are you recreating the bitmaps each time, do you have to download them each time ???
My Channels: 2D API Framework Presentation: https://owner.roku.com/add/2M9LCVC
Updated: 11-11-2015 - Completed Keyboard interface
The Joel Channel ( Final Beta )
Updated: 11-11-2015 - Completed Keyboard interface
The Joel Channel ( Final Beta )