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/eaea06f81cd4ad27/668967cddd6649fe?lnk=gst&q=sprite+position+update+integer&pli=1
>
> 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 Lind
http://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