aboutsummaryrefslogtreecommitdiffstats
path: root/README.md
blob: a164756e72f9701c4991b8e62bd6da6af394b451 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# LibreForts

Open-source clone of Forts, a 2D physics artillery RTS. Custom C++ engine,
content driven by Lua. Work in progress. See CLAUDE.md for details.

## Stack

C++20, Meson/Ninja (Podman), SDL3, Dear ImGui, a custom mass-spring physics
solver, Lua 5.4 with sol2, and stb_image.

## Build and run

```sh
podman build -t forts-clone-dev .
podman run --rm -v "$PWD":/src:Z --userns=keep-id localhost/forts-clone-dev:latest \
  sh -c "cd /src && meson setup builddir && meson compile -C builddir"
./builddir/forts-clone   # run from repo root
```

## Assets

The repo ships CC0 placeholders only. If you own Forts, real textures load at
runtime from your install via `forts:` paths (set `$FORTS_DATA`). Nothing
copyrighted is stored here. Forts is copyright EarthWork Games.