Skip to content

1681-engine / pixel / LifeColors

Interface: LifeColors ​

Defined in: src/pixel/lifeArt.ts:14

The colours the life is painted in; every one may be replaced to suit a game's palette.

Properties ​

ash ​

ts
ash: readonly readonly [string, string][];

Defined in: src/pixel/lifeArt.ts:24

Two flakes of ash: [lit, deep] each.


bird ​

ts
bird: string;

Defined in: src/pixel/lifeArt.ts:28


birdShadow ​

ts
birdShadow: readonly [string, string];

Defined in: src/pixel/lifeArt.ts:30

Its shadow's middle and ends (translucent black suits any ground).


butterflies ​

ts
butterflies: readonly readonly [string, string][];

Defined in: src/pixel/lifeArt.ts:26

Each butterfly tone, [wing, wing's edge].


butterflyBody ​

ts
butterflyBody: string;

Defined in: src/pixel/lifeArt.ts:27


ember ​

ts
ember: readonly [string, string, string];

Defined in: src/pixel/lifeArt.ts:20

An ember from hot to cool.


firefly ​

ts
firefly: readonly [string, string];

Defined in: src/pixel/lifeArt.ts:32

A firefly's glow and the dim pixels round it.


leaves ​

ts
leaves: readonly readonly [string, string][];

Defined in: src/pixel/lifeArt.ts:16

Each leaf tone, [lit, deep].


mote ​

ts
mote: readonly [string, string];

Defined in: src/pixel/lifeArt.ts:22

Two motes.


seed ​

ts
seed: readonly [string, string];

Defined in: src/pixel/lifeArt.ts:18

A seed: the whole one, and the second pixel of the longer one.


smoke ​

ts
smoke: readonly [string, string, string];

Defined in: src/pixel/lifeArt.ts:34

Smoke: light (up-left), middle, dark (down-right).

Released under the MIT License.