A Multi-Language High-Performance Game Engine
PrimeFlux is a production-grade demonstration of cross-language runtime design, integrating 6 distinct languages into a unified game development ecosystem.
graph LR
A[C++ Core Engine] --> B[Lua Scripting]
A --> C[Python AI]
A --> D[Rust Serialization]
A --> E[WebSocket]
E --> F[TypeScript Dashboard]
G[C# Editor] -.->|TCP| A
style A fill:#6366f1,color:#fff
style D fill:#f59e0b,color:#000
style C fill:#10b981,color:#000
style F fill:#06b6d4,color:#000
style G fill:#8b5cf6,color:#fff
| Module | Language | Function |
|---|---|---|
| Core | C++ (17/20) | Rendering (OpenGL/Vulkan), ECS, Physics, Asset Pipeline |
| Scripting | Lua | Gameplay Logic, Hot-Reloading |
| Artificial Intelligence | Python | Behavior Trees, ML Integration, Pathfinding |
| Serialization | Rust | Zero-copy Scene Loading, Safe Persistence |
| Tools/Editor | C# (.NET) | Level Inspector, Scene Authoring |
| Dashboard | TypeScript | Real-time Telemetry, Profiling, Remote Debugging |
- β Entity-Component-System (ECS) architecture
- β Game loop with delta time and fixed timestep
- β Modular subsystem design
- π OpenGL/Vulkan rendering (planned)
- π Physics integration (Bullet/PhysX) (planned)
- β High-performance binary serialization with Serde
- β C ABI for seamless C++ integration
- β Type-safe scene and entity data structures
- β Zero-copy deserialization
- β Embedded Lua interpreter
- β Gameplay script examples
- π Hot-reload mechanism (planned)
- β Event-driven API
- β Behavior tree implementation
- β Sequence and Selector nodes
- β Action and Condition nodes
- π A* pathfinding (planned)
- π ML model integration (planned)
- β WPF-based visual editor
- β Scene hierarchy panel
- β Inspector panel
- β Console/log viewer
- π Live engine connection (planned)
- β Real-time metrics (FPS, memory, entities)
- β WebSocket telemetry (placeholder)
- β Subsystem status monitoring
- β Log aggregation
- β Modern React UI with dark theme
PrimeFlux Engine/
βββ core/ # C++ Engine (CMake)
β βββ include/ # Headers (Engine.h, ECS.h)
β βββ src/ # Implementation
β βββ CMakeLists.txt
βββ serialization/ # Rust library
β βββ src/lib.rs # Serde-based serialization
β βββ Cargo.toml
βββ scripting/ # Lua scripts
β βββ example_script.lua
βββ ai/ # Python AI
β βββ behavior_tree.py
β βββ __init__.py
βββ editor/ # C# WPF Editor
β βββ MainWindow.xaml
β βββ PrimeFluxEditor.csproj
βββ dashboard/ # TypeScript Dashboard
β βββ src/App.tsx
β βββ package.json
βββ shared/ # Shared headers
β βββ RustSerialization.h
βββ BUILD.md # Build instructions
βββ ARCHITECTURE.md # Detailed architecture
- CMake 3.20+
- C++ Compiler (MSVC 2019+, GCC 9+, or Clang 10+)
- Rust 1.70+ with Cargo
- Python 3.9+
- .NET SDK 6.0+
- Node.js 18+ with npm
cd serialization
cargo build --releasecd core
mkdir build && cd build
cmake ..
cmake --build . --config Release
./bin/PrimeFluxEnginecd dashboard
npm install
npm run dev
# Open http://localhost:3000cd editor
dotnet runFor detailed build instructions, see BUILD.md.
This project demonstrates:
- β Systems Programming Mastery: C++ engine with ECS, game loop, and subsystem orchestration
- β Cross-Language Interop: Seamless integration of 6 languages via C ABI, embedding, and IPC
- β Graphics & Engine Design: Modular architecture ready for OpenGL/Vulkan
- β AI & Behavior Systems: Python-based behavior trees for intelligent NPCs
- β Data Safety: Rust-powered serialization with strong type guarantees
- β Tooling Ecosystem: Professional editor and real-time dashboard
- β Production Practices: CMake, Cargo, npm, proper project structure
Perfect for roles in:
- Game Engine Development
- Systems Programming
- Graphics Engineering
- Simulation & Robotics
- Multi-Language Runtime Design
MIT License - see LICENSE file for details.
- Integrate Lua interpreter (LuaJIT)
- Implement OpenGL/Vulkan renderer
- Add physics engine (Bullet/PhysX)
- Complete WebSocket telemetry bridge
- Implement hot-reload for Lua scripts
- Add A* pathfinding to Python AI
- Multi-threaded ECS job system
- Asset streaming pipeline
Built with β‘ by a systems programming enthusiast