In this tutorial I'll show you, how can you regulate the FPS to a fix number, for example 30 FPS.
Source:
http://pastebin.com/St5vrsxE
SDL is a cross-platform free-source library which allows you to draw to the screen (so make graphical programs), we'll make 2D games with it, but it can make 3D render as well, if you use it with OpenGL.
SDL tutorial:
http://www.lazyfoo.net/SDL_tutorials/...
Download && other things:
http://www.libsdl.org/
In questa pagina del sito puoi guardare il video online SDL tutorial 2 - Regulating FPS della durata di ore minuti seconda in buona qualità , che l'utente ha caricato thecplusplusguy 27 giugno 2011, condividi il link con amici e conoscenti, su youtube questo video è già stato visto 21,648 volte e gli è piaciuto 162 spettatori. Buona visione!