G-Switch 3

Seele01-Flash
By
G-Switch 3 is an innovative gravity-defying running game where you control a robotic character through challenging obstacle courses. Master the art of switching gravity to run on walls, floors, and ceilings while avoiding deadly traps.

Prompt

MODEL: Seele01-Flash
Please use Three.js to generate a **mobile-first game** with the theme "**G-Switch 3: Mobile Gravity Runner**". Please read the following detailed game design requirements first, and then generate the code accordingly: ### 1. Assets & Environment * **Visual Style**: Sci-fi / Futuristic aesthetic with a clean, high-contrast look suitable for small screens. Use a **2.5D side-scrolling perspective**. * **Character**: A sleek, low-poly humanoid runner (similar to a stickman but with volume). The character should have **glowing cyan emissive materials** on feet and back to indicate "anti-gravity" gear. * **Environment**: The level is constructed of floating platforms that act as both floors and ceilings. Use dark metallic textures (dark grey/black) for platforms with neon blue edges to ensure visibility against the background. * **Background**: A dynamic gradient (Deep Blue to Cyan) or a scrolling tunnel effect to simulate high speed. * **Performance Optimization**: Use `InstancedMesh` for repetitive platform segments. Limit dynamic lights; rely on ambient light and emissive materials for style to maintain 60FPS on mobile devices. ### 2. Audio Requirements * **BGM**: A fast-paced, high-energy **Techno or Drum & Bass** track (160+ BPM) that loops seamlessly to maintain adrenaline. * **Sound Effects (SFX)**: * **Gravity Switch**: A digital "Whoosh" or "Zing" sound when the player inverts gravity. * **Landing**: A metallic "Clank" or magnetic thud when hitting a surface. * **Death**: A static glitch noise or heavy impact sound. * **UI**: Crisp, digital blips for menu interactions. ### 3. Gameplay Loop * **Core Mechanic**: The character runs automatically to the right at a constant (slowly increasing) speed. The player does **not** control movement, only gravity. * **Gravity Switching**: When the player taps the screen, gravity instantly inverts (e.g., from -Y to +Y). The character falls "up" to the ceiling or "down" to the floor. * **Traversal**: The player must switch gravity to avoid gaps, run over obstacles, and navigate vertical walls that require mid-air switching. * **Win/Loss Condition**: * **Loss**: If the character falls off the screen (top/bottom) or hits a vertical wall obstacle, the game ends. * **Score**: Based on distance traveled (Endless Mode). ### 4. Mobile Controls & Interaction * **Control Scheme**: **One-Tap Gameplay**. The entire screen is the touch active area. * `touchstart` event triggers the Gravity Switch. * Prevent default browser behaviors (zooming/scrolling) on touch. * **Orientation**: **Landscape Mode** is mandatory to allow the player to see obstacles ahead. Code should detect orientation and prompt the user to rotate if in Portrait. * **Camera Behavior**: The camera should follow the player on the X-axis but stay relatively centered on the Y-axis. It should slightly "lead" the player (show more space in front than behind). * **Feedback**: * **Haptic**: Trigger `navigator.vibrate(10)` on every gravity switch and a longer vibration on death. * **Visual**: A "motion trail" or "ribbon" effect behind the character to visualize the path and speed. 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 a revolutionary gravity-defying skill game that challenges your reflexes and spatial thinking. As the third installment in the popular G-Switch series, this game takes the innovative gravity-switching mechanic to new heights with enhanced graphics, smoother gameplay, and expanded multiplayer features.

In G-Switch 3, you control a sleek robotic runner who can defy the laws of physics by switching gravity at will. Navigate through intricate obstacle courses filled with deadly traps, spinning blades, and challenging terrain that will test your timing and precision.

Core Features

Revolutionary Gravity Mechanics

The core gameplay revolves around the unique gravity-switching system. With a simple click or key press, your character can instantly change which surface they're running on - seamlessly transitioning from floor to ceiling to walls. This mechanic creates endless possibilities for creative movement and strategic navigation.

Multiple Game Modes

  • Campaign Mode : Progress through carefully designed levels with increasing difficulty
  • Endless Mode : Test your endurance in an infinite runner challenge
  • Multiplayer Mode : Compete with up to 7 friends simultaneously for the ultimate challenge

Stunning Visual Design

The game features a sleek, futuristic aesthetic with smooth animations and vibrant color schemes. The robotic character design and sci-fi environments create an immersive experience that perfectly complements the innovative gameplay mechanics.

Cross-Platform Compatibility

Built as a web-based game, G-Switch 3 runs smoothly on any device with a modern browser. Whether you're playing on desktop, laptop, tablet, or smartphone, you'll enjoy the same high-quality experience.

Gameplay Mechanics

Mastering the Switch

The key to success in G-Switch 3 lies in perfecting your timing. You'll need to anticipate obstacles and switch gravity at precisely the right moment. Running upside down on the ceiling might help you avoid ground-based hazards, while wall-running can navigate tight spaces.

Obstacle Navigation

The game features a variety of challenging obstacles: - Spinning Blades : Require precise timing to avoid - Moving Platforms : Test your adaptability - Narrow Passages : Demand quick gravity switches - Multi-level Challenges : Utilize all available surfaces

Operation Guide

Basic Controls

G-Switch 3 features incredibly simple yet responsive controls: - Left Mouse Button : Switch gravity direction - Any Keyboard Key : Alternative gravity switch control - Spacebar : Recommended keyboard control for consistent performance

Pro Tips for Success

  1. Anticipate, Don't React : Switch gravity just before obstacles, not when you hit them
  2. Find Your Preferred Control : Experiment with both mouse and keyboard to discover what feels most natural
  3. Practice Rhythm : Develop a sense of timing for consistent performance
  4. Use All Surfaces : Don't limit yourself to floor running - walls and ceilings offer strategic advantages

Multiplayer Strategy

When playing with friends, coordination becomes crucial. Watch other players' movements and use their mistakes as learning opportunities. Sometimes following the leader works, other times taking a different path gives you the advantage.

Why Play G-Switch 3

Unique Gaming Experience

G-Switch 3 offers something truly different from traditional running games. The gravity-switching mechanic creates a fresh challenge that keeps you engaged and constantly learning new strategies.

Perfect for All Skill Levels

While easy to learn, G-Switch 3 offers incredible depth for those seeking mastery. Beginners can enjoy the basic mechanics, while advanced players can perfect speedrun techniques and compete in multiplayer matches.

Social Gaming Fun

The multiplayer mode transforms G-Switch 3 from a solo challenge into a social experience. Compete with friends, family, or AI opponents for hours of entertainment.

Completely Free

Enjoy the full G-Switch 3 experience without any cost. No downloads, no subscriptions, no hidden fees - just pure gaming fun accessible through your web browser.

Instant Access

No installation required means you can jump into the action immediately. Perfect for quick gaming sessions during breaks or extended play sessions with friends.

Frequently Asked Questions (FAQ)