tpt-nova
RustAI-native, ECS-based real-time engine in Rust that wraps AI-generated visual media (video, images, meshes, Gaussian splats) into interactive, physics-driven, deterministic game objects.
Languages
TPT Nova
An AI-native, ECS-based real-time engine that acts as the structural anchor between generative AI outputs (video, images, meshes, splats) and interactive, physics-driven, game-ready runtimes.
- Design & vision: spec.txt
- Build checklist / roadmap: todo.md
- Getting started (clone → build → run a window): GETTING_STARTED.md
- Contributing / CI gates: CONTRIBUTING.md
- Alpha release gate: docs/ALPHA_CHECKLIST.md
- Changelog: CHANGELOG.md
Workspace crates
| Crate | Role |
|---|---|
tpt-nova-ecs | Entity/component storage, scene graph, scheduler, deterministic RNG |
tpt-nova-render | wgpu renderer (cube, PBR, sprite pipelines) |
tpt-nova-input | Keyboard/mouse → ECS input + action mapping |
tpt-nova-physics | Rapier2D integration + sync step |
tpt-nova-ingest | glTF/OBJ loading, VHACD decompose, auto-rig, Rapier3D colliders |
tpt-nova-scene | Versioned scene (de)serialization (RON/JSON) + migrations |
tpt-nova-audio | 2D/3D spatial audio |
tpt-nova-scripting | Rust-native hot-reload gameplay |
tpt-nova-scripting-embedded | Rhai sandboxed scripting |
tpt-nova-ui | Immediate-mode in-game + world-space UI |
tpt-nova-editor | egui/eframe scene editor (hierarchy, inspector, gizmos, Vibe GUI) |
tpt-nova-anim | Skeletal animation + blending |
tpt-nova-telemetry | JSON/MessagePack telemetry + AI control loop |
tpt-nova-neural-materials | Live video-LLM texture feeds |
tpt-nova-splat | Gaussian Splat loading + convex-hull collision proxy |
tpt-nova-rag | Local vector DB + RAG retrieval over project assets/docs |
tpt-nova-export | Standalone packaging + .novapack asset bundling |
tpt-nova-agent-api | Stable, versioned external-AI-agent control API |
tpt-nova-overlay | "Highlight & Fix" region selection → AI fix prompt |
tpt-nova-videocap | Depth + segmentation mask → collision proxies |
tpt-nova-sample-game | End-to-end sample wiring the full pipeline |
Quick start
cargo build --workspace
cargo test --workspace
cargo run -p tpt-nova-sample-game # runs the end-to-end pipeline headlessly
cargo run -p tpt-nova-app # opens the interactive editor (needs a GPU)
cargo run -p tpt-nova-app opens a window with a live editor — a 3D viewport, a
hierarchy/inspector/asset panel stack, and a toolbar. Drag in the viewport to
move the selected entity, drag inspector fields to edit components live, press
H then drag a marquee to build a "Highlight & Fix" AI request, and P to
play/pause the simulation. See GETTING_STARTED.md for the
full control list and clone-to-window walkthrough.
The self-debugging loop: the engine emits telemetry (tpt-nova-telemetry) and
hot-applies a control file written by an external AI agent
(tpt-nova-agent-api), closing the loop without a human in the middle. See
cargo run -p tpt-nova-agent-api --example agent_fix_loop for a flagship,
end-to-end demo wiring tpt-nova-rag (context retrieval), tpt-nova-agent-api
(commands), and tpt-nova-overlay (highlight → fix prompt) together.
tpt-nova-sample-game also works as a forkable project template: it wires the
full physics/scene/agent/splat/export pipeline together and is a reasonable
starting point for a new game built on the engine, not just a smoke test.
License
Licensed under either of
- Apache License, Version 2.0 (LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0)
- MIT License (LICENSE-MIT or http://opensource.org/licenses/MIT)
at your option.