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 Tushar_Singh_Bisht