Lightweight C++ prototype for a Win32 overlay/renderer with cross‑platform stubs. Ships with a headless renderer, simple physics helpers, and placeholders for future MusicEngine audio integration.
- Borderless overlay window with a clickable blue box; exit via click, ESC, or right‑click.
- Headless render on startup to
headless_output.bmp(800x600) viaRenderer2D. - Audio hook:
PlayMusicEngineNotecurrently triggers a MIDI/WinMM ping; ready to swap to MusicEngine DLL. - Cross-platform target in
CrossPlatform/using CMake, free of Win32 APIs. - Script samples (C# and C++) for MusicEngine DLL calls and smoke tests.
GameEngine/– Win32 entry point and overlay composition. +-GameEngineCore/– Core renderer, colliders, physics stubs, audio hook, sample scenes.CrossPlatform/– CMake targetGameEngineCross(Windows/Linux); writesheadless_output_cross.bmp.MusicEngine_Linux/– Stub placeholder awaiting the real MusicEngine sources.scripts/– Smoke tests and scripting examples (run_smoke_tests.cpp, C# integration scripts).tests/– AI-oriented harness notes andGameEngine.Testproject.
- Open
GameEngine.sln. - Build
GameEngine(Debug|x64 recommended). - Run: overlay appears centered; click/ESC/right‑click closes;
headless_output.bmpis produced in repo root. - Optional: build
tests/GameEngine.Testfor a smoke sequence (audio ping, render throughput, overlay).
cmake -S CrossPlatform -B build-cross
cmake --build build-cross
./build-cross/GameEngineCross # Linux
build-cross\\Debug\\GameEngineCross.exe # Windows MSVCOutputs headless_output_cross.bmp and exercises core physics/render stubs.
- Windows: swap
PlayMusicEngineNoteto call the MusicEngine DLL (seescripts/csharp/MusicEngineIntegration.csx). - Linux: replace
MusicEngine_Linux/srcwith real sources and adjustCMakeLists.txt.
This project is released under the Music Engine License (MEL). See LICENSE for terms.
