Perfect!  I applied the patch to my working copy (latest from SVN),
and all the changes look good.  I copied the updated sprite.py to my
pyglet install folder and my sprites are now subpixelable.

On Feb 8, 4:24 pm, Mikael Lind <[email protected]> wrote:
> On 8 February 2010 20:59, Mike Wyatt <[email protected]> wrote:
>
> > Has anything been done about sprite positions and verts being rounded
> > to the nearest int since this discussion?
>
> >http://groups.google.com/group/pyglet-users/browse_thread/thread/eaea...
>
> > I'm playing around with using pyglet sprites with box2d, and box2d
> > works best with objects between 0.1 and 10 units in size.  That scale
> > doesn't work well when translated 1:1 to pixels. I could do scaling
> > when calculating sprite positions, but ideally pyglet would just
> > render my sprites with floating point coordinates.
>
> It's in the issue tracker:
>
> http://code.google.com/p/pyglet/issues/detail?id=371
>
> I wrote a patch for pyglet 1.1.3. The patch is attached to the issue
> tracker. I haven't checked whether it applies cleanly to pyglet 1.1.4.
>
> --
> Mikael Lindhttp://elemel.se/

-- 
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.

Reply via email to