(Sorry about my bad english, i'm brazillian)
I created one ui who open one animated gif, when in low screen it works perfectly, but when i add fullscreen = True it's just show me a black screen
Someone can help-me ?
Follow the code
I created one ui who open one animated gif, when in low screen it works perfectly, but when i add fullscreen = True it's just show me a black screen
Someone can help-me ?
Follow the code
from pyglet.window import pyglet
animation = pyglet.image.load_animation('1.gif')
animSprite = pyglet.sprite.Sprite(animation)
w = animSprite.width
h = animSprite.height
window = pyglet.window.Window(fullscreen = True)
@window.event
def on_draw():
window.clear()
animSprite.draw()
pyglet.app.run()
