AI驱动的物理游戏引擎 - 聚合设计
Project description
NexusFine - AI驱动的物理游戏引擎
中文名:聚合设计
一个 AI 驱动的物理游戏引擎,可以快速构建子弹下落、球类运动等 2D/3D 物理小游戏。
特性:
- AI 驱动 - 使用 AI 进行物理计算
- 简单易用 - 几行代码即可创建游戏
- 2D/3D 支持 - 自动适配维度
- 档位调节 - A/B/C 三档性能调节
- 模块化设计 - 子弹、球、云、蒸汽
- 参数可调 - 重力、地面位置、反弹系数等
- 四周碰撞 - Ball 支持左右墙壁反弹
安装: pip install NexusFine
快速开始: from nexusfine import NF a = "SK-XXXXXXX" NF(a) # X轴 NF(a) # Y轴 NF(a, a) # 构建 2D 系统 NF("Game.exe") # 启动游戏
物理对象使用: from nexusfine import NF, NB, NC, NS
子弹 - 2D 直线运动 + 重力
bullet = NF.Bullet(x=0, y=10, vx=5, vy=0, gravity=300) bullet.update(0.016)
球 - 2D 弹跳运动(支持四周墙壁)
ball = NB.Ball(x=0, y=5, radius=10, gravity=300, bounce=0.8, ground_y=600) ball.vx = 3 ball.update(0.016, 800, 600)
云 - 2D 飘动
cloud = NC.Cloud(x=0, y=5, vx=0.5, vy=0.1) cloud.update(0.016)
蒸汽 - 3D 扩散
steam = NF.Steam(x=0, y=0, z=0, rise_speed=0.5, diffusion=0.3) steam.update(0.016)
模块说明: NF - 子弹,2D (X, Y),提供 Bullet()、Steam() NB - 球,2D (X, Y),提供 Ball() NC - 云,2D (X, Y),提供 Cloud() NS - 配置系统,提供档位调节
更新日志: v1.0.0 (2026-06-21)
- 正式版发布
- Ball 支持四周墙壁碰撞
- 物理参数全面可配置
- 蒸汽粒子增加随机相位
- 文档完善
许可证:MIT License 作者:bengtiaotiao
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file nexusfine-1.0.0.tar.gz.
File metadata
- Download URL: nexusfine-1.0.0.tar.gz
- Upload date:
- Size: 4.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
660ca67b86f666f70e4cdf0b7bdcb153424e0d2101151a44dba14f6a90b78692
|
|
| MD5 |
0a7f6c28db67afa2c6c36659b66d8253
|
|
| BLAKE2b-256 |
4226b6a27de76c2a8c1ea8c65571be6485003a783d5411fd024382bb20a11972
|
File details
Details for the file nexusfine-1.0.0-py3-none-any.whl.
File metadata
- Download URL: nexusfine-1.0.0-py3-none-any.whl
- Upload date:
- Size: 4.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0470819b857b8c7afffb5cb8bf425942fccf338feb5f528d111608a93c29a3ef
|
|
| MD5 |
7532fb250d7b597b4f1c1f57ca5c7f13
|
|
| BLAKE2b-256 |
a9a52d555fe617a56cd02ff0823361a964eb5eef7865e760f920c8a609affb1e
|