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

Re: [pygame] Native PyGame method for automatically scaling inputs to a surface resolution?



Mac Ryan wrote:

Those inaccuracies would essentially be
the fruit of scaling down a very large physical model to screen
resolution, so I truly wouldn't care if I would expected my
sprite to be 1px to the left or what it appears, as far as the
model performs accurately.

Possibly you wouldn't care. However, if any transformation
feature were to be added, the theory behind it ought to be
properly thought out, I believe.

> Could be another parameter for the
surface (coord_system=PIXEL_CENTRE | PIXEL_BOUNDARIES)!! :P

I don't think that would be strictly necessary, because you
would be able to get the same effect by adjusting the translation
by 0.5 pixels.

Also, providing too many options could just lead to confusion.
Surfaces already have a bewildering collection of options --
let's not add any more if we don't have to!

--
Greg