On Mon, Feb 8, 2010 at 3: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/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.
Heh, only one year ago 8^). I vote for some version of this subpixel "feature" go in, seems like a fundamental thing many games would need. Is this too big a "feature" to consider for a 1.1.5? Or should it be 1.2 only? I fear 1.2 may be a long time away. I'd be willing to do the legwork to integrate this change in and add tests if no one objects. -Casey -- 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.
