Inspiration
We were inspired by the iconic, relaxing Japanese tradition of capybaras soaking in hot springs (onsens) surrounded by floating yuzu fruits - especially during the winter solstice. We wanted to turn this cozy aesthetic into a lively platformer challenge where balancing your citrus haul is just as important as reaching the finish line.
What it does
Kibarashka: Yuzu Rush is a 6-level 2D platformer where you play as a capybara collecting yuzu fruits and stacking them into a growing tower right on top of your head.
- Risk & Reward Stacking: Every yuzu you pick up adds to your head-stack. If you take a hit from a hazard, your tower scatters everywhere, forcing you to scramble and gather the fruits before they disappear.
- 3-Star Level Goals: Reach the onsen at the end of each stage, bring at least 80% of the level's yuzu, and rescue 3 hidden ducklings per stage.
- Full Input Support: Play smoothly with keyboard controls (including variable jump height and an air PLOP slam) or plug in an Xbox-compatible gamepad.
How we built it
We built the game from scratch using TypeScript, Phaser 3, and Vite, deployed on Cloudflare Workers.
- Zero External Art/Audio Assets: All visuals and sprites are procedurally generated directly in code using SVG, and all sound effects are synthesized dynamically via the Web Audio API, paired with the Fredoka font.
- Custom Tooling & Testing: We wrote custom level linters (
lint:levels) to validate map row lengths, spawn points, and onsen placements, alongside automated Playwright end-to-end tests to verify that every single level builds and launches cleanly.
Challenges we faced
- Stack Physics & Scattering: Making the yuzu tower feel responsive while moving and jumping—and ensuring the fruits scatter naturally without clipping out of bounds when the player gets hit—required careful tuning.
- Code-Generated Graphics & Audio: Creating expressive character animations, readable hazards, and satisfying plop sound effects purely through SVG paths and Web Audio synthesis took creative iteration, but kept the bundle ultra-lightweight and fast to load.
Controls
- Move:
A / DorLeft / Right Arrows - Jump:
Space / W / Up Arrow / Z(hold longer to jump higher) or GamepadA - PLOP (Air Slam):
SorDown Arrowin mid-air, or GamepadB - Restart Level:
Ror GamepadY - Pause / Mute:
ESC / P(or GamepadStart) to pause,Mto mute
Built With
- html5
- javascript
- phaser.js
- svg
- typescript
- vite
- web-audio-api