spooky.styleRoleSet
- .metadata148 B
- README.md1.9 KB
- roles.yaml1.6 KB
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.
| Role | Line | Ink |
|---|---|---|
hero | 1.7 | #5a8ad0 |
partner | 1.5 | #6a8ab0 |
friendly | 1.2 | #8a6a4a |
enemy | 2 | #3a8a3a |
elite | 2.4 | #5a2a8a |
boss | 3.2 | #2a0a3a |
pickup | 1.4 | #e0a020 |
rarePickup | 1.6 | #b080ff |
usable | 1.4 | #a07040 |
objective | 1.8 | #e0a020 |
hazard | 2 | #a01010 |
projectile | 1 | #80ff60 |
prop | 0.8 | #2a2a30 |
ghost | 0.6 | #9ab0c0 |
distant | 0.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.