def main():
window = window (width=1280, height=720, caption='Minecraft', resizable=True)
# Hide the mouse cursor and prevent the mouse from leaving the window.
window.set_exclusive_mouse(True)
setup()
pyglet.app.run()
main()
有人可以帮忙吗? 我试着寻求帮助,但遗憾的是我找不到帮助