Forum Discussion

jlfreund's avatar
jlfreund
Visitor
13 years ago

Animating with roImageCanvas

Hi,

I have an roImageCanvas with 2 layers, each with a fullscreen image + a few pieces of text on top. I want the second layer to animate sliding over the first. The only way I can seem to get it to work is to recreate the 2nd layer's content from scratch each frame; just doing AddReplace on the layout properties and calling SetLayer + Show isn't sufficient. And even then, it seems to require a Sleep(1000) between each Show -- shorter values start skipping frames. So it doesn't seem this will ever optimize down to something like 30FPS.

Is there another way to accomplish this -- without sacrificing the ability to paint both text + at least 2 fullscreen images?

Thanks,
Jason

1 Reply

  • renojim's avatar
    renojim
    Community Streaming Expert
    You should check out roScreen. You'll never get that kind of performance from an image canvas.

    -JT