Rolling Tires - Physics Puzzle Game

Seele01-Flash
By
Rolling Tires is an engaging physics-based puzzle game where you manipulate wheels and vehicles to solve challenging brain teasers. Use realistic physics mechanics to roll, knock, and drop tires to their designated targets.

Prompt

MODEL: Seele01-Flash
Please use Three.js to generate a **mobile-first game** with the theme "Rolling Tires". Please read the following detailed game design requirements first, and then generate the code accordingly: ### 1. Assets & Environment * **Visual Style:** 2.5D Low-poly Cartoon aesthetic. The game should look like a modern reimagining of a classic Flash game. Use vibrant, flat colors with soft shadows. * **The Car (Target):** A stylized, blocky yellow taxi cab composed of primitive shapes (BoxGeometry). It should be missing one rear wheel, with a glowing "ghost" indicator showing where the tire needs to go. * **The Tire (Player Object):** A distinct 3D TorusGeometry with silver rim details. It must have high physics restitution (bounciness) and friction properties appropriate for rubber. * **Environment:** * **Interactable Objects:** Wooden crates (brown), Ice blocks (blue/slippery), and Metal beams (static/grey). * **Background:** A warm, desert-themed gradient skybox (orange to light yellow) with simple low-poly dunes in the distance to add depth without consuming performance. * **Mobile Optimization:** Use an OrthographicCamera to maintain a precise 2D puzzle perspective. Limit real-time lights to one directional light and one ambient light. Use instanced mesh for repeated environmental blocks if possible. ### 2. Audio Requirements * **BGM:** A quirky, lighthearted "thinking" track. Pizzicato strings or light marimba rhythms that loop seamlessly. It should be relaxing, not urgent. * **Sound Effects (SFX):** * **Interaction:** A satisfying "Pop" or "Wood crack" sound when the player taps to destroy a crate. * **Tire:** A "Boing" or rubbery thud when the tire hits the ground. * **Win:** A "Click/Ratchet" sound when the tire attaches, followed by a short engine rev and a cheerful "Yaay" fanfare. * **UI:** Soft clicks for menu buttons. ### 3. Gameplay Loop * **Objective:** The player must deliver the loose tire to the stationary yellow taxi by manipulating the environment. * **Mechanics:** * **Gravity & Physics:** The game starts paused. When the player interacts, physics activates (using a library like Cannon-es or similar logic). * **Click-to-Destroy:** The primary interaction is tapping breakable objects (wooden crates) to remove them, causing the tire to fall or roll due to gravity. * **Ramps & Slopes:** Use static triangles/wedges to guide the rolling tire. * **Win Condition:** The tire collides with the car's missing wheel hitbox. The tire snaps into place, and the car drives off-screen. * **Fail Condition:** The tire falls off the bottom of the screen or gets stuck in a dead zone for more than 5 seconds. ### 4. Mobile Controls & Interaction * **Touch Input:** * Use a `Raycaster` attached to `touchstart` events. * Tap interaction must be precise. When a user taps a breakable block (e.g., a crate), it instantly disappears (particle effect recommended for feedback). * **Orientation:** Landscape mode preferred, but the Orthographic camera zoom should auto-adjust to fit the level width if the user is in Portrait mode. * **UI & Feedback:** * **Restart Button:** A large, accessible refresh icon (at least 44x44px) in the top-right corner for quick retries. * **Haptic Feedback:** Trigger a short vibration (using `navigator.vibrate`) when the tire hits the car or when a block is destroyed. * **Visual Feedback:** Create a small particle explosion (simple squares) when a block is destroyed to mask the mesh removal. Do not ask for clarification. Do not request confirmation. Directly execute the generation task based on the given instructions.

Game Introduction

About the Game

Rolling Tires is a captivating physics puzzle game that challenges your problem-solving skills and understanding of real-world physics. In this brain-teasing adventure, you'll encounter various levels featuring vehicles and detached wheels that need to be reunited through clever manipulation of physics forces.

The game combines intuitive gameplay with increasingly complex puzzles, making it perfect for players who enjoy both casual gaming and challenging brain teasers. With its simple concept but deep mechanics, Rolling Tires offers hours of engaging puzzle-solving entertainment.

Core Features

Physics-Based Gameplay

Experience realistic physics mechanics as you interact with wheels, vehicles, and environmental objects. Every action follows natural physics laws, creating authentic and satisfying puzzle solutions.

Progressive Difficulty

Start with simple wheel-rolling challenges and advance to complex multi-step puzzles that require strategic thinking and precise timing.

Brain Training Benefits

  • Problem-solving skills : Analyze each level to find the optimal solution
  • Spatial reasoning : Understand how objects interact in 3D space
  • Physics comprehension : Learn basic physics principles through gameplay
  • Strategic thinking : Plan multiple moves ahead to achieve objectives

Accessible Design

The game features clean, colorful graphics and intuitive controls that make it suitable for players of all ages and skill levels.

Game Mechanics

Each level presents a unique scenario with a vehicle missing its wheel. Your objective is to use various physics interactions to guide the detached tire back to where it belongs. This might involve:

  • Rolling : Use gravity and momentum to roll wheels down slopes
  • Knocking : Interact with objects to create chain reactions
  • Dropping : Time releases perfectly to land wheels in target areas
  • Bouncing : Utilize elastic collisions to redirect wheel movement

Operation Guide

Mouse Controls : The entire game is controlled using simple mouse interactions - Click and drag : Move objects and set up physics interactions - Click : Trigger mechanisms and release objects - Hover : Preview potential interactions and movement paths

The intuitive mouse-only control scheme makes the game immediately accessible while still allowing for precise manipulation of game elements.

Why Play Rolling Tires

Perfect for Puzzle Lovers : If you enjoy games that make you think, Rolling Tires offers the ideal blend of logic and physics-based challenges.

Educational Value : Learn physics concepts naturally through gameplay, making it great for students and curious minds.

Stress-Free Gaming : The game's relaxed pace allows you to think through solutions without time pressure, making it perfect for unwinding.

Universal Appeal : With content suitable for all ages and no violent themes, it's appropriate for family gaming sessions.

Browser Convenience : Play instantly without downloads or installations - just open your browser and start solving puzzles.

Frequently Asked Questions (FAQ)