diff options
| author | KonAki <konaki@anokonaki.org> | 2026-10-14 12:24:19 +0800 |
|---|---|---|
| committer | KonAki <konaki@anokonaki.org> | 2026-10-14 12:24:19 +0800 |
| commit | 1299523d78a3739c57dac164d29efb3b592cd666 (patch) | |
| tree | f55a442f0430394ab19c62945657832cf9c15ebc | |
| parent | 5fbcc854f47b6fa14abeb76434cea4ef0c713e8f (diff) | |
wire picture into build.sh and readme
| -rw-r--r-- | README.md | 1 | ||||
| -rwxr-xr-x | build.sh | 6 |
2 files changed, 4 insertions, 3 deletions
@@ -42,6 +42,7 @@ The engine modules are a `.h` and a `.c` pair, they depend on each other a bit, | textbox | a text box for any game: wrapped pages, typewriter, name plate, a face inside, menus, a panel that can be a colour, an image or a nine patch (adds 2d, font) | | platformer | a box that runs and jumps through a tilemap, with coyote time and jump buffering (adds tile) | | rpg | top-down games on tilemaps: actors that walk a tile at a time, events on tiles (talk, touch, step), directions (adds tile) | +| picture | RPG Maker style pictures: moved, faded, turned, tinted and blended over the screen | | 3d | first person kit: mouse look body, walls from a tilemap, editable hill terrain (adds tile) | | sector | maps made of rooms (vertices, floors, ceilings, walls) with entities like doors and buttons, in a text format | | world | one place to move bodies through sector maps, terrain, tilemaps and your own boxes, cylinders, spheres and planes (needs 3d, sector) | @@ -12,7 +12,7 @@ developer=0 usage() { echo "usage: build.sh [-d] [-D] [-p platform] [-m module,...] [-o objdir] [target ...]" - echo "modules: font toml tile pack ui debug assets image audio mic model 2d fx particles script battle party save stage textbox platformer rpg 3d sector world" + echo "modules: font toml tile pack ui debug assets image audio mic model 2d fx particles picture script battle party save stage textbox platformer rpg 3d sector world" echo "platforms: native linux bsd windows" echo "targets: all run clean tools pack examples" exit 1 @@ -88,7 +88,7 @@ addobj() for m in $modules; do DEFS="$DEFS -DKON_MODULE_$(echo "$m" | tr 'a-z' 'A-Z')" case $m in - font|toml|tile|pack|ui|debug|2d|fx|particles|script|battle|party|save|stage|textbox|platformer|rpg|3d|sector|world) addobj "kon$m" ;; + font|toml|tile|pack|ui|debug|2d|fx|particles|picture|script|battle|party|save|stage|textbox|platformer|rpg|3d|sector|world) addobj "kon$m" ;; assets) addobj konassets ;; model) addobj konmodel; addobj konassets ;; image) addobj stb_image ;; @@ -118,7 +118,7 @@ case " $modules " in *" debug "*) need font; need assets ;; esac case " $modules " in *" ui "*) need font ;; esac case " $modules " in *" world "*) need 3d; need sector; need tile ;; esac case " $modules " in *" platformer "*|*" rpg "*) need tile ;; esac -case " $modules " in *" stage "*|*" fx "*) need 2d ;; esac +case " $modules " in *" stage "*|*" fx "*|*" picture "*) need 2d ;; esac case " $modules " in *" textbox "*) need 2d; need font ;; esac case " $modules " in *" 3d "*) need tile ;; esac case " $modules " in *" model "*) need assets ;; esac |
