Supernova - Space Ship Flying Adventure

Seele01-Flash
By
Supernova is an exciting space ship flying game where you navigate through procedurally generated colorful tunnels while dodging obstacles. Master precise controls to unlock multiple vehicles and achieve the highest score possible.

Prompt

MODEL: Seele01-Flash
Please use Three.js to generate a **mobile-first game** with the theme "Supernova Tunnel Racer". Please read the following detailed game design requirements first, and then generate the code accordingly: ### 1. Assets & Environment * **Visual Style:** Create a high-contrast, low-poly aesthetic. The color palette should be vibrant and neon, featuring a bright cyan track and deep magenta/purple tunnel walls to create a "synthwave" or sci-fi atmosphere. * **Player Ship:** Design a sleek, futuristic spaceship (low-poly count, <500 tris) positioned at the bottom center of the screen. It should have a glowing yellow/gold engine trail effect. * **The Tunnel/Track:** The game takes place inside a cylindrical or hexagonal tunnel. The "track" is a continuous strip along the bottom surface. * **Obstacles:** Generate rotating ring-like structures, fan blades, and geometric pillars that the player must fly through or around. Obstacles should cast dynamic shadows on the track. * **Lighting:** Use a strong directional light coming from "behind" the camera to illuminate the path ahead, plus ambient fog (matching the pink background) to obscure the distant horizon and smooth out the procedural generation pop-in. * **Performance:** Optimize for mobile GPUs by reusing geometries for obstacles (instanced mesh) and avoiding expensive real-time shadows on non-essential objects. ### 2. Audio Requirements * **BGM:** An energetic, fast-paced "Synthwave" or "Retrowave" track with a driving bassline and synthesizer arpeggios that matches the speed of the ship. * **SFX:** * **Engine:** A constant, low-humming sci-fi thruster sound that rises in pitch slightly as the game speed increases. * **Whoosh:** A "wind" or "doppler effect" sound when narrowly passing an obstacle. * **Crash:** A digital "glitch" or explosion sound when the player hits an obstacle. * **UI:** Soft, futuristic "blips" for button taps. ### 3. Gameplay Loop * **Core Mechanic:** Infinite runner style. The ship moves forward automatically. The speed starts moderate and linearly increases over time, making reaction times shorter. * **Procedural Generation:** The tunnel and obstacles are generated endlessly in segments. As one segment passes behind the camera, it is removed, and a new one is created at the front. * **Obstacle Logic:** Obstacles can be static (walls to dodge) or dynamic (rotating fans/rings). Some obstacles should require flying *through* a gap, others require flying *around* them. * **Score System:** Score is based on distance traveled. Display the score prominently at the top center. * **Win/Loss:** The game continues until a collision occurs. On collision, trigger a "Game Over" screen with the final score, a "Best Score" display, and a "Tap to Restart" button. ### 4. Mobile Controls & Interaction * **Control Scheme:** The game must be played in **Portrait Mode** for one-handed playability. * **Touch Input:** * **Steering:** Implement a 1:1 horizontal drag/slide control anywhere on the lower half of the screen. If the user slides their finger left, the ship moves left. Do not use virtual D-pads; fluid swiping is essential. * **Sensitivity:** ensure the ship responds instantly to finger movement without lag. * **Camera:** The camera should follow the ship but with a slight "lag" or smooth damping (Lerp) on the X-axis to create a sense of speed and banking. * **Haptic Feedback:** Trigger a short, sharp vibration (using the navigator.vibrate API) when the player crashes. * **UI Layout:** Ensure the "Start" and "Restart" buttons are large (minimum 60px height) and placed in the lower-middle thumb-accessible zone. Do not ask for clarification. Do not request confirmation. Directly execute the generation task based on the given instructions.

Game Introduction

About the Game

Supernova is a thrilling skill-based flying game that challenges your reflexes and precision. Pilot your spaceship through stunning, procedurally generated tunnels filled with vibrant colors and dynamic obstacles. As you progress, the speed increases, creating an increasingly challenging experience that will test your flying skills to the limit.

The game features beautiful visuals with a distinctive art style that combines neon colors and geometric shapes, creating an immersive space tunnel experience. Each playthrough offers a unique journey thanks to the procedural generation system, ensuring no two games are exactly alike.

Core Features

Exciting Spaceship Flying Action

Experience the thrill of high-speed space flight as you navigate through colorful cosmic tunnels. The game's physics-based movement system provides smooth, responsive controls that make every maneuver feel precise and satisfying.

Multiple Unlockable Vehicles

Start with a basic spaceship and unlock additional vehicles as you improve your skills. Each ship offers a unique flying experience, allowing you to find the perfect match for your play style.

Procedurally Generated Levels

Every game session presents new challenges with randomly generated tunnel layouts. This ensures endless replayability as you face fresh obstacle patterns and tunnel configurations each time you play.

Progressive Difficulty System

The game starts at a comfortable pace but gradually increases speed as you advance. This creates a natural learning curve that helps new players get comfortable while providing veteran players with intense, fast-paced challenges.

Stunning Visual Design

Feat beautiful, minimalist graphics with vibrant color schemes that create an engaging visual experience. The clean, geometric art style ensures smooth performance while delivering eye-catching visuals.

Gameplay Mechanics

Your objective is simple yet challenging: fly as far as possible while avoiding all obstacles in your path. The spaceship moves forward automatically, and your job is to steer left, right, up, and down to navigate through gaps and around barriers.

As you progress deeper into space, your ship's speed increases, requiring faster reflexes and more precise movements. The key to success is maintaining smooth, controlled movements rather than jerky corrections.

Controls and Operation

Simple Control Scheme

The game uses intuitive controls that are easy to learn but challenging to master:

  • WASD Keys : Use W/A/S/D to control your ship's movement in all directions
  • Arrow Keys : Alternative control option using directional arrow keys
  • Smooth Movement : The ship responds to gradual inputs, allowing for precise navigation

Control Tips

  • Make small, gradual adjustments rather than sharp movements
  • Anticipate obstacles early to have time for smooth corrections
  • Practice maintaining steady flight paths between obstacles
  • Use the full range of movement - don't just stick to left and right

Why Play Supernova

Perfect for Quick Gaming Sessions

Supernova is ideal for both short breaks and extended gaming sessions. Each attempt starts fresh, making it perfect for quick entertainment when you have a few minutes to spare.

Skill Development and Competition

The game helps improve hand-eye coordination, reaction time, and spatial awareness. Challenge yourself to beat your previous high score and compete with friends to see who can fly the furthest.

Stress-Free Gaming

With no complex storylines or overwhelming mechanics, Supernova offers pure, focused gameplay that lets you zone out and enjoy the flying experience.

Completely Free Experience

Enjoy the full game experience without any cost. No hidden fees, no pay-to-win mechanics - just pure skill-based gaming fun.

Cross-Platform Accessibility

Play instantly in any modern web browser on desktop, laptop, tablet, or smartphone. No downloads or installations required - just click and fly.

Frequently Asked Questions (FAQ)