AI驱动的物理游戏引擎 - 聚合设计
Project description
NexusFine
AI-driven physics engine for rapid 2D/3D game prototyping.
Install
pip install NexusFine
Quick Start
from nexusfine import NF
a = "SK-XXXXXXX"
NF(a)
NF(a)
NF(a, a)
NF("Game.exe")
Physics Objects
Bullet
from nexusfine import NF
bullet = NF.Bullet(x=0, y=10, vx=5, vy=0, gravity=300)
bullet.update(0.016)
Ball
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)
Cloud
from nexusfine import NC
cloud = NC.Cloud(x=0, y=5, vx=0.5, vy=0.1)
cloud.update(0.016)
Steam
from nexusfine import NF
steam = NF.Steam(x=0, y=0, z=0, rise_speed=0.5, diffusion=0.3)
steam.update(0.016)
Modules
NF - Bullet, Steam
NB - Ball
NC - Cloud
NS - Config
Performance Modes
from nexusfine import NF, NS
NS.apply(NF, mode="C", duration=60)
NF("x_axis")
NF("y_axis")
NF("Game.exe")
Modes
A - High Performance
B - Balanced
C - Power Saving
Parameters
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
Requirements
Python >= 3.6
requests >= 2.25.0
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
nexusfine-1.0.2.tar.gz
(3.6 kB
view details)
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.2.tar.gz.
File metadata
- Download URL: nexusfine-1.0.2.tar.gz
- Upload date:
- Size: 3.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3b9818e6eabf527b78dfaa612a9076ac610f8edbb475bcaaab50b0612a4041ac
|
|
| MD5 |
15dfd8c0e267842eadd6eea0771e8ba0
|
|
| BLAKE2b-256 |
e5c01966a75862cf9e4f5c30296af3ae6a38db49986e519b278991aa38d0579a
|
File details
Details for the file nexusfine-1.0.2-py3-none-any.whl.
File metadata
- Download URL: nexusfine-1.0.2-py3-none-any.whl
- Upload date:
- Size: 4.1 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 |
47e0d97483f10969ac2e858dda6437f14b9966b821726ecdfc614f7699397802
|
|
| MD5 |
03866af77e7cdcd432aae2e2144aa501
|
|
| BLAKE2b-256 |
4dbb52d81939c65739d9e236d7b8a849beeac6b0a99806052dbfe88183247b9f
|