CranberryClock.Ideas / Systems / Design

INDEPENDENT TOOLCharges & cooldowns

Tempo

A little patience. A little magic.

Charges, cooldowns, and the space between spells. Make every moment feel intentional.

MIT LICENSEv0.1.0MODULAR BY DESIGN
THE SPELLGARDEN — Tempo showcase identity
AN INTERACTIVE STUDY

The Spellgarden

Three spells. Six little crystals.
Make something luminous.

PRACTICE CLOCK RUNNING
Press 1, 2, or 3. Every crystal is a charge.
THE RULE IS THE PRODUCT

Spend three charges.
Get them back one at a time.

Recharging is sequential: spend all three Comet steps and the first returns after 3.5 seconds, the next after 7, the last after 10.5. Using another stored charge keeps the current recharge moving.

Pause the host clock and everything waits. Resume, scale time, or restore a snapshot and the same explicit policy still applies.

const cast = tempo.tryUse('blink');
if (cast.ok) world.cast('blink');

// Your game loop owns time.
const events = tempo.tick(dt);

FROM SHOWCASE TO YOUR PROJECT

Take the good parts with you.

Spend charges, watch them return, and separate global cooldowns from each ability’s own clock.

Download the archive, then install locally.

npm install ./cranberry-forge-tempo-0.1.0.tgz
Download archive ↓Read the integration guide ↗