They seem to cover a number of approaches, the one suggested by SwiftCoder for example I think would be like this:
test_img = pyglet.resource.image('img.png').get_texture() glTexParameteri(text_img.target, GL_TEXTURE_MAG_FILTER, GL_NEAREST) glTexParameteri(text_img.target, GL_TEXTURE_MIN_FILTER, GL_NEAREST) self.test_sprite = pyglet.sprite.Sprite(img=test_img,x=300,y=400, batch=self.main_batch) def update(self, dt): self.test_sprite.rotation -= float(100 * dt) -- 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 pyglet-users+unsubscr...@googlegroups.com. To post to this group, send email to pyglet-users@googlegroups.com. Visit this group at http://groups.google.com/group/pyglet-users. For more options, visit https://groups.google.com/d/optout.