Log inGet started
Package

look.module

Newest version

README.md

riceAndShine.look

The game's art direction inside the levels: the title art's sumi-e ink and wash, made live.

RS.tick calls Look.tick() every frame; it checks once a second and writes only what differs:

  • inkBlocks' brush-and-wash look (tapered brush line, tonal ink washes that dissolve into mist, paper grain) in sepia ink, tuned per contract in Look.TUNING (a soft dawn for Morning Drill, a deep moonlit night for the festival).
  • The stealth role set without its colour glazes; enemies keep a vermilion line, the player a sumi line (Look.ROLE_LINES).
  • The cast: the local player hero, each contract target boss, guards enemy (the contract's named guards, and watchers named Ashigaru, Bodyguard, Sentry, Guard, Patrol, Gatekeeper or Instructor), every other disguise watcher friendly, lanterns asRendered so they glow warm.
  • stealthKit's Director has its roles switched off at runtime, since it re-gives every watcher enemy.

The HUD is drawn after the style stack and is never inked.

Undo: require("~styleKit.StyleKit").clear() and require("~styleRoles.StyleRoles").clear() put the frame back exactly as rendered; remove the Look.tick() call in riceAndShine.game to stop it coming back.