feat: add Windows runtime support
This commit is contained in:
@@ -16,7 +16,7 @@ AI-Native 3D game engine with pure P/Invoke Vulkan 1.3 render backend.
|
||||
- **ECS** — Flecs.NET with Transform, Mesh, Material, Light, Camera, RigidBody components
|
||||
- **SDL3 Window** — cross-platform, Vulkan surface
|
||||
|
||||
## Quick Start
|
||||
## Quick Start — Linux (main platform)
|
||||
|
||||
```bash
|
||||
# Build
|
||||
@@ -38,6 +38,33 @@ dotnet build CORTEX_ENGINE.sln -c Debug
|
||||
dotnet test tests/Engine.Tests/Engine.Tests.csproj -c Debug
|
||||
```
|
||||
|
||||
## Quick Start — Windows x64
|
||||
|
||||
PowerShell scripts select the Windows native runtime assets explicitly; Bash is
|
||||
not required:
|
||||
|
||||
```powershell
|
||||
# Build and restore Windows native dependencies
|
||||
dotnet restore .\CORTEX_ENGINE.sln -r win-x64
|
||||
dotnet build .\CORTEX_ENGINE.sln -c Debug -r win-x64 --no-restore
|
||||
|
||||
# Run the engine
|
||||
.\scripts\run.ps1
|
||||
|
||||
# Run a demo scene
|
||||
.\scripts\run.ps1 --scene shooter
|
||||
|
||||
# Run with AI/MCP server
|
||||
.\scripts\start_mcp_engine.ps1 -Port 5000
|
||||
|
||||
# Run tests
|
||||
dotnet test .\tests\Engine.Tests\Engine.Tests.csproj -c Debug -r win-x64
|
||||
```
|
||||
|
||||
The project keeps Linux as the default RID on Linux hosts and selects `win-x64`
|
||||
automatically on Windows. Use `-r win-x64` when cross-publishing from another
|
||||
OS.
|
||||
|
||||
## Controls
|
||||
|
||||
- **WASD** — move camera
|
||||
|
||||
Reference in New Issue
Block a user