[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [pygame] Resolution for a 2d game



> For example, someone who play in 800*600 will move one side of the
> screen to another faster than someone who play in 1280*800... I
> really dont know how to handle several resolution especially for my
> online game.

Track all positions in floating point and multiply them by a
different scaling factor depending on resolution? OpenGL somewhat
automates this, and you get nice filtered scaling on your sprites,
too.

Alan