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

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



Could you create a transform rect like function that returns the transformed state?

>>> t(20, 20, 20, 20)
(1,1,1,1)

>>> t(20, 20)
(1,1)


pygame.draw.line(s, t(20,20))

I don't know about adding that into every pygame function... that sounds like too much work.