Grow a character
that evolves with your users.
Kaiju hatches when your user checks in, grows up after a 30-day streak and roars at the next check-in. Each stage is a state in his state machine, and every move between stages is an animation Masko made.
What Masko made
One loop for each stage and one animation for each move. Hover a clip to play it.
- Eggloop
- Hatchegg → baby, on checkIn
- Babyloop
- Grow upbaby → adult, at streakDays ≥ 30
- Adultloop
- Roaradult → roar, on checkIn
- Roaringloop
How it works
- 1
Make the character and each stage
Create Kaiju from a prompt or a picture, then make each stage as an image of the same character: the egg, the baby and the adult.
Create a mascot - 2
Connect the stages in a state graph
Each stage is a node with its own loop. Each arrow is a move with the input that triggers it: checkIn hatches the egg, and streakDays ≥ 30 grows him up.
Build a canvas - 3
Let Masko animate it, then play it in your app
Generate all makes every loop and every move. Release the canvas and play it with the Masko player: your app tells it about each check-in and the streak, and the player plays the right move.
Play a canvas
The moves on Kaiju’s canvas
{
"inputs": ["action::checkIn", "context::streakDays"],
"edges": [
{ "id": "egg-to-baby",
"conditions": [{ "input": "action::checkIn", "op": "==", "value": true }] },
{ "id": "baby-to-adult",
"conditions": [{ "input": "context::streakDays", "op": ">=", "value": 30 }] },
{ "id": "adult-to-roar",
"conditions": [{ "input": "action::checkIn", "op": "==", "value": true }] }
]
}Your app, with the Masko player
// mascot is the Masko player playing Kaiju's release.
mascot.set('context::streakDays', user.streakDays);
mascot.fire('action::checkIn');Questions
What makes Kaiju evolve?
Inputs from your app. He hatches on checkIn, grows up when streakDays reaches 30 and roars on the next checkIn. You choose the inputs and the condition on each arrow.
Can a character have more stages?
Yes. Add a node for each stage and an arrow between them. Each new move is one more animation, and a move played backwards is free.
How much did Kaiju cost?
$17.25: $2.75 to explore his look, $0.75 for the stage images, $11.25 for nine animations and $2.50 to redo two roar clips. His full canvas also has a hover between check-ins.
Where can it play?
In websites and in iPhone, iPad, Mac, Android, React Native and Flutter apps, with the Masko player. It runs the state machine and picks the transparent file each platform shows.
