The Sprite class takes an image and all the examples I have seen use an image file. Instead of using an image file, is it possible to use anything from pyglet.graphics to define an image? How do I do this? My goal is to take advantage of all the functions of a Sprite with a custom image created from multiple geometric shapes.
FYI, I did successfully define an image (a green square) using SolidColorPattern, convert it to a texture, and pass it to a Sprite. After that I got stuck. -- 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 view this discussion on the web visit https://groups.google.com/d/msgid/pyglet-users/ce04cce6-39f2-4c5b-b093-dada1d978f65%40googlegroups.com.