Skip to content

Latest commit

 

History

History
71 lines (49 loc) · 1.41 KB

README.md

File metadata and controls

71 lines (49 loc) · 1.41 KB

Carimbo

Carimbo is a simple 2D game engine, scriptable in Lua, created during the spare time of @skhaz.

It is a transcendental descendant of the Wintermoon engine, a project by the same author. It runs on Linux, Windows, macOS, and the Web (WebAssembly).

Build

Python & virtualenv

uv venv
source .venv/bin/activate

Conan & hooks pre-commit

uv pip install -r requirements.txt
pre-commit install
conan profile detect --force
conan remote update conancenter --url https://center2.conan.io

Adding the WebAssembly profile

cat > ~/.conan2/profiles/webassembly <<EOF
include(default)

[settings]
arch=wasm
os=Emscripten

[tool_requires]
*: emsdk/3.1.72
EOF

Installing all dependencies

conan install . --output-folder=build --build="*" --profile=webassembly --settings compiler.cppstd=20 --settings build_type=Release

Building the project

make -f Makefile.webassembly build

Cloning a game

gh repo clone willtobyte/slime sandbox

Cloning the playground web application

gh repo clone willtobyte/run

Running the application Note: Ensure Docker is running. If not, install OrbStack.

make run

Finally, open http://localhost:3000/playground in your browser.