Orbit - Physics Puzzle Game

Seele01-Flash
By
Orbit is a challenging physics-based puzzle game where you launch satellites into stable planetary orbits. Master gravitational forces and orbital mechanics in this scientifically-inspired space challenge.

Prompt

MODEL: Seele01-Flash
Please use Three.js to generate a **mobile-first game** with the theme "**Orbit**". Please read the following detailed game design requirements first, and then generate the code accordingly: ### 1. Assets & Environment * **Visual Style**: Minimalist "Deep Space" aesthetic. Use a perspective camera but constrain gameplay to the 2D XY plane (2.5D style). * **Planets (Gravity Wells)**: Use `THREE.SphereGeometry`. Apply a `MeshStandardMaterial` with a slight emissive glow (Fresnel effect) to make them look like glowing celestial bodies. * **Blue Planet**: Standard gravity. * **Red Planet**: High gravity/danger zones. * **Satellite (Player)**: A smaller, high-contrast sphere (e.g., bright orange or white). Must have a **Trail Renderer** (use a custom mesh or buffer geometry that updates every frame to draw the path history) so the player can see their orbital trajectory. * **Background**: A procedural particle starfield (`THREE.Points`) that moves slightly (parallax effect) based on camera movement to create depth. * **Optimization**: Keep geometry simple (low segment count for spheres) to ensure 60FPS on mobile browsers. ### 2. Audio Requirements * **BGM**: A generative, ambient "Space Drone" sound—calm, cerebral, and slightly mysterious (Synthesized pads). * **SFX**: * **Launch**: A sci-fi "power-up" and "release" swoosh sound. * **Orbit**: A subtle rhythmic ping or hum that increases in pitch as the satellite moves faster (closer to a planet). * **Crash**: A low-frequency thud/explosion sound. * **Success**: A harmonic chime when a stable orbit is maintained for >5 seconds. ### 3. Gameplay Loop * **Objective**: Launch a satellite so that it enters a **stable orbit** around the central planet(s) without crashing or flying off into the void. * **Physics Engine**: Implement a custom Newtonian gravity simulation. * Formula: Force = $G \times (Mass1 \times Mass2) / Distance^2$. * Calculate the gravitational pull from all planets on screen affecting the satellite every frame. * **Level Generation (The "Random" Tag)**: * Procedurally generate the size, position, and mass of planets for each level. * "Hard" Mode: Include invisible gravity wells (Dark Matter) or multiple bodies to create chaotic 3-body problem scenarios. * **Win Condition**: The satellite must complete 3 full revolutions or stay within the screen bounds for 10 seconds. * **Lose Condition**: Collision with a planet or moving too far beyond the screen frustum. ### 4. Mobile Controls & Interaction * **Control Scheme**: **"Slingshot" mechanic** (Drag and Release). * **Touch Start**: Select the launch position. * **Touch Drag**: Pull back to determine power and angle. * **Visual Feedback**: Draw a dotted line (Trajectory Predictor) showing the launch vector opposite to the drag direction. * **Touch End**: Launch the satellite. * **Orientation**: **Landscape Mode** preferred to visualize wide elliptical orbits. * **UI Layout**: * Minimalist HUD. A "Reset" button in the top-right corner (min size 44x44px). * Score/Orbit counter in the top-center. * **Haptic Feedback**: Trigger a short vibration pattern (using `navigator.vibrate`) when the satellite crashes or successfully completes a lap. Do not ask for clarification. Do not request confirmation. Directly execute the generation task based on the given instructions.

Game Introduction

About the Game

Orbit is a captivating physics puzzle game that challenges your understanding of gravitational mechanics and orbital dynamics. With a rating of 3.6/5 from players, this space-themed puzzle offers a unique blend of scientific accuracy and engaging gameplay. Navigate the complexities of planetary gravity as you launch satellites into perfect orbits around celestial bodies.

The game draws inspiration from real astronomical principles that once challenged our understanding of the universe. Experience the same gravitational forces that govern planetary motion, comet trajectories, and satellite orbits in our solar system.

Core Features

Realistic Physics Simulation

Orbit employs authentic gravitational physics to create challenging puzzle scenarios. Each level requires careful calculation of velocity, trajectory, and gravitational pull to achieve stable orbital patterns.

Progressive Difficulty System

Tagged as a "Hard" game, Orbit gradually increases complexity as you advance through levels. Master basic orbital mechanics before tackling multi-planetary systems and complex gravitational fields.

Educational Space Science

Learn real orbital mechanics principles while having fun. The game accurately represents how gravity affects objects in space, making it both entertaining and educational.

Minimalist Design

Clean, focused interface keeps your attention on the physics puzzle without visual distractions. The simple aesthetic highlights the elegant beauty of orbital mechanics.

Gameplay Mechanics

Each level presents a unique gravitational challenge where you must:

  • Launch satellites with precise velocity and direction
  • Navigate gravitational fields around planets and celestial bodies
  • Achieve stable orbits that maintain consistent patterns
  • Avoid collisions with planetary surfaces and obstacles
  • Master complex multi-body systems in advanced levels

The game features randomly generated elements, ensuring fresh challenges even after multiple playthroughs.

Controls and Operation

Orbit uses intuitive mouse controls for satellite launching:

  • Mouse Click and Drag : Aim your satellite launch direction and set initial velocity
  • Release : Launch the satellite into the gravitational field
  • Observe : Watch as realistic physics determine the orbital path

The simple control scheme allows you to focus entirely on the strategic elements of orbital planning.

Why Play Orbit?

Scientific Accuracy

Experience genuine physics principles that govern our universe. Understanding orbital mechanics has never been more engaging or accessible.

Mental Challenge

This puzzle game exercises spatial reasoning, physics intuition, and strategic planning skills. Perfect for players who enjoy intellectually stimulating challenges.

Relaxing Yet Engaging

While challenging, the game's minimalist design and smooth physics create a meditative experience as you watch satellites trace elegant orbital paths.

Educational Value

Ideal for students, educators, or anyone curious about space science. Learn fundamental concepts of gravity, velocity, and orbital mechanics through interactive gameplay.

Free Browser Access

No downloads required - play instantly in any modern web browser. Perfect for quick puzzle sessions or extended strategic gameplay.

Frequently Asked Questions (FAQ)