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: 
cdoty
Streaming Star

Re: Angry Birds - created with public SDK?

Here's a test I did with the 3.0 SDK:

http://www.rastersoft.net/PicnicDefense.zip

This has a background of 512x480 a side panel of 128x480, both blitted without alpha.
4 sprites and 65 DrawObject calls using 32x32 images with alpha.
The main area is clipped to 640x480.

It seems to run pretty smoothly, right at about 30 frames per second. I do see a drop from 60 to 30 fps when drawing the 64 image, but this could also be because I am looking through a 144 element array to figure out which locations to draw to. My next test is to change everything to sprites and see if it speeds up any.

Edit:
As expected, eliminating the array processing increased the frame rate:

http://www.rastersoft.net/PicnicDefense2.zip
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.