styleRoles.package
- ..
- .metadata93 B
- README.md2.2 KB
- roles.yaml4.8 KB
This package holds more than this page lists. See all of its files in its world.
README.md
Ink comic (role set)
For pen-and-ink comic looks: the hero in a heavy clean contour with little hatching on the face of the figure, enemies inked heavier and fully hatched, pickups left in flat colour with a light line, props in a thin pen line.
Pick it with StyleKit.setRoles("inkComic") (or StyleRoles.use("inkComic"), which also adds its variant lines), and give an object a role with StyleKit.give(entity, "enemy"). With no set picked, the stack takes this one by itself under comicInk, noirInk, inkDrawing, sketchbookPen, boldInkSketch.
Line is the weight of lines and strokes (1 as the look draws them). Marks are how much of the look's line, tone (shading marks and light bands), fill (washes, cel fills, colour) and paper reach the object. Value here means how much of its own colour the object keeps through the ink wash.
| Role | Variant | Line | Marks: line / tone / fill / paper | Value |
|---|---|---|---|---|
hero | player | 1.6 | 1 / 0.33 / 1 / 1 | 0 |
partner | player | 1.45 | 1 / 0.5 / 1 / 1 | 0 |
enemy | enemy | 1.4 | 1 / 1 / 1 / 1 | 0 |
elite | enemy | 1.9 | 1 / 1 / 1 / 1 | 0 |
boss | enemy | 2.5 | 1 / 1 / 1 / 1 | 0 |
pickup | pickup | 0.9 | 1 / 0 / 0.33 / 0.33 | 0.8 |
rarePickup | pickup | 1.2 | 1 / 0 / 0 / 0 | 1 |
usable | interactive | 1.2 | 1 / 0.33 / 0.67 / 1 | 0 |
objective | interactive | 1.5 | 1 / 0.33 / 0.33 / 0.67 | 0 |
hazard | hazard | 1.6 | 1 / 1 / 0.67 / 1 | 0 |
projectile | hazard | 0.7 | 1 / 0 / 0 / 0.33 | 1 |
friendly | friendly | 1.2 | 1 / 0.67 / 1 / 1 | 0 |
prop | background | 0.75 | 1 / 1 / 1 / 1 | 0 |
ghost | background | 0.4 | 0.67 / 0.33 / 0.67 / 1 | 0 |
distant | background | 0.35 | 0.67 / 0.67 / 1 / 1 | 0 |
asRendered | left exactly as rendered |
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.