下拉刷新
Repository Details
Shared bynavbar_avatar
repo_avatar
HelloGitHub Rating
0 ratings
用于制作经典像素风格游戏的 Python 游戏引擎
Claim
Collect
Share
17.4k
Stars
Yes
Chinese
Rust
Language
Yes
Active
1
Contributors
4
Issues
No
Organization
2.8.10
Latest
922
Forks
None
License
More
pyxel image
基于 Python 编程程语言实现的复古游戏引擎。示例代码: ```python # 代码中导入 Pyxel 模块后 import pyxel # 首先使用 init 函数指定窗口大小 pyxel.init(160, 120) def update(): if pyxel.btnp(pyxel.KEY_Q): pyxel.quit() def draw(): pyxel.cls(0) pyxel.rect(10, 10, 20, 20, 11) # 最后然后使用 run 函数启动 Pyxel 应用程序 pyxel.run(update, draw) ```

Comments

Rating:
No comments yet