Skip to content

1681-engine / index / DriftKind

Type Alias: DriftKind ​

ts
type DriftKind = "leaf" | "seed" | "ember" | "mote" | "ash";

Defined in: src/ambient/life/Drift.ts:14

How a drift moves:

  • leaf: tumbles down through its frames, lands, lies a moment and is gone;
  • seed: blown across the view on a slow wobble (dandelion seed, spores, ash on the wind);
  • ember: rises, cooling through its frames, and goes out within a tile or three;
  • mote: hangs in the air, barely moving, and winks out now and then (underground dust);
  • ash: blown across like a seed, but from a source it lifts off the ground instead.

Released under the MIT License.