Add scaling Alien Grunt boss waves and native simulation; publish Web release
This commit is contained in:
Executable
+13
@@ -0,0 +1,13 @@
|
||||
#!/bin/sh
|
||||
# Interactive native-only sandbox: never submits scores or changes the saved name.
|
||||
set -eu
|
||||
ROOT=$(CDPATH= cd -- "$(dirname -- "$0")/.." && pwd)
|
||||
GODOT_BIN=${GODOT_BIN:-"$HOME/.local/opt/godot-4.7.1/Godot_v4.7.1-stable_linux.x86_64"}
|
||||
WAVE=${1:-10}
|
||||
if [ "$#" -gt 0 ]; then shift; fi
|
||||
case "$WAVE" in ''|*[!0-9]*) echo 'Usage: tools/run_boss_simulation.sh [10|20|30|...] [--boss-god]' >&2; exit 2;; esac
|
||||
if [ "$WAVE" -lt 10 ] || [ $((WAVE % 10)) -ne 0 ]; then
|
||||
echo 'Boss wave must be a positive multiple of ten (10, 20, 30, ...).' >&2
|
||||
exit 2
|
||||
fi
|
||||
exec "$GODOT_BIN" --path "$ROOT" --rendering-method gl_compatibility -- --boss-wave="$WAVE" "$@"
|
||||
Reference in New Issue
Block a user