Hey, thanks for having this discussion!  I had been trying to figure this
exact thing out for some time.  In my case, I just want my entire program
to stay pixelated.  I added a post on the discussion you linked to, but for
convenience I'll repeat it here:

----------
Thank you for this post!!  For those like me, who are simply making a
retro-style game where they want EVERYTHING scaled to be pixelated, the
simple quick answer is start your code with:

    from pyglet.gl import *
    glEnable(GL_TEXTURE_2D)
    glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MAG_FILTER, GL_NEAREST)

And then all your usage of sprites, etc. from there on out stay nice and
pixellated.  No blurring!
--------

Brian, I would guess that making this change globally like I am would
affect your animated sprites and bitmap fonts as well.  I don't know for
sure though, since I don't use either.

~ Nathan


On Mon, Jun 3, 2013 at 5:46 PM, Brian Soulliard <[email protected]>wrote:

> Thanks. I'll try that out. How will that interact with animated sprites?
> Is there a similar technique for scaling bitmap fonts?
>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"pyglet-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/pyglet-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to