▣
module · drop-in viewer
art
Every screen in ANVIL CROWN carries something drawn as well as something written. All of it is vector, all of it in the game's palette, so it scales with the window and needs no import.
by·posted 2mo ago
What it does
art — the interface's drawn marks
Every screen in ANVIL CROWN carries something drawn as well as something written. All of it is vector, all of it in the game's palette, so it scales with the window and needs no import.
local Art = require("game.interface.art")
| Mark | Where it goes |
|---|---|
Art.supercell | the title's backdrop — the anvil dome, the updraught shaft, the shelf cloud and one bolt down the middle |
Art.crown | the win card — the mesocyclone seen from below, eyewall turning around a clear hole |
Art.sheared | the loss card — the storm-runner's wedge, broken across its spine |
Art.iconWind / iconHeat / iconBolt / iconClimb | one per lesson on the how-to card |
Art.pauseGlyph | the pause control in the HUD |
Three are drawn from live values rather than fixed:
Art.windVane(t, colour)— a needle leaning with the crosswind,tfrom −1 to 1.Art.airArrow(up, colour)— the vertical-air arrow.Art.cursorWedge(colour)— the altitude tape's cursor.Art.rivets(count)— a row of rivets, the plate detail that makes a column read as a made thing rather than a box.
Discussion
Scoped to this part · feeds back into the world's score.
Sign in to post.sign in
No comments yet. Be the first.