summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKonAki <konaki@anokonaki.org>2026-10-13 05:02:18 +0800
committerKonAki <konaki@anokonaki.org>2026-10-13 05:02:18 +0800
commitf90a9b36b2b3b3d82cbdb4fd42b3f6d10e38ec8a (patch)
treeaa49c3f59ad39a58109b237baf42150179323fab
parent3198ac86cab5de4ec07964eaff358c8673b50457 (diff)
wire party into build.sh and readme
-rw-r--r--README.md1
-rwxr-xr-xbuild.sh5
2 files changed, 4 insertions, 2 deletions
diff --git a/README.md b/README.md
index 90cc832..3397cbc 100644
--- a/README.md
+++ b/README.md
@@ -36,6 +36,7 @@ The engine modules are a `.h` and a `.c` pair, they depend on each other a bit,
| particles | pooled particle emitters (sparks, dust, glows) and rain, snow and storm presets |
| script | event scripts: say, menus, switches, variables, jumps and calls as a flat list of commands, with the program doing the showing. what converters write to |
| battle | turn based fights with RPG Maker style rules: stats, states, skills with damage formulas, hit and critical rolls, elements, turn order, escaping. nothing drawn, you show the results |
+| party | actors with classes and levels, equipment, the party, gold and the bag, shops, and using items from the menu (adds battle) |
| 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 3d3ea9a..658cf06 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 particles script battle stage textbox platformer rpg 3d sector world"
+ echo "modules: font toml tile pack ui debug assets image audio mic model 2d fx particles script battle party 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|particles|script|battle|stage|textbox|platformer|rpg|3d|sector|world) addobj "kon$m" ;;
+ font|toml|tile|pack|ui|debug|2d|fx|particles|script|battle|party|stage|textbox|platformer|rpg|3d|sector|world) addobj "kon$m" ;;
assets) addobj konassets ;;
model) addobj konmodel; addobj konassets ;;
image) addobj stb_image ;;
@@ -111,6 +111,7 @@ case " $modules " in *" stage "*|*" fx "*) 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
+case " $modules " in *" party "*) need battle ;; esac
case " $DEFS " in *" -DKON_MODULE_ASSETS "*) need pack ;; esac
# the 3D renderer is only compiled when a module that draws in 3D is picked