A tiny 2D action-platformer created for js13kGames 2026, built around the theme Unicorns and Rainbows.
A powerful curse has stripped a Rainbow Guardian of its magic and scattered its seven colours across the world. Play as the cursed black unicorn, defeat the guardians, recover the colours, unlock their powers, and face the wizard responsible.
Once, a unicorn protected a world filled with colour and magic.
A mysterious wizard wanted the power contained within its rainbow horn. Instead of simply stealing it, he cursed the unicorn and shattered its rainbow power into seven colours.
Now the unicorn is weak, corrupted, and almost completely black.
The seven colours have been scattered across different worlds and placed under the protection of powerful guardians.
Recover them all, break the curse, and restore the rainbow.
| Colour | Power | Gameplay |
|---|---|---|
| ๐ด Red | Fireball | Burns vines and enemies |
| ๐ Orange | Dash | Cross long gaps and escape attacks |
| ๐ก Yellow | Lightning | Strike nearby enemies |
| ๐ข Green | Grow | Create platforms and heal |
| ๐ต Blue | Freeze | Freeze water and enemies |
| ๐ฃ Indigo | Teleport | Blink through thin walls |
| ๐ช Violet | Time | Slow the world down |
The seven colours aren't just collectibles โ each one changes how you play.
- The Forgotten Forest โ ๐ด Red Guardian
- The Broken Canyon โ ๐ Orange Guardian
- The Dark Caves โ ๐ก Yellow Guardian
- The Corrupted Garden โ ๐ข Green Guardian
- The Flooded Ruins โ ๐ต Blue Guardian
- The Void Castle โ ๐ฃ Indigo Guardian
- The Time Tower โ ๐ช Violet Guardian
After recovering all seven colours, the unicorn faces the Wizard in the final battle.
Explore โ Fight โ Solve โ Defeat Guardian โ Recover Colour โ Gain Power โ Repeat
Keyboard
A / Dโ MoveWโ Jump / Double JumpSPACE/ Mouse Click โ AttackKโ Use current colour powerEโ Switch colour power1โ7โ Select an unlocked colour
Touch / Mobile
- On-screen controls appear automatically when using touch.
The curse is part of the gameplay, not just the story.
Using colour powers increases Corruption. As corruption rises, the unicorn begins to glitch and the screen becomes increasingly distorted.
Managing power and corruption adds a small risk/reward element while keeping the main objective simple: recover the seven colours and break the curse.
This game was designed around the 13 KB challenge.
Instead of large image assets and sprite sheets, the game uses:
- HTML5 Canvas
- Procedurally drawn characters
- Procedurally generated environments
- Reusable enemy and guardian systems
- Particle effects
- Synthesized sound
- Compact JavaScript
- Data-driven level progression
The unicorn, enemies, guardians, environments, effects, and story scenes are drawn directly with Canvas to keep the game extremely small.
Recover all seven colours.
Become the complete Rainbow Unicorn.
Defeat the wizard.
Break the curse. Restore the rainbow. ๐๐ฆ
Theme: Unicorns and Rainbows
Genre: 2D Action / Platformer
Technology: HTML5 Canvas + JavaScript
Target: Ultra-small browser game