Pyglet, flip y axis

Hey does anyone know how to flip the y axis in Pyglet? I can't stand thinking about Y as going from the bottom of the screen to the top. 0 should be the top of the screen!

(log in to comment)

Comments

http://www.mail-archive.com/pyglet-users@googlegroups.com/msg02547.html

bugger. I'm having a really hard time thinking upside down.
As that thread says, there's no painless answer, although depending on how you're structuring your game, you can use inverted co-ordinates for your world and only deal with thinking upside down (the right way up, obviously, says the mathematician) in the part of the code which draws the graphics.

Or you could just mention in the README that the player needs to turn his or her monitor upside down.
xD

I'm going to give it a shot using up as +Y. It'll be slowing at first but hopefully by the end of day 2 I'll be up to speed.
It takes a bit of getting used to but i find it mugh easier if you have to do some maths kind of stuff where the origin is located at the bottom left traditionaly
Sines, cosines and tangents are a pain when the y axis is inverted, I never really liked the fourth quadrant anyway (especially not when the sign is wrong!).