Low framerate on htc wildfire

Forum for the book "Beginning Android Games", see http://www.apress.com/9781430230427

Low framerate on htc wildfire

Postby p_tje » Tue Nov 22, 2011 9:36 am

Hi all,
I have developed a game using the framework of the "beginning android games" book (which works really good for me btw!), but I have stumbled on a problem:
I have developed my game for the HTC legend, and when I tested it on HTC wildfire the frame rate was extremely low!
I first thought that this was a result of my lousy android gaming skills, since it is my first game, but when I ran some tests, I found out that the delay wasn't caused by the "updateRunning" function - in the GameScreen class - but from the "present" function. There isn't anything exiting going on in that function (just rotating some pixmaps and drawing them), so the problem must come from something else, but what?
The only thing I can think of is that is set my frameBuffer to 480*800 instead of 320*480 (because I initially developed it for the legend) and that scaling the frameBuffer might be too much for the wildfire... Does anyone have an answer to that?

Or does anyone have another idea?

Thanks!!!
-peter
p_tje
 
Posts: 3
Joined: Tue Nov 22, 2011 8:56 am

Re: Low framerate on htc wildfire

Postby radioking » Thu Nov 24, 2011 3:17 pm

AFAIK the HTC Wildfire does not have a GPU. Maybe that is the reason.
Please "give sth. back" to community and contribute your knowledge to our libgdx-users project community wiki:
http://code.google.com/p/libgdx-users/
Please see Mario's note on User Wiki 2.0: http://www.badlogicgames.com/wordpress/?p=2411
radioking
 
Posts: 284
Joined: Wed Aug 03, 2011 10:28 am


Return to Beginning Android Games

Who is online

Users browsing this forum: pdx2240 and 0 guests