Log inGet started
World

Style Cookbook: Mix Your Own Art Style from Stackable Look Blocks

README.md

RPG friends and foes (role set)

For an adventure or RPG where who is on whose side matters: the hero and the party in blues and greens, townsfolk and quest givers in warm gold, foes in wine red deepening to royal purple for elites and bosses, loot in gold and rare items in violet.

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("rpgFriendsAndFoes"). The look stays as it is.

RoleLineInk
hero1.6#2050a0
partner1.5#1a7a5a
friendly1.4#c08a10
enemy1.8#8a1a3a
elite2.3#6a1070
boss3#4a0a6a
pickup1.3#b88a10
rarePickup1.6#7a2ac0
usable1.5#3a6aa0
objective1.8#d0a000
hazard1.8#b04010
projectile1#c05a10
prop0.75#4a4038
ghost0.5#7a8a9a
distant0.4#5a5048

asRendered and every role not written here come from the look's set. Variant lines: enemy #8a1a3a, friendly #c08a10, pickup #b88a10, player #2050a0.

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.