From 8569ed10bbeba56bc89cb0f6e2fb783e3c8086ef Mon Sep 17 00:00:00 2001 From: KonAki Date: Mon, 12 Oct 2026 19:19:23 +0800 Subject: wire particles into build.sh and readme --- README.md | 1 + build.sh | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 70af8e3..a2515f0 100644 --- a/README.md +++ b/README.md @@ -33,6 +33,7 @@ The engine modules are a `.h` and a `.c` pair, they depend on each other a bit, | tile | tilemaps and sprite sheets | | 2d | what any 2D game needs: a scrolling camera, frame animation, drawing frames of a sprite sheet | | fx | whole screen effects done on the pixels: fade to a colour, flash, shake and tone (adds 2d) | +| particles | pooled particle emitters (sparks, dust, glows) and rain, snow and storm presets | | stage | sprites and pictures on a stage for visual novels and cutscenes: slots, layers above or below your text box, fades, moves, scale, rotation, blend modes, a background (or CG) that stretches, covers or fits and can pan and zoom (adds 2d) | | 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) | diff --git a/build.sh b/build.sh index 2274af2..0bdd438 100755 --- a/build.sh +++ b/build.sh @@ -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 stage textbox platformer rpg 3d sector world" + echo "modules: font toml tile pack ui debug assets image audio mic model 2d fx particles stage textbox platformer rpg 3d sector world" echo "platforms: native linux bsd windows" echo "targets: all run clean tools pack examples" exit 1 @@ -77,7 +77,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|stage|textbox|platformer|rpg|3d|sector|world) addobj "kon$m" ;; + font|toml|tile|pack|ui|debug|2d|fx|particles|stage|textbox|platformer|rpg|3d|sector|world) addobj "kon$m" ;; assets) addobj konassets ;; model) addobj konmodel; addobj konassets ;; image) addobj stb_image ;; -- cgit