Concepts
Evolution
Stages the buddy grows through over time — the Tamagotchi arc.
Evolution stages (typically 3–6) trigger when conditions are met: total XP, specific skill levels, badges earned, coin thresholds. Each stage gets a new look.
Why evolution exists
Evolution is the long-horizon motivator. Coins reward today. Streaks reward this week. Evolution is the story that spans weeks or months: "egg → baby → teen → master".
The image pipeline regenerates art at each stage so the change is visible immediately.
Example
Stage 2 unlocks at total XP ≥ 500 + "Streak 7" badge. When met,
evolution.readyfires. If auto-evolve is off, the widget shows an "Evolve now" CTA; when the user taps it,operations.waitreturns the new buddy art in 5–20s.
Modes
- Preset — a fixed set of 5 sprite stages per preset.
- Generative — AI-generated art per buddy at each stage. Slower, more unique.
- Hybrid — preset base with a generative overlay for personalised details.
How to set it up
- Pick an evolution model (preset / generative / hybrid).
- Set conditions per stage (XP, skill level, badge, coin).
- Pick a creature style (cute, sci-fi, fantasy, minimal).
- Decide auto vs. manual evolve.
Gotchas
evolution.readyfires even if auto-evolve is off. Show an "Evolve now" CTA so the user knows they can trigger it.- Generative mode takes 5–20s per stage; treat it as an async operation and
use
operations.waitor the widget's built-in loading state. - Equipped marketplace items must work on all stages — test early stage equipment against late stage art.