Log inGet started
World

First Light: Lavic Odyssey

Branchmain
Branchesmain
Commit1698ee71e5

README.md

art

The drawn marks of First Light: Lavic Odyssey, as inline SVG: require("game.screens.art").

MarkWhere it is used
HELM_LITthe HUD, while the pilgrim is helmed — the slit alight
HELM_DARKthe same helm carried, unlit
BAREthe HUD, dishelmed — the cowl thrown back, the eyes lit, an ember falling
CRESTthe title card: the sun coming up behind the spire, the helm as its signet
SUNRISEthe win card
LAVAthe lose card
KNIGHT_FREED / KNIGHT_LOSTthe freed-knights row on the HUD
TICKa canto tick on the dawn ladder

Every one is a constant string. The svg widget rasterises its markup at display resolution and caches the raster against the string, so a mark whose markup were rebuilt each frame would be re-rasterised each frame — the HUD's live parts are boxes and gradients instead, and these are the still ones.

Every gradient states gradientUnits="userSpaceOnUse". The default maps a gradient through the painted shape's bounding box, which resolves to no paint at all on a shape with no area — a straight rule, a hairline.