这是我的密码: 我不知道如何删除pyglet中的标题栏,我正在做一个精彩的介绍。请帮帮我谢谢
ag_file = "splash.gif"
animation = pyglet.resource.animation(ag_file)
sprite = pyglet.sprite.Sprite(animation)
win = pyglet.window.Window(width=sprite.width, height=sprite.height)
win.set_location(325, 225)
@win.event
def on_draw():
win.clear()
sprite.draw()
def close(event):
win.close()
pyglet.clock.schedule_once(close, 9.0)
pyglet.app.run()
我已经弄明白了!!!这是我的密码:
相关问题 更多 >
编程相关推荐