Flip Bottle - One Button Jumping Game

Seele01-Flash
By
Flip Bottle is an addictive one-button physics game that challenges you to master the perfect bottle flip. Time your jumps precisely to hop from object to object and reach the final platform in this deceptively simple yet challenging game.

Prompt

MODEL: Seele01-Flash
Please use Three.js to generate a **mobile-first game** with the theme "Flip Bottle". Please read the following detailed game design requirements first, and then generate the code accordingly: ### 1. Assets & Environment * **Visual Style**: Minimalist Low-Poly 3D with flat shading (no complex textures). Use a soft pastel color palette similar to the screenshot: Teal background walls (`#8ecbc9`), wooden brown furniture, and a bright white/blue plastic bottle. * **Asset Construction**: * **The Player (Bottle)**: Construct using a CylinderGeometry (body), a slightly smaller CylinderGeometry (cap), and a blue ring (label). * **Platforms (Furniture)**: Procedurally generated household items acting as platforms: Tables, Bookshelves, Grandfather Clocks, and TV stands using BoxGeometries. * **Decor**: Add simple framed art on the wall (PlaneGeometry) to create parallax depth. * **Lighting**: Use a DirectionalLight to cast sharp, distinct shadows (mimicking the screenshot's style) and an AmbientLight for base visibility. * **Camera**: Use an OrthographicCamera or a PerspectiveCamera with a narrow Field of View (FOV ~30) positioned to the side (Side-Scroller view). The camera must smoothly follow the bottle's X-axis movement but keep the Y-axis relatively stable to avoid motion sickness. * **Performance**: Mobile optimization is key. Reuse Geometries and Materials. Turn on `renderer.shadowMap.enabled` but keep shadow resolution moderate (e.g., 512x512). ### 2. Audio Requirements * **BGM**: A light, quirky, and repetitive acoustic track (pizzicato strings or marimba) that implies a "sneaky" or "playful" mood. * **SFX**: * **Jump**: A quick "Swish" or "Whoosh" air sound. * **Double Jump**: A higher-pitched variation of the jump sound. * **Landing**: A satisfying "Thud" or plastic "Clack" depending on the surface material. * **Success**: A "Ding" or "Chime" when crossing the finish line. * **Fail**: A "Splat" or comical "Bonk" if the bottle hits the floor. ### 3. Gameplay Loop * **Core Mechanic**: The bottle sits on a starting platform. The player taps to launch the bottle forward and upward. * **Physics**: Apply an impulse force (Up + Forward) and a rotational torque (Spin) simultaneously. * **Double Flip**: If the player taps again while in mid-air, apply a second, smaller impulse and extra rotation to correct the landing. * **Goal**: Navigate from the left side of the room to the right side by landing on furniture without touching the floor ("The Floor is Lava" logic). * **Win Condition**: Land successfully on the final checkered platform. * **Fail Condition**: The bottle touches the "Floor" (y < 0) or topples over and doesn't stabilize upright within 1 second of landing. * **Level Design**: Procedurally generate a sequence of 5-10 gaps of varying widths. ### 4. Mobile Controls & Interaction * **Input Scheme**: One-handed, portrait mode orientation. * **Action**: Full-screen invisible touch button. `touchstart` (or `mousedown`) triggers the Jump. * **Feedback**: * **Haptics**: Trigger `navigator.vibrate(15)` on a successful landing and `navigator.vibrate([30, 50, 30])` on failure. * **Visual Juice**: When the bottle lands, create a small particle explosion (dust/confetti) at the base to emphasize impact. * **UI Overlay**: * Minimalist "Level X" text at the top. * A "Restart" button that appears only upon failure (min-size 44x44px for touch accessibility). * Prevent default browser behaviors (scrolling/zooming) using `touch-action: none` in CSS. Do not ask for clarification. Do not request confirmation. Directly execute the generation task based on the given instructions.

Game Introduction

About the Game

Flip Bottle is a brilliantly simple yet incredibly challenging one-button game that has captivated millions of players worldwide. This physics-based jumping game puts you in control of a water bottle that must flip and jump from object to object to reach the final destination platform. What starts as a simple concept quickly becomes an addictive test of timing, patience, and precision.

The game's minimalist design and straightforward mechanics make it accessible to players of all ages, while the increasing difficulty ensures that even seasoned gamers will find themselves challenged. Each successful flip brings a satisfying sense of accomplishment, making every victory feel well-earned.

Core Features

Perfect One-Button Simplicity

Flip Bottle exemplifies the "easy to learn, hard to master" philosophy. With just a single mouse click or screen tap, you control the entire game. This simplicity means anyone can start playing immediately, but mastering the perfect timing takes practice and skill.

Realistic Physics Engine

The game features accurate physics simulation that makes each bottle flip feel natural and responsive. The bottle's rotation, arc, and landing are all governed by realistic physics, creating an authentic flipping experience that mirrors real-world bottle flipping.

Progressive Difficulty

As you advance through the levels, the gaps between objects become wider, the platforms become smaller, and the timing becomes more critical. This gradual difficulty increase keeps the game challenging without becoming frustratingly impossible.

Instant Restart Feature

When you miss a landing (and you will!), the game instantly restarts, allowing you to jump back into the action without any loading screens or delays. This seamless restart system keeps the gameplay flowing and maintains the addictive "just one more try" feeling.

Cross-Platform Compatibility

Play anywhere, anytime! The game works perfectly on desktop computers, tablets, and smartphones through any modern web browser. Your progress and skills transfer seamlessly between devices.

Gameplay Mechanics

The core gameplay revolves around timing and physics. You must click at precisely the right moment to make the bottle flip with the correct force and rotation to land successfully on the next object. Too early or too late, and the bottle will miss its target entirely.

Each level presents a series of household objects - tables, chairs, shelves, and more - arranged at different heights and distances. You must navigate this obstacle course by making calculated jumps, always aiming for the final platform that marks the level's completion.

The beauty of Flip Bottle lies in its unpredictability. Even when you think you've mastered a particular jump, slight variations in timing can lead to completely different outcomes, keeping every attempt fresh and exciting.

Operation Guide

Controls are incredibly simple: - Mouse : Click the left mouse button to make the bottle jump and flip - Mobile : Tap the screen to trigger the bottle flip - Timing : The longer you hold, the more force is applied to the jump

Strategy Tips: - Watch the bottle's position and rotation before making your next move - Practice the timing on easier jumps to build muscle memory - Pay attention to the distance between objects to judge the required force - Don't rush - take a moment to line up each jump carefully - Learn from failed attempts to improve your timing

Objective : Successfully navigate the bottle from the starting position to the final platform by making a series of perfect flips and jumps.

Why Play Flip Bottle

Perfect for Quick Gaming Sessions

Flip Bottle is ideal for short breaks, commutes, or any time you need a quick gaming fix. Each attempt takes only minutes, making it perfect for busy schedules.

Develops Hand-Eye Coordination

The precise timing required helps improve your reflexes and hand-eye coordination. Regular play can actually enhance your reaction times and spatial awareness.

Stress Relief Through Focus

The game's simple mechanics and requirement for complete focus can provide a meditative break from daily stress. The repetitive nature and need for concentration can be surprisingly relaxing.

No Learning Curve

Unlike complex games that require tutorials and practice to understand, Flip Bottle can be enjoyed immediately. This makes it perfect for players of all experience levels.

Completely Free Entertainment

Enjoy endless hours of entertainment without spending a penny. No hidden costs, no premium features - just pure, free gaming fun.

Social Challenge

Share your progress with friends and family to create friendly competitions. See who can complete the most levels or achieve the longest successful streak.

Frequently Asked Questions (FAQ)