On Fri, Oct 10, 2008 at 3:25 AM, [EMAIL PROTECTED]
<[EMAIL PROTECTED]> wrote:
>
> Very amusing.
>
Why? That's the way you do it.
> There's no simple cure? That's slightly mind-boggling. Every tool has
> its quirks, but I've not seen before the kind of balls it takes to
> blandly ignore a near-universal standard like this.
>
Pyglet didn't invent OpenGL. It's just provides an easy path to use
it directly if you need to.
> I suppose I can carry on what I'm doing, which is flipping every
> sprite's y co-ordinate before drawing it and putting it back after,
> but that's like a joke.
>
Abstract away the code Nathan gave you in a function called
flip_screen(). Or just use the more natural coordinate system
provided. Your explanation above ("they're drawn automatically by
the 'black box'") doesn't make any sense. I use batches as well, and
they don't pose any technical obstacle with regard to window origin.
Many other developers (obviously) have used sprites and batches
without a need to flip the screen. Maybe you could elaborate more on
the technical nature of your problem?
Drew
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"pyglet-users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/pyglet-users?hl=en
-~----------~----~----~----~------~----~------~--~---