[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [pygame] Changing screen coord system



> First of all, can anyone tell me if there is a way to search the
> pygame-users archives? I don't like asking newbie questions. But since I
am
> here ...

http://aspn.activestate.com/ASPN/Mail/Browse/Threaded/pygame-users
you can find that link by going pygame.org --> mailing list --> mailing list
archive

> Is there a way to change the screen coordinate system? I prefer 0,0 at the
> bottom, left. Of course I can hack this with a screen_height - y_coord,
but
> it is not perfect.

def getcoords(pos):
   global screensize
   return (pos[0],screensize[1]-pos[1])

what's not perfect about it?


____________________________________
pygame mailing list
pygame-users@seul.org
http://pygame.seul.org