Flappybird Classic - The Original Tap & Fly Challenge

Seele01-Flash
By
Flappybird Classic is the beloved tap-to-fly challenge that became a global sensation. Navigate your orange bird through endless green pipes in this deceptively simple yet incredibly addictive game.

Prompt

MODEL: Seele01-Flash
Please use Three.js to generate a **mobile-first game** with the theme "Flappybird Classic". Please read the following detailed game design requirements first, and then generate the code accordingly: ### 1. Assets & Environment * **Visual Style**: 2.5D Retro Pixel Art style utilizing an **Orthographic Camera** to maintain a flat, classic look while leveraging WebGL performance. * **The Bird**: A simple mesh (BoxGeometry or PlaneGeometry) with an orange pixel-art texture (big eye, yellow body, red beak). It must animate its rotation: tilting upwards (45 degrees) when flapping and rotating downwards (-90 degrees) when falling. * **The Environment**: * **Background**: A static light cyan/sky-blue background color (`#70c5ce`). * **Parallax Background**: A scrolling layer of distant city skyscrapers and bushes at the bottom that moves slower than the foreground to create depth. * **The Ground**: A scrolling strip at the very bottom of the screen with a distinct diagonal stripe pattern to convey speed. * **Obstacles (Pipes)**: Bright green pipes with a darker outline. They generate in pairs (top and bottom) with a randomized gap height (safe zone) in between. * **Mobile Optimization**: Use **Object Pooling** for the pipes. Do not destroy and recreate geometries; instead, recycle pipes that move off the left side of the screen to the right side to prevent garbage collection stutters on mobile devices. ### 2. Audio Requirements * **BGM**: None (Silence is preferred for the "Classic" tension), or a very subtle, low-volume rhythmic 8-bit beat. * **SFX (Synthesized)**: * **Flap**: A short, sharp "whoosh" or light 8-bit jump sound triggers on every tap. * **Score**: A high-pitched, satisfying "ding" or coin sound when passing a pipe pair. * **Impact**: A harsh "smack" or "thud" sound when colliding with a pipe or ground. * **Fall**: A descending whistle or low-pitch noise immediately following the impact. ### 3. Gameplay Loop * **State Machine**: Title Screen (Tap to Start) -> Gameplay -> Game Over (Scoreboard) -> Restart. * **Physics**: * The bird is affected by strong gravity. * **Flap Mechanic**: Applying an instantaneous upward velocity impulse (not acceleration) on input. * **Collision Detection**: Use simple **AABB (Axis-Aligned Bounding Box)** collision detection for performance. Hitting a pipe or the ground (y < ground_level) triggers the Game Over state immediately. * **Scoring**: The score increases by +1 exactly when the bird's X position passes the pipe's X position. * **Difficulty**: The gap between pipes should be narrow enough to be challenging. The horizontal speed of the pipes is constant. ### 4. Mobile Controls & Interaction * **Control Scheme**: Full-screen tap detection. Touching *anywhere* on the screen triggers the "Flap". * **Orientation**: Force **Portrait Mode** design logic (camera aspect ratio adapted for vertical screens). * **UI/UX**: * **HUD**: Display the current score in large, white pixel-font numbers at the top center of the screen. * **Game Over Screen**: A modal showing "Game Over", the current Score, and the Best Score (saved in `localStorage`). * **Start Screen**: A simple graphic showing a hand tapping to instruct the player. * **Feedback**: * **Visual Flash**: Briefly flash the screen white when a collision occurs. * **Screen Shake**: A very subtle camera shake upon 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

Flappybird Classic brings back the iconic gameplay that captivated millions of players worldwide. This seemingly simple yet challenging game features an adorable orange bird that must navigate through a series of green pipes of varying heights. With a perfect 4.3/5 rating from thousands of players, this classic demonstrates why simple concepts often make the most engaging games.

Set against a beautiful blue sky backdrop with distant skyscrapers, the game creates an immersive flying experience that's both relaxing and intensely challenging. The physics-based gameplay means every tap matters, and timing is absolutely crucial for success.

Core Features

Addictive One-Touch Gameplay

The beauty of Flappybird Classic lies in its simplicity. With just a single tap or click, you control your bird's flight path. This accessibility makes it perfect for players of all ages and skill levels, while the challenging nature keeps experienced gamers coming back for more.

Perfect Cross-Platform Experience

  • Mobile Optimized : Smooth touch controls designed for smartphones and tablets
  • Desktop Ready : Precise mouse controls for computer play
  • Browser-Based : No downloads required - play instantly in any modern web browser
  • Universal Compatibility : Works seamlessly across iOS, Android, Windows, and Mac devices

Competitive Scoring System

Every successful pipe passage increases your score, creating an endless challenge to beat your personal best. The integrated leaderboard system lets you compete with friends and players worldwide, adding a competitive edge to this classic arcade experience.

Charming Visual Design

The game features clean, colorful graphics with a cute orange bird character that has become iconic in mobile gaming. The simple yet appealing art style ensures the game runs smoothly on any device while maintaining visual charm.

Game Play Mechanics

Physics-Based Flying

Your bird follows realistic physics - tap to flap and gain altitude, then glide downward when you release. Mastering this rhythm is key to navigating through the challenging pipe obstacles.

Progressive Difficulty

While the core mechanics remain constant, the challenge intensifies as you progress. Pipes appear in different configurations, requiring split-second timing and perfect positioning to survive.

Endless Runner Format

There's no finish line in Flappybird Classic - the goal is pure score maximization. This endless format means every game offers a fresh opportunity to improve and climb the leaderboards.

Operation Guide

Mobile Controls: - Tap the screen to make your bird flap its wings and rise - Release to let the bird glide downward naturally - Use quick, controlled taps for precise altitude control

Desktop Controls: - Click your mouse to make the bird flap and ascend - Release the mouse button to let gravity take effect - Maintain steady rhythm for optimal flight control

Pro Tips: - Find your rhythm - consistent timing is more important than speed - Stay calm under pressure - panic leads to crashes - Practice makes perfect - each attempt teaches you something new - Watch the pipe gaps carefully and plan your approach

Why Play Flappybird Classic

Instant Entertainment

No complex tutorials or lengthy setup required. Jump in and start playing immediately, making it perfect for quick gaming sessions or extended play periods.

Stress Relief and Focus

The simple gameplay mechanics provide a meditative quality that helps players focus and unwind. The repetitive nature can be surprisingly relaxing despite the challenging gameplay.

Social Gaming Fun

Compete with friends and family members to see who can achieve the highest score. The universal appeal makes it perfect for friendly competition across all age groups.

Skill Development

Improves hand-eye coordination, timing, and concentration. The physics-based gameplay teaches players about momentum and precise control.

Nostalgic Gaming Experience

Experience or relive one of mobile gaming's most influential titles. Flappybird Classic represents a pivotal moment in casual gaming history.

Whether you're a seasoned gamer looking for a quick challenge or someone seeking simple entertainment, Flappybird Classic delivers an engaging experience that's easy to start but difficult to master.

Frequently Asked Questions (FAQ)