pyglet-playground:用于测试各种pyglet功能的游乐场

时间:2021-04-18 02:54:56
【文件属性】:
文件名称:pyglet-playground:用于测试各种pyglet功能的游乐场
文件大小:578KB
文件格式:ZIP
更新时间:2021-04-18 02:54:56
Python pyglet游乐场的文档 如何玩这个游戏 使用virtaulenv创建venv 激活环境并运行pip install -r requirements.txt 然后从您的项目根cd src && python game.py 10.04.2021: 基本视窗 import pyglet class MainWindow ( pyglet . window . Window ): def __init__ ( self , * args , ** kwrgs ): super (). __init__ ( * args , ** kwrgs ) if __name__ == '__main__' : window = MainWindow ( 640 , 480 , 'Game Name' , resizable = True ) pyglet .
【文件预览】:
pyglet-playground-master
----src()
--------level()
--------__init__.py(0B)
--------objects()
--------gui()
--------game.py(1KB)
--------resources()
--------handler()
----requirements.txt(15B)
----examples()
--------cursor.py(772B)
--------main.py(248B)
--------mouse_movement.py(1KB)
--------mouse_coordinates.py(2KB)
--------gui()
--------resources()
----README.md(3KB)
----.gitignore(121B)

网友评论