runtime_border_twiddling

What it does

The runtime_border_twiddling prelude flag enables a new rule command named border. With this command, your game can expand or shrink the current level bounds while the game is running.

Example of runtime border resizing during gameplay

Example: level bounds changing at runtime with border commands.

How to enable it

  1. Add runtime_border_twiddling in the prelude.
  2. Use border in rules where you want the resize to happen.
title Border Demo
author You
runtime_border_twiddling

[ > Player | Grow ] -> [ > Player | ] border right 1
[ > Player | Trim ] -> [ > Player | ] border left -1

Command format

Use border <direction> <amount>.

When the resize happens

Border changes are applied immediately when the command is triggered. Any rules that run later in the same turn will use the updated board size.

Notes