Space Battle - 3D Cosmic Space Shooter

Seele01-Flash
By
Space Battle is an immersive 3D cosmic shooter where you pilot advanced spaceships through asteroid fields, engaging in intense battles with dangerous enemies while collecting valuable items among the stars.

Prompt

MODEL: Seele01-Flash
Please use Three.js to generate a **mobile-first game** with the theme "Space Battle". 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. Deep space background with a high-resolution starfield skybox and a large, distant planet on the horizon. * **Lighting:** A dominant directional light source (Sun) creating strong shadows and lens flare effects to mimic the "brilliant universe" described. Use `UnrealBloomPass` for glowing engine thrusters and lasers. * **Player Asset:** A sleek, low-poly fighter spaceship (yellow and black color scheme) with blue glowing engine exhausts. The ship should have a slight metallic roughness map. * **Environment Obstacles:** A dense field of asteroids using `InstancedMesh` for mobile performance optimization. Asteroids should rotate slowly and vary in size. * **Optimization:** Limit active enemy count to 5-8 at a time. Use object pooling for laser projectiles and explosion particle systems to maintain 60 FPS on mobile devices. ### 2. Audio Requirements * **BGM:** An epic, cinematic orchestral sci-fi track with driving percussion and synthesizer pads (similar to Star Wars or Mass Effect space battles). * **Sound Effects (SFX):** * **Thrusters:** A continuous low-frequency hum that increases in pitch when "Turbo" is active. * **Weapons:** Punchy, retro-futuristic "pew-pew" sounds for machine guns; a "whoosh" sound for rockets. * **UI:** Digital "chirps" for locking onto targets. * **Environment:** Muffled explosions (dull thuds) when enemies are destroyed. ### 3. Gameplay Loop * **Core Mechanics:** The player flies forward automatically through an asteroid field. The goal is to shoot down enemy ships while dodging asteroids and enemy fire. * **Combat:** * **Machine Gun:** Rapid-fire, low damage (overheats if held too long). * **Rockets:** Homing missiles with a cooldown. * **Turbo:** A limited energy bar allows for short bursts of speed to evade attacks. * **Collectibles:** Floating distinct icons (Wrenches for Health, Lightning bolts for Turbo refill) scattered among asteroids. * **Win/Loss:** * **Win:** Survive the wave or destroy a boss ship. * **Loss:** Player Health reaches zero (visualized by the ship smoking and finally exploding). ### 4. Mobile Controls & Interaction * **Orientation:** **Landscape Mode** is mandatory for a wide field of view. * **Touch Controls:** * **Steering (Right Screen):** Invisible touch area on the right half. Dragging moves a virtual cursor/reticle; the ship rotates to follow the reticle (smooth damping). * **Throttle/Movement (Left Screen):** A vertical slider or virtual joystick on the left. Up to boost/speed up, Down to brake. * **Combat Buttons:** distinct, large circular buttons (min 64px) on the bottom right for "Fire" and "Missile". * **Camera Behavior:** Third-person chase camera. It should have a slight "lag" behind the ship's movement to convey weight and acceleration. * **Feedback:** * **Haptic:** Trigger device vibration (if supported) when the player takes damage or destroys an enemy. * **Visual:** Screen shake effect when an explosion happens nearby or the player is hit. Do not ask for clarification. Do not request confirmation. Directly execute the generation task based on the given instructions.

Game Introduction

About the Game

Space Battle delivers an epic 3D space combat experience that puts you in the cockpit of powerful spaceships. Navigate through stunning cosmic environments filled with asteroids, engage hostile enemies in intense firefights, and collect special items to enhance your arsenal. This free browser-based game combines fast-paced action with strategic combat elements.

Core Features

Immersive 3D Space Combat

Experience breathtaking space battles in fully realized 3D environments. Fly through realistic asteroid fields where every rock and debris creates tactical opportunities and obstacles. The game's brilliant universe design makes you feel like a true space pilot navigating the depths of cosmic warfare.

Multiple Spaceship Selection

Choose from a diverse fleet of awesome spaceships, each with unique characteristics and combat capabilities. Whether you prefer agile fighters or heavily armed battleships, find the perfect vessel that matches your combat style and mission requirements.

Dynamic Enemy Encounters

Face challenging opponents that will test your piloting skills and combat tactics. Enemies engage you in unforgettable battles that require quick reflexes, strategic thinking, and masterful ship handling to survive and emerge victorious.

Item Collection System

Scavenge special items scattered throughout the cosmic battlefield. These collectibles enhance your ship's performance, provide tactical advantages, and unlock new combat possibilities as you progress through increasingly difficult missions.

Cross-Platform Accessibility

Enjoy seamless gameplay across multiple platforms. Play instantly in your web browser without downloads, or take the battle mobile with the Android version for on-the-go space combat.

Gameplay Mechanics

Space Battle combines accessible controls with deep combat mechanics. Navigate three-dimensional space using intuitive flight controls while managing multiple weapon systems including machine guns, rockets, and turbo capabilities. The game challenges you to master both offensive and defensive strategies as you face waves of enemies in the unforgiving void of space.

Operation Guide

Flight Controls

  • WASD Keys or Arrow Keys : Control spaceship movement - accelerate, decelerate, and turn left/right
  • Mouse Movement : Aim and control ship orientation for precise targeting
  • Mouse Buttons : Fire primary weapons (machine gun) and secondary weapons (rockets)
  • Shift Key : Activate turbo boost for enhanced speed and maneuverability
  • P Key : Pause game to plan strategy or take breaks

Combat Strategy

Success requires mastering the art of 3D space combat. Use asteroids as cover, manage your ammunition wisely, and learn enemy movement patterns. The turbo system provides crucial advantages in both offensive strikes and defensive escapes.

Why Play This Game

Space Battle offers the perfect blend of accessibility and depth for space combat enthusiasts. The game's free-to-play model means you can dive into epic space battles immediately without any financial commitment. Whether you're seeking quick arcade-style action or extended strategic gameplay sessions, the diverse spaceship roster and challenging enemy AI provide endless entertainment value.

The stunning 3D visuals and smooth browser performance make it an ideal choice for both casual gamers and dedicated space simulation fans. With cross-platform support, you can continue your cosmic conquest whether you're at home or on the move.

Frequently Asked Questions (FAQ)