Skip to main content

AI驱动的物理游戏引擎 - 聚合设计

Project description

NexusFine

AI 驱动的物理游戏引擎,用于快速构建 2D/3D 物理小游戏。

安装: pip install NexusFine

快速开始: from nexusfine import NF a = "SK-XXXXXXX" NF(a) NF(a) NF(a, a) NF("Game.exe")

物理对象: 子弹: from nexusfine import NF bullet = NF.Bullet(x=0, y=10, vx=5, vy=0, gravity=300) bullet.update(0.016)

球: from nexusfine import NB ball = NB.Ball(x=0, y=5, radius=10, gravity=300, bounce=0.8, ground_y=600) ball.update(0.016, width=800, height=600)

云: from nexusfine import NC cloud = NC.Cloud(x=0, y=5, vx=0.5, vy=0.1) cloud.update(0.016)

蒸汽: from nexusfine import NF steam = NF.Steam(x=0, y=0, z=0, rise_speed=0.5, diffusion=0.3) steam.update(0.016)

模块: NF - Bullet, Steam NB - Ball NC - Cloud NS - 档位配置

档位调节: from nexusfine import NF, NS NS.apply(NF, mode="C", duration=60) NF("x_axis") NF("y_axis") NF("Game.exe") 档位:A - 高性能 / B - 平衡 / C - 省电

参数: Bullet: x, y, vx, vy, gravity Ball: x, y, radius, gravity, bounce, ground_y, update(dt, width, height) Cloud: x, y, vx, vy Steam: x, y, z, rise_speed, diffusion

依赖: Python >= 3.6 requests >= 2.25.0

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

nexusfine-1.0.1.tar.gz (4.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

nexusfine-1.0.1-py3-none-any.whl (4.5 kB view details)

Uploaded Python 3

File details

Details for the file nexusfine-1.0.1.tar.gz.

File metadata

  • Download URL: nexusfine-1.0.1.tar.gz
  • Upload date:
  • Size: 4.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.10

File hashes

Hashes for nexusfine-1.0.1.tar.gz
Algorithm Hash digest
SHA256 8b9b8d0234c1c39df0ae167691e6a24b5d5ab3d1e382ce75872d293bf6097dcc
MD5 fb762f9240dcc66ee0f3a4f471cb81a7
BLAKE2b-256 79125eedcc18ef980e2d9a27ac771fba71e2a51e0c4edd6efadb676999014032

See more details on using hashes here.

File details

Details for the file nexusfine-1.0.1-py3-none-any.whl.

File metadata

  • Download URL: nexusfine-1.0.1-py3-none-any.whl
  • Upload date:
  • Size: 4.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.10

File hashes

Hashes for nexusfine-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 529b3c8f2e1796c54b95f8237bf10771845391d56ae9449d7c69e57513bccfef
MD5 09ff6bbb8a091053b4d1faa4fbcd5642
BLAKE2b-256 f7b1de5946e551c6a59c37146e4e4ab7695dc5bc06e4057cead31037d2c37927

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page