Trying to use Pyglet as a UI framework for an app I’m working on.  Already 
got Pygame working as a lightweight UI front end that takes all the 
co-ordinate, rotation data from my games engine.

Tried Pyglet and got sprites to show on screen but when using a batch to 
draw the contents flickers a lot and I mean a lot

Tried to set the background to be white using the .gl package but this 
meant it was flickering between black and white and I cannot see why.

The UI as I said is lightweight only and wanted to try Pyglet because 
smoother graphics then Pygame when it comes to rotating sprites

So looking for pointers - I’m subclassing Window, scheduling the update and 
drawing in on_draw with a self.clear first because I cannot see how to only 
clear the space of the sprite as Pygame does.

Any help very much appreciated 

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/pyglet-users/6603b5ec-bdb6-425e-8cbb-3e1605574c7c%40googlegroups.com.

Reply via email to