What have you tried? What problems are you having now that you didn't have before?
I remember i did SDL application that capped frames per second, Counted loops, Make approximation on how much is a FPS and all that good stuff
and i printed everything to screen,
i got bout 20folders each with about 20+ projects its hard to find one i need. If i knew name at least.
My current problem is that,
Uint32 a = SDL_GetTicks();
//10 milisec passed;
Uint32 b = SDL_GetTicks() - a;
b is not 10 nor its 100 nor its 1 i get illogical number
Its 100% Uint32 = Uint32 - Uint32 and i dont get it;
Edit:: i know SDL_GetTicks() is inacurate to 10 milisec but i get such random numbers like 1031 one loop next one i get 323
I tried searching on google a good tutorial but difficult to find a proper one.
So could you suggest one
Edited by BaneTrapper, 25 August 2012 - 11:23 AM.