I attempted to make a timer (code attached), but it doesn’t seem to do
much. You press t to turn the timer on, but I don’t see any difference
on my computer. So …
Can someone explain to my the basics of making a timer w/ SDL_GetTicks
such that the framerate is constant on every computer and my program
won’t take much massive amounts of CPU from blitting as fast as
possible? Can somebody help me here?
Thanks!–
- Chris
Epiar Administrator/Programmer
http://epiar.sourceforge.net/
-------------- next part --------------
A non-text attachment was scrubbed…
Name: timer-timer.tar.gz
Type: application/x-compress
Size: 10240 bytes
Desc: not available
URL: http://lists.libsdl.org/pipermail/sdl-libsdl.org/attachments/20020302/5f2a54d5/attachment.bin