Hi,

sorry if it's not in the right subforum, but it didn't feel quite right to put this in the graphics section either.. newbie section maybe? Anyway... on to the problem

I've been pondering recently, but could find no decent solution - how does one release unused process time? I mean - what i want is to limit my game to.. say 30fps, but use less than 100% cpu when the pc is capable of 60fps (i want it using 50% cpu or whatever in that situation).. Tried vsync (i'm using nehe OpenGL basecode btw), to no difference, slowing down with sleep(0) shaved a couple percent only and slowing down with sleep(your_favourite_number_here) is just not pretty...
So, i'd like to ask - what am i to do? :shock: Feel free to ask for clarifications or bash for anything including my confusing writing style, but i'd really want to know a better solution than the currently implemented sleep(n) hack..

Thanks in advance!