Robot Unicorn Attack

Seele01-Flash
By
Robot Unicorn Attack is an epic fantasy platform game where you play as a majestic robot unicorn chasing dreams through a magical world. Leap, dash, and collect points while enjoying beautiful music and stunning visuals.

Prompt

MODEL: Seele01-Flash
Please use Three.js to generate a **mobile-first game** with the theme "**Robot Unicorn Attack - 3D Endless Runner**". Please read the following detailed game design requirements first, and then generate the code accordingly: ### 1. Assets & Environment * **Visual Style**: Recreate the iconic "Epic Fantasy" aesthetic of the original Flash game but in 3D. The world should be bathed in purple, pink, and silver hues. Use a glowing, bloom-heavy rendering pipeline to simulate a dreamlike state. * **Player Character (The Unicorn)**: Create a sleek, robotic silver unicorn model. Key features include a glowing mane and tail (using rainbow shader materials) that trail behind the player as they move. * **Environment Generation**: * **Platforms**: Floating islands made of purple crystalline grass and rocky bottoms. * **Background**: A parallax scrolling starry sky with nebulae, featuring massive, dreamlike planets or moons in the distance. * **Obstacles**: Large, jagged "Star Crystals" that block the path (destructible via dashing). * **Collectibles**: Floating "Fairy Birds" or "butterflies" glowing in various neon colors. * **Visual Effects (VFX)**: * **Rainbow Trail**: A ribbon trail geometry that follows the unicorn constantly. * **Explosions**: When crystals are destroyed via Dash, they should shatter into glass-like shards with particle emitters. * **Death**: When colliding (without dashing) or falling, the unicorn should explode in a burst of robotic parts and rainbow light. ### 2. Audio Requirements * **BGM (Crucial)**: The game *must* feature a synthesized, high-energy 80s synth-pop track reminiscent of "Always" by Erasure. The loop needs to be seamless and euphoric, driving the fast pace. * **Sound Effects (SFX)**: * **Jump**: A magical, shimmering synthesizer chime. Double jump adds a higher pitch layer. * **Dash**: A "laser-whoosh" sound combined with a thunderclap impact when hitting obstacles. * **Collect**: A delicate, high-pitched bell "ding" for collecting fairies. * **Crash/Fail**: A robotic power-down sound followed by a heavy metallic crash. ### 3. Gameplay Loop * **Core Mechanics**: Auto-running side-scroller (camera fixed to the side but with slight 3D perspective depth). * **Lives System**: The player has exactly **3 Lives (Wishes)** per session. The total score is the sum of scores from all three attempts. * **Controls Logic**: * **Jump**: Standard parabolic arc. Can be triggered again in mid-air for a Double Jump. * **Dash**: A temporary burst of speed and invulnerability that flies horizontally straight forward. This is required to smash through "Star Crystals". * **Progression**: The scrolling speed gradually increases over time, requiring faster reaction times. * **Scoring**: * Distance traveled (points per second). * +10 Points for smashing a Star Crystal. * +10 Points for collecting a Fairy. ### 4. Mobile Controls & Interaction * **Orientation**: **Landscape Mode** (Fullscreen). * **Touch Controls (Split Screen)**: * **Left Half of Screen**: Tap to **Jump**. Tap again in air to **Double Jump**. * **Right Half of Screen**: Tap and hold (or tap) to **Rainbow Dash**. * **UI Layout**: * **HUD**: Large, retro-styled font displaying "Score" (top left) and "Wishes Left" (top right, represented by unicorn icons). * **Game Over Screen**: A summary showing the score for Wish 1, Wish 2, and Wish 3, followed by a "Total Harmony" score and a large "Play Again" button (min 60px height). * **Feedback**: * **Haptic Feedback**: Trigger a short vibration (using `navigator.vibrate`) when crashing or smashing a crystal. * **Visual Feedback**: Screen shake effect on crystal impact. Do not ask for clarification. Do not request confirmation. Directly execute the generation task based on the given instructions.

Game Introduction

About the Game

Robot Unicorn Attack is a beloved fantasy platform game that combines whimsical charm with challenging gameplay. As a beautiful robot unicorn, you'll dash through a dreamlike world filled with sparkling stars, rainbow crystals, and magical creatures. This classic title has captivated millions of players worldwide with its unique blend of fantasy aesthetics and addictive endless runner mechanics.

The game features stunning visual design with a vibrant color palette of purples, pinks, and rainbow hues that create an enchanting atmosphere. Set against a backdrop of twinkling stars and floating platforms, every moment feels like you're galloping through a fairy tale.

Core Features

Magical Fantasy World

Explore a breathtaking fantasy realm filled with: - Sparkling celestial environments with stars and cosmic backgrounds - Rainbow crystals that shatter beautifully when you dash through them - Colorful birds that flutter around, waiting to be collected - Floating platforms that challenge your timing and precision - Beautiful soundtrack featuring inspiring music that enhances the magical experience

Endless Runner Mechanics

The game combines classic platform jumping with modern endless runner elements: - Progressive difficulty - gameplay speeds up as you advance - Three lives system - known as "wishes" to fit the fantasy theme - Score-based progression - compete against your personal best - Smooth controls - responsive jumping and dashing mechanics

Unique Robot Unicorn Character

Play as a magnificent robot unicorn with: - Double jump ability for reaching high platforms - Rainbow dash attack to smash through crystal obstacles - Graceful animations that bring the character to life - Magical trail effects that follow your movements

Gameplay Mechanics

The objective is simple yet challenging: keep your robot unicorn running for as long as possible while collecting points and avoiding obstacles. The game tests your reflexes and timing as the pace gradually increases.

Scoring System

  • Birds : Collect flying birds for bonus points
  • Crystals : Rainbow dash through crystal formations for maximum points
  • Distance : Earn points based on how far you travel
  • Survival : The longer you survive, the higher your score multiplier

Challenge Elements

  • Increasing speed : The game accelerates over time
  • Platform gaps : Precisely time your jumps
  • Crystal obstacles : Use rainbow dash to break through or jump over
  • Limited lives : Make each of your three wishes count

Operation Guide

Master these simple but effective controls:

  • Z Key : Jump (press twice for double jump)
  • X Key : Rainbow dash attack
  • Timing is crucial : Watch the rhythm of platforms and obstacles
  • Plan your moves : Look ahead to anticipate upcoming challenges
  • Use double jump wisely : Save it for when you really need the extra height

Pro Tips

  • Rainbow dash through crystals for maximum points
  • Collect every bird you can reach safely
  • Don't rush - sometimes patience leads to higher scores
  • Practice the timing of double jumps for tricky platform sequences

Why Play Robot Unicorn Attack

This game offers a perfect blend of accessibility and challenge that appeals to players of all skill levels:

For Casual Players: - Easy to learn controls - Beautiful, relaxing visuals - Inspiring soundtrack - No time pressure - play at your own pace

For Competitive Players: - High score challenges - Increasing difficulty keeps you engaged - Precision gameplay rewards skill development - Endless replayability

Universal Appeal: - Free to play with no hidden costs - Works in any web browser - Quick sessions perfect for breaks - Nostalgic charm of classic web gaming - Family-friendly content suitable for all ages

Platform Support

Robot Unicorn Attack is accessible across multiple platforms: - Web browsers : Play directly without downloads - No Flash required : Modern HTML5 version available - Cross-platform compatibility : Works on Windows, Mac, and mobile devices - Instant loading : Start playing within seconds

Frequently Asked Questions (FAQ)