design: height model for tokens, eyes and walls (#41)

This commit is contained in:
2026-11-15 16:47:40 +01:00
parent b4720779d4
commit a7f302ec26
2 changed files with 36 additions and 13 deletions
+11 -3
View File
@@ -5,9 +5,17 @@ A browser virtual tabletop for one table: the GM and players share a map with wa
## Language
**Token size**:
How big a token is on the map, as a radius in map pixels. A token uses its own size if one is set, otherwise the scene's default size.
How big a token is on the map, as a radius in map pixels. A token uses its own size if one is set, otherwise the scene's default size. This is its footprint on the map, not how tall the figure is (see Height).
_Avoid_: token scale, token diameter, size preset
**Height**:
How tall a figure is, in metres. A character has a base height; a token may carry its own instead, a temporary on-map override (a spell that enlarges the figure) that never changes the character and disappears with the token. A plain token has only its own height and must have one. Players never see the number, only what it lets them see.
_Avoid_: elevation, z, altitude (those are position above the ground)
**Eye height**:
How high a figure's eyes are, in metres. Follows the same rule as Height: a character value with an optional token override. Unless someone sets it by hand it is 93% of the figure's height and follows any change to that height; it may also be higher than the figure itself (a floating eye).
_Avoid_: eye level, vision height
**Stuck**:
A lock condition meaning the token is held in place: a wall runs through it, or something holds it (ropes, a magic grasp). A player cannot move a stuck token; the GM always can.
_Avoid_: blocked
@@ -43,11 +51,11 @@ A figure on the map. It may belong to a character; a plain token (monster, item)
_Avoid_: entity, piece, counter
**Wall**:
A barrier on the map with a length, a thickness and a height. It hides what its dimensions hide. In v1 a wall has zero thickness and full height, so it hides exactly the points behind it, including those on a line with the viewer; per-wall thickness and height (low walls one can see over) are pending (#37).
A barrier on the map with a length, a thickness and a height. It hides what its dimensions hide. A wall is full height unless the GM gives it a height in metres, so by default nobody sees over it; an older wall without a height keeps hiding everything behind it. In v1 a wall has zero thickness; per-wall thickness and the wall kinds are pending (map #38).
_Avoid_: blocker, collider, obstacle, sight blocker
**Property**:
One named value a token carries, e.g. "aura" or "hp". The server stores it and never interprets it in v1; FFF does later.
One named value a token carries, e.g. "aura" or "hp". The server stores it and does not interpret it in v1, apart from the few sight keys it reads itself (see Height and Eye height); FFF does the rest later.
_Avoid_: attribute, stat, metadata
**Property bucket**: