Log inGet started
Package

spooky.styleRoleSet

README.md

Spooky (role set)

For a horror or haunted game: the hero in cold moonlight blue, monsters in a sickly green, elites in bruise violet, the boss in a near-black heavy line, treasure in candle gold, spirits pale and faint, and the scenery drawn dark and heavy with shade.

A set for a kind of game rather than a kind of look: it extends: look, so its line weights and inks are laid over the set the scene's look suits (toon game under a toon look, pencil sketch under a pencil look, and so on), and that set keeps deciding how much tone, fill and paper reach each role and what the free value does. It works the same under every look, and every set of this kind fills the same roles, so a game switches from one to another with one call: StyleRoles.use("spooky"). The look stays as it is.

RoleLineInk
hero1.7#5a8ad0
partner1.5#6a8ab0
friendly1.2#8a6a4a
enemy2#3a8a3a
elite2.4#5a2a8a
boss3.2#2a0a3a
pickup1.4#e0a020
rarePickup1.6#b080ff
usable1.4#a07040
objective1.8#e0a020
hazard2#a01010
projectile1#80ff60
prop0.8#2a2a30
ghost0.6#9ab0c0
distant0.4#3a3a48

asRendered and every role not written here come from the look's set. Variant lines: enemy #3a8a3a, hazard #a01010, pickup #e0a020, player #5a8ad0.

Known limits

  • At most eight distinct settings are drawn per scene; roles that resolve to the same setting share one (#24549, #22178).
  • A per-object value cannot reach a geometry pass, so some per-object looks need passes of their own (#24549).
  • Two engines on one account join as one player, so a two-player check needs two accounts or two machines (#14448).

The package README's Known limits lists the rest.