phantasia

Phantasia - 2D SDL3 RPG prototype.
git clone git://git.beep.wimdupont.com/phantasia.git
Log | Files | Refs | README | LICENSE

phantasia.6 (1785B)


      1 .Dd July 30, 2026
      2 .Dt PHANTASIA 6
      3 .Os
      4 .Sh NAME
      5 .Nm phantasia
      6 .Nd 2D SDL3 RPG prototype
      7 .Sh SYNOPSIS
      8 .Nm
      9 .Op Fl -render-smoke-test
     10 .Sh DESCRIPTION
     11 .Nm
     12 is a small top-down RPG prototype with connected map areas, item pickup, shops,
     13 visible in-world encounters, independently roaming and pursuing monsters, and
     14 turn-based battles.
     15 At startup, Continue restores the autosave and New Game starts fresh. The game
     16 saves player progression and mutable area state on area transitions and clean
     17 exit.
     18 Combat creates a pre-battle checkpoint; quitting mid-battle does not save a
     19 partial encounter, while victory saves its finalized result.
     20 .Sh KEYBINDINGS
     21 .Bl -tag -width "Arrow keys / WASD / HJKL"
     22 .It Arrow keys / WASD / HJKL
     23 Move the player.
     24 .It Space / E
     25 Interact, pick up nearby loot, or speak to a facing shopkeeper.
     26 .It C
     27 Open or close the character sheet.
     28 .It I
     29 Open or close the inventory.
     30 .It O
     31 Open or close the magick book.
     32 .It Arrow keys / HJKL
     33 Move through inventory items, item and spell actions, battle commands, learned
     34 spells, and combat targets.
     35 .It Enter
     36 Open or confirm the selected inventory action, shop choice, battle command, or
     37 spell action or target.
     38 .It Escape
     39 Return one level from an inventory, magick book, or battle submenu, or close an
     40 open character sheet. In the overworld or at the root of combat, open the main
     41 options menu. Its Sound submenu independently enables music and sound effects;
     42 Exit Game quits the game.
     43 .It Backspace
     44 Return one menu level or close the current menu without opening the main options
     45 menu. At the overworld or combat root, do nothing.
     46 .It Window close button
     47 Quit the game.
     48 .El
     49 .Sh OPTIONS
     50 .Bl -tag -width Ds
     51 .It Fl -render-smoke-test
     52 Run a headless software-render smoke test and save a frame dump to
     53 .Pa obj/render-smoke.bmp .
     54 .El