Twine 2.8: Harlowe 3.3: Macros: Example: Health and Mana
Channel: Dan Cox
Date: 2024-02-01

This video reviews an extended example using the (float-box:) macro in Harlowe 3.3 (via Twine 2.8). Because the box "floats," it can be positioned relative to the page rather than normal passage content area. This opens the use as a "user interface" (sometimes called a heads-up display or HUD) for a game-like experience where the health and mana of a character is always shown to the player or user. By combining of the (random:), (display:), (go-to:), and (if:) macros, it is possible to create a simple random encounter system where the health and mana are updated every encounter.

Download (via GitHub): https://videlais.github.io/twinetutorials/twine2.6/harlowe3.3/Harlowe%203.3_%20Example_%20Health%20and%20Mana.html

Harlowe 3.3 Playlist: https://www.youtube.com/playlist?list=PLlXuD3kyVEr662CjQjQHOVJhmdsl2TgYk

Twine 2.6/2.8 Playlist: https://www.youtube.com/playlist?list=PLlXuD3kyVEr6DmZy52pG7zYWbr6t93JC7

Created by Dan Cox ( @DanCox )