Crossy Road - Endless Road Crossing Adventure

Seele01-Flash
By
Crossy Road is a viral endless arcade game where you guide characters across busy roads, rivers, and train tracks. Collect coins, unlock new characters, and challenge your timing skills in this addictive pixel-art adventure.

Prompt

MODEL: Seele01-Flash
Please use Three.js to generate a **mobile-first game** with the theme "**Crossy Road (Voxel Endless Hopper)**". Please read the following detailed game design requirements first, and then generate the code accordingly: ### 1. Assets & Environment * **Visual Style**: Strictly **Voxel Art** (Cube-based aesthetic). All models (player, cars, trees, landscape) must be constructed from combined `THREE.BoxGeometry`. The aesthetic should be low-poly, bright, and cartoonish. * **Player Character**: A "Voxel Chicken" composed of simple white cubes with red details (comb) and orange details (beak/feet). * **Procedural Terrain**: The world consists of infinite horizontal strips (lanes) generated as the player moves forward: * **Grass Strips**: Safe zones with voxel trees (obstacles). * **Road Strips**: Gray asphalt where voxel cars/trucks move at varying speeds (left or right). * **River Strips**: Blue water where logs (floating platforms) move. Falling into water results in death. * **Rail Strips**: Tracks where a warning light flashes before a high-speed train zooms past. * **Camera & Lighting**: Use an **OrthographicCamera** positioned at an isometric angle (e.g., `position.set(20, 20, 20)` looking at `0,0,0`) to perfectly mimic the classic arcade look. Use `DirectionalLight` with soft shadows to give depth to the cubes. * **Performance**: Use simple materials (`MeshLambertMaterial` or `MeshPhongMaterial`) with flat colors (no complex textures). Implement an object pooling system for cars and logs to maintain 60 FPS on mobile devices. ### 2. Audio Requirements * **BGM**: A catchy, staccato, retro-arcade style loop. It should be lighthearted and rhythmic. * **Sound Effects (SFX)**: * **Movement**: A distinct, short "Pop" or "Boing" sound for every hop. * **Collision/Death**: A flat "Splat" sound (car hit) or a "Splash" sound (water). * **Traffic**: Random car honks. * **Train**: A fast-paced "Ding-ding-ding" warning bell before the train arrives. * **Coin**: A high-pitched "Chime" when collecting coins. ### 3. Gameplay Loop * **Core Mechanic**: The player hops one grid unit at a time. The goal is to get as far forward as possible. * **Scoring**: +1 Score for every unique forward step taken. * **Hazards**: * **Static**: Trees and rocks block movement. * **Dynamic**: Cars/Trucks kill on contact. Trains kill on contact. Water kills if not on a log. * **The Eagle**: If the player stands still for too long (e.g., 5 seconds), a shadow appears, a screech plays, and an eagle swoops down to kill the player (Game Over). * **Coins**: Randomly placed yellow voxel coins on the map. Collecting them increases a separate currency counter. * **Game Over**: Instant restart capability. When the player dies, the character should flatten (scale Y axis to 0.1) or explode into small cube particles. ### 4. Mobile Controls & Interaction * **Control Scheme (Gestures)**: * **Tap (Anywhere)**: Hop Forward (Primary action). * **Swipe Left/Right**: Hop Left/Right. * **Swipe Down**: Hop Backward. * **Movement Logic**: The movement must be grid-based (snapping to integers). Use a simple tween/lerp for the "hop" animation (arc movement on Y-axis) rather than sliding. * **Screen Orientation**: **Portrait Mode** (Vertical) is mandatory to match the screenshot and one-handed gameplay style. * **UI/UX**: * **Start Screen**: A pulsing "Tap to Start" text overlay. * **In-Game UI**: High-contrast Score counter at the top center. * **Feedback**: Subtle camera shake when hit by a car. A white flash overlay on death. * **Touch Areas**: Ensure the entire screen detects taps; do not rely on small buttons for movement. Do not ask for clarification. Do not request confirmation. Directly execute the generation task based on the given instructions.

Game Introduction

About the Game

Crossy Road is the wildly popular endless arcade game that has captivated millions of players worldwide. This charming pixel-art adventure challenges you to cross increasingly dangerous roads, rivers, and railway tracks without getting hit by traffic, trains, or drowning in water. The game combines simple tap-to-move controls with strategic timing, creating an addictive experience that's easy to learn but challenging to master.

Core Features

Endless Gameplay Experience

Crossy Road offers unlimited gameplay with procedurally generated levels that ensure no two runs are exactly the same. Each attempt presents new challenges as traffic patterns, river layouts, and train schedules change dynamically.

Character Collection System

One of the game's most beloved features is its extensive character roster. Collect coins during gameplay to unlock new characters through the Prize Machine. Each character brings unique personality and charm to your crossing adventure, from the classic chicken to exotic animals and themed characters.

Charming Pixel Art Style

The game features a distinctive voxel-based art style with bright, colorful graphics that appeal to players of all ages. The clean visual design makes it easy to identify obstacles and plan your moves while maintaining an engaging aesthetic.

Cross-Platform Accessibility

Enjoy Crossy Road across multiple platforms including web browsers, mobile devices, and tablets. The game maintains consistent performance and visual quality regardless of your chosen platform.

Game Mechanics

The core gameplay revolves around precise timing and quick decision-making. Players must observe traffic patterns, identify safe gaps, and execute perfectly timed moves to advance. The challenge intensifies as you progress, with faster vehicles, more complex river crossings, and frequent train arrivals.

Coin Collection Strategy

Coins scattered throughout levels serve as both score multipliers and currency for character unlocks. Strategic coin collection requires balancing risk and reward - some coins are easily accessible, while others demand precise timing and courage to obtain safely.

Survival Elements

The game incorporates survival mechanics where hesitation can be deadly. Wait too long in one spot, and you'll face consequences. This time pressure adds urgency to every decision, making each successful crossing feel rewarding.

How to Play

Basic Controls: - Tap or Click : Move forward one step - Swipe Left/Right : Move sideways (on touch devices) - Arrow Keys : Navigate in all directions (keyboard)

Gameplay Tips: 1. Observe Before Moving : Watch traffic patterns and identify safe crossing windows 2. Collect Coins Strategically : Grab coins when safe, but prioritize survival over collection 3. Time Your Moves : Perfect timing is crucial for crossing busy roads and avoiding trains 4. Don't Wait Too Long : Staying stationary for extended periods can be dangerous 5. Plan Your Route : Look ahead to plan the safest path forward

Why Play Crossy Road

Crossy Road stands out in the endless runner genre by combining simple mechanics with deep strategic gameplay. The character collection system provides long-term goals, while the endless nature ensures unlimited replayability. Its family-friendly design makes it perfect for players of all skill levels, from casual gamers looking for quick entertainment to dedicated players pursuing high scores.

The game's viral popularity stems from its perfect balance of accessibility and challenge. Anyone can start playing immediately, but mastering the timing and developing strategies for high scores provides lasting engagement. The charming pixel art style and whimsical character designs create a welcoming atmosphere that keeps players returning.

Whether you're commuting, taking a break, or looking for engaging entertainment, Crossy Road delivers instant fun with the depth to keep you engaged for hours.

Frequently Asked Questions (FAQ)