I want to keep my game to a maximum speed that doesnt depend on the speed of the computer.
Could someone point me to a tutorial that will give me some information about this or show me a good way of limiting the speed?
Thanks.
I want to keep my game to a maximum speed that doesnt depend on the speed of the computer.
Could someone point me to a tutorial that will give me some information about this or show me a good way of limiting the speed?
Thanks.
Which Operating system / Compiler / Graphics Library are you using?
And how is this different from your other question?
http://cboard.cprogramming.com/showthread.php?t=57292
If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
If at first you don't succeed, try writing your phone number on the exam paper.
you need to use time based animations, movements etc.
[edit] seems as though it as already been explained in the other thread [/edit]