G-Switch 3 - Gravity Defying Action Game

Seele01-Flash
By
G-Switch 3 is an adrenaline-pumping gravity-defying action game where you run, jump, and switch between surfaces to survive deadly obstacles. Play solo or with up to 7 friends online.

Prompt

MODEL: Seele01-Flash
Please use Three.js to generate a **mobile-first game** with the theme "G-Switch 3 Gravity Runner". Please read the following detailed game design requirements first, and then generate the code accordingly: ### 1. Assets & Environment * **Visual Style**: High-contrast Sci-Fi aesthetic. Use a cool color palette (Cyan, Electric Blue, Gunmetal Grey) similar to the screenshot. * **Player Character**: A low-poly, humanoid robotic runner. Crucial detail: The character must have **glowing neon boots** and backpack accents (Cyan color) to ensure high visibility against dark backgrounds on small mobile screens. * **Environment Generation**: * Create a 2.5D side-scrolling world using `BoxGeometry` for platforms. * Platforms should generate dynamically (Endless Runner style) at both the **top (ceiling)** and **bottom (floor)** of the screen. * Include obstacles like vertical blockers or gaps that force the player to switch sides. * **Mobile Optimization**: * Use simple `MeshLambertMaterial` or `MeshBasicMaterial` to reduce lighting calculations. * Implement object pooling for platform segments to maintain a steady 60 FPS on mobile devices. * Camera: Fixed side-view (OrthographicCamera is preferred for precise platforming, or a narrow FOV PerspectiveCamera). ### 2. Audio Requirements * **BGM**: Fast-paced, high-BPM **Drum and Bass** or **Synthwave** track to induce a state of flow and urgency. * **Sound Effects (SFX)**: * *Gravity Switch*: A sharp, digital "Whoosh" or "Phaser" sound. * *Landing*: A heavy metallic "Clank" (representing magnetic boots hitting the surface). * *Crash/Game Over*: A digital glitch or static noise. ### 3. Gameplay Loop * **Core Mechanic**: The character automatically runs forward (X-axis). The player does not control speed, only gravity. * **Gravity Switching**: * Gravity is binary: either pointing straight Down (-Y) or straight Up (+Y). * The player can switch gravity at any time (even mid-air). This allows for nuanced navigation over complex gaps. * **Collision Logic**: * If the player touches a horizontal surface (floor/ceiling), they run along it. * If the player hits a vertical surface (wall/obstacle) or falls off the screen boundaries (Y-axis), the game ends. * **Progression**: Speed slowly increases over time. Score is based on distance traveled. ### 4. Mobile Controls & Interaction * **Control Scheme**: **One-Tap Gameplay**. The entire screen should function as the input button. * Tap anywhere on the screen -> Invert Gravity immediately. * **Orientation**: **Landscape Mode** (Essential for seeing upcoming obstacles in a runner game). * **Haptic Feedback**: Trigger a short, sharp vibration (using `navigator.vibrate`) every time the player switches gravity to provide tactile confirmation. * **UI Layout**: * **Score**: Large, bold font centered at the top (safe area). * **Restart Button**: A large, easy-to-hit button (at least 60x60px) that appears centrally only after Game Over. * Ensure UI ignores "notch" areas on modern phones. Do not ask for clarification. Do not request confirmation. Directly execute the generation task based on the given instructions.

Game Introduction

About G-Switch 3

G-Switch 3 is the ultimate gravity-defying action game that challenges your reflexes and spatial awareness. As the third installment in the popular G-Switch series, this free online game takes the innovative gravity-switching mechanics to new heights with enhanced graphics, smoother gameplay, and expanded multiplayer capabilities.

In this fast-paced runner, you control a sleek robotic character who can instantly switch gravity orientation, allowing you to run on walls, ceilings, and floors seamlessly. The core challenge lies in timing your gravity switches perfectly to navigate through increasingly complex obstacle courses filled with deadly traps, moving platforms, and environmental hazards.

Core Features

Revolutionary Gravity Mechanics

The signature feature of G-Switch 3 is its intuitive yet challenging gravity-switching system. With just a single button press, you can flip your character's orientation, transforming walls into floors and ceilings into running surfaces. This mechanic creates a unique three-dimensional platforming experience that keeps you constantly engaged.

Multiple Game Modes

  • Campaign Mode : Progress through carefully designed levels with increasing difficulty
  • Endless Mode : Test your skills in an infinite runner with procedurally generated challenges
  • Multiplayer Mode : Compete with up to 7 friends or AI opponents in real-time racing battles

Stunning Visual Design

The game features sleek, futuristic graphics with a distinctive art style. The robotic character design and neon-accented environments create an immersive sci-fi atmosphere that perfectly complements the high-speed gameplay.

Game Playstyle

G-Switch 3 combines elements of parkour, platforming, and endless running into one cohesive experience. Players must maintain constant forward momentum while strategically switching gravity to avoid obstacles. The gameplay requires quick decision-making, precise timing, and spatial reasoning skills.

The difficulty curve is expertly crafted, starting with simple gravity switches and gradually introducing more complex obstacle patterns, moving elements, and tight timing windows. Each level presents new challenges that test different aspects of your gravity-switching mastery.

Operation Guide

Simple Controls

  • Left Mouse Button OR Any Keyboard Key : Switch gravity orientation
  • No movement keys needed : Your character runs automatically

The beauty of G-Switch 3 lies in its elegant simplicity. Unlike complex platform games with multiple button combinations, everything revolves around mastering the single gravity-switch action. This accessibility makes the game easy to learn but incredibly challenging to master.

Pro Tips for Success

  • Timing is Everything : Switch gravity just before hitting obstacles, not when you're already touching them
  • Plan Ahead : Look at upcoming obstacles and plan your gravity switches in advance
  • Practice Makes Perfect : Use the endless mode to hone your reflexes and reaction times
  • Multiplayer Strategy : In competitive modes, focus on your own path rather than watching opponents

Why Play G-Switch 3

Instant Accessibility

G-Switch 3 is completely free and requires no downloads or installations. Simply open your web browser and start playing immediately. The game works perfectly on both desktop computers and mobile devices, making it ideal for quick gaming sessions anywhere.

Endless Replayability

With its combination of campaign levels, endless mode, and multiplayer competitions, G-Switch 3 offers virtually unlimited replay value. The physics-based gameplay ensures that even replaying the same level can feel fresh as you discover new strategies and optimize your runs.

Social Gaming Experience

The multiplayer mode transforms G-Switch 3 from a solo challenge into a social experience. Compete with friends locally or challenge random players online. The simultaneous racing format creates intense, nail-biting competitions where a single mistimed gravity switch can mean the difference between victory and defeat.

Perfect for All Skill Levels

Whether you're a casual gamer looking for quick entertainment or a hardcore player seeking to master every level, G-Switch 3 accommodates all skill levels. The learning curve is gentle enough for beginners while offering sufficient depth to keep experienced players engaged for hours.

The game's innovative gravity mechanics set it apart from traditional platform games, offering a fresh take on the running game genre that feels both familiar and revolutionary.

Frequently Asked Questions (FAQ)