Path Documentation
Paths in BeepMini are defined using a simple string-based language that allows for concise representation of movement. This documentation explains how to create and interpret these path strings.
Paths are composed of a series of commands, each represented by a letter followed by an optional number indicating how many times to execute that command. The commands can be written as uppercase or lowercase letters, with whitespace being ignored.
Path Commands
- U / D / L / R: Move Up, Down, Left, or Right.
- P: Pause for a certain number of frames.
- F: Change facing direction (followed by U, D, L, or R).
Examples
-
R4D2L4U2P3FU: Move right 4, down 2, left 4, up 2, pause 3 frames, then face up. -
u2 r3 d1 l1 p5 fd: Move up 2, right 3, down 1, left 1, pause 5 frames, then face down. -
R10D5L10U5: Move right 10, down 5, left 10, up 5.
Uses
Paths can be used to define movement patterns for characters or objects in BeepMini. Some ideas for their use include:
- Defining patrol routes for NPCs.
- Creating complex movement sequences for animations.
- Movement of platforms or obstacles.
- Scripting cutscene movements.
- Enemy movement patterns.