after making a game like "slime volleyball" and pong. I want to make a game under linux so I know how to use images in linux. Before I start I would like to know how to do best frame rate. I want my game to be the same speed on all computers. I found one method of doing this is too have a delay of a certain amount of milliseconds. That is not too good because on every computer it will be the same framerate. If I do not give delay's then on fast computers the game will go fast and slow on slow computers.
I played some games and they are programmed in a way that if the computer has slow framerate then it will move objects more pixels perframe and if the computer has a fast framerate then the objects will move at smaller pixels. What ends up at the end is that the games look like they both are playing at the same speed. How can I do something like this.
Thanx in advance!