From: Samuel H. <cri...@ge...> - 2001-08-28 19:15:57
|
On Tuesday 28 August 2001 12:08pm, Jacob Greig wrote: > --- William Kendrick <nb...@so...> > > > wrote: > >FPS was slowed down. Even on my girlfriend's 400Mhz PIII, with the > >background image being re-blitted every frame, it goes _slowly_. > > i saw your using sdl_flip, will this make differences on other OSes (lke > beOS?) > > (I rememebr tuxtype had some problems using SDL_flip before, and thats why > I ask) Actually, our problem was that we assumed SDL_Flip would give us a consistant frame-rate. This stemmed from the fact that when I originally started Tux Typing I didn't completely understand what SDL_Flip did... and then (once I did understand it) I forgot to go back and fix it. Tuxmath checks to make sure there was an appropriate wait (see lines 427-430 in game.c) -- Sam "Criswell" Hart <cri...@ge...> AIM, Yahoo!: <criswell4069> Homepage: < http://www.geekcomix.com/snh/ > PGP Info: < http://www.geekcomix.com/snh/contact/ > Tux4Kids: < http://www.geekcomix.com/tux4kids/ > |