Browse by type
A 2D platform game engine with:
A map editor to edit:
Clone the repository:
bash
git clone https://github.com/yourusername/2d-engine.git
cd 2d-engine
Run the build script:
bash
build.bat
The script will automatically: - Install vcpkg if not present - Set up the build environment - Build the project in Release mode
The executable will be available in build/engine/Release/.
./build.sh
The executable will be available in build/engine/.
If you prefer to build manually:
Install vcpkg:
bash
git clone https://github.com/microsoft/vcpkg.git
cd vcpkg
# Windows:
./bootstrap-vcpkg.bat
# Linux/macOS:
./bootstrap-vcpkg.sh
Set the VCPKG_ROOT environment variable to your vcpkg installation path
Create and enter a build directory:
bash
mkdir build
cd build
Configure and build:
bash
cmake -S . -B build -DCMAKE_TOOLCHAIN_FILE="$VCPKG_ROOT/scripts/buildsystems/vcpkg.cmake" -DCMAKE_BUILD_TYPE=Release
cmake --build build --config Release
resources/.ENGINE_RESOURCE_ROOTresources/resources/W/A/S/DMNYTUp/Left/Down/RightSpace, RightClickReturn, LeftClickEscape, joy button 6F1JK1-7F2F3F4F6F7F88 / 9W/A/S/D, RightDown dragMNCV123F1JKF6Escape, joy button 6$ claude mcp add 2d-engine \
-- python -m otcore.mcp_server <graph>