Hi, I don't know if it's the right way to do it, but I did a small tween class to interpolate properties with easing function. Its made to animate easly sprites.
If someone has interest, it's here: http://paste.pocoo.org/show/179356/ I needed it, maybe others do. I don't know. So far, you can tween sprite properties, but also a bit of anything. as an example, I tween a pyglet.sprite.Sprite, but I also tween a class that extends Sprite where I added with and height. Today, there is a on_complete callback function. I will add some others. I will also add a reverse_tween function. hope it helps someone. Any comment welcome, I am new to that ! -- 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.
