StarBlast - Multiplayer Space Shooter

Seele01-Flash
By
StarBlast is an addictive multiplayer space shooter where players mine asteroids, upgrade spaceships, and battle in epic space combat. Choose from 31 ships across 4 exciting game modes in this free online experience.

Prompt

MODEL: Seele01-Flash
Please use Three.js to generate a **mobile-first game** with the theme "StarBlast". Please read the following detailed game design requirements first, and then generate the code accordingly: ### 1. Assets & Environment * **Visual Style:** Create a polished **Low-Poly Sci-Fi** aesthetic. Ships should be constructed from simple geometric primitives (cones, cylinders, flattened cubes) with a clean, angular design. * **Lighting & Colors:** Use a dark, deep-space background (dark blue/black gradient or skybox). Implement a "Bloom" effect (e.g., `UnrealBloomPass`) to make lasers, engine thrusters, and crystals glow with neon colors (cyan, magenta, bright red). * **Key Entities:** * **Player Ship:** A sleek, triangular fighter jet design with emissive engine ports at the back. * **Asteroids:** Irregular, jagged grey meshes floating in space. They must break into smaller chunks or release "Gems" when destroyed. * **Gems/Crystals:** Floating red rubies (low-poly icosahedrons) that spin slowly. * **Performance Optimization:** Crucial for mobile. Use `THREE.InstancedMesh` for rendering asteroids, background stars, and projectiles to handle hundreds of objects at 60FPS. Avoid real-time shadows; use baked lighting or simple ambient light + directional light. ### 2. Audio Requirements * **BGM:** A driving, rhythmic **Synthwave / Space-Electro** track that loops seamlessly. It should feel energetic but not distracting. * **Sound Effects (SFX):** * **Shooting:** Sharp, high-pitched "Pew-Pew" laser sounds (varied slightly in pitch to avoid repetition). * **Mining/Impact:** A dull, rocky thud when lasers hit asteroids. * **Collection:** A satisfying, high-pitched chime or "ding" when the ship collects a gem. * **Thrust:** A low, continuous hum/rumble loop that plays only when the player is moving. ### 3. Gameplay Loop * **Core Mechanics:** 1. **Mining:** The player spawns in a field of asteroids. Shooting asteroids damages them until they explode, dropping Red Gems. 2. **Collection:** Player flies over gems to collect them. 3. **Upgrading:** A HUD overlay allows spending collected gems to upgrade stats: Shield Capacity, Energy Regen, Laser Damage, and Ship Speed. 4. **Combat:** AI ships (simple bots) occasionally spawn to attack the player. Destroying them yields high gem rewards. * **Physics:** Implement "Drift" physics (Inertia). The ship should not stop instantly; it drifts when the input stops and requires counter-thrust to change direction quickly. * **Win/Loss:** The game is an endless high-score loop. Game Over occurs if the Shield/Health reaches zero. ### 4. Mobile Controls & Interaction * **Control Scheme:** **Virtual Twin-Stick Shooter** layout. * **Left Stick:** Controls movement thrust (velocity). * **Right Stick:** Controls rotation (aiming) and fires the weapon automatically when held in any direction. * **Orientation:** Force **Landscape Mode**. * **UI Layout:** * **HUD:** Health bar (Green) and Energy bar (Blue) fixed under the ship model or at the top center. * **Upgrade Menu:** A row of large, tap-friendly icons (minimum 48x48px) at the bottom center for upgrading stats. Buttons should light up when the player has enough gems. * **Minimap:** A small radar in the bottom-right corner showing player (white dot), enemies (red dots), and large asteroids. * **Feedback:** Add screen shake (camera jitter) on explosions or taking damage. Provide haptic feedback (vibration) when firing or getting hit (using `navigator.vibrate` if available). Do not ask for clarification. Do not request confirmation. Directly execute the generation task based on the given instructions.

Game Introduction

About the Game

StarBlast is a thrilling multiplayer arcade space shooter that combines strategic resource management with intense real-time combat. Set in a vast cosmic arena, players pilot customizable spaceships to mine valuable crystals from asteroids while engaging in epic battles against opponents from around the world.

This free-to-play browser game offers an excellent tutorial system that guides new players through essential mechanics including combat tactics, asteroid mining techniques, and ship upgrade systems. The game's intuitive design ensures that both casual gamers and competitive players can quickly master the core gameplay loop.

Core Features

Four Distinct Game Modes

StarBlast offers diverse gameplay experiences through multiple game modes:

  • Team Mode : Join one of three factions (Federation, Sovereign Trappist Colonies, or Orion Arm Guild) and coordinate with teammates for strategic victories
  • Survival Mode : Test your endurance against waves of increasingly difficult challenges
  • Invasion Mode : Face unique cooperative challenges that require teamwork and skill
  • Pro Deathmatch : Compete in high-stakes individual combat for experienced players

Extensive Ship Progression System

The game features 31 different spaceships across seven upgrade tiers, each offering unique characteristics and capabilities. Players can customize their vessels through eight upgrade categories:

  • Shield capacity and regeneration
  • Energy systems optimization
  • Laser damage enhancement
  • Weapon and ship speed improvements
  • Enhanced agility and maneuverability

Advanced Combat and Weapon Systems

Beyond primary laser weapons, StarBlast includes sophisticated secondary weapon systems:

  • Projectile Weapons : High-damage ranged attacks
  • Space Mines : Strategic area denial tools
  • Combat Drones : Automated support units
  • Utility Equipment : Specialized tactical gear

Gameplay Mechanics

Resource Mining and Economy

The game's economy revolves around crystal collection through asteroid mining and combat victories. Successfully destroyed asteroids yield valuable gems that fuel your progression. Smart resource management is crucial - target asteroids appropriate for your ship's current power level to maximize efficiency.

Strategic Combat System

Combat in StarBlast rewards both tactical thinking and skillful execution. Smaller ships excel at hit-and-run tactics, using superior speed to escape dangerous encounters while building resources. Larger vessels dominate through raw firepower but require careful positioning and energy management.

Destroying enemy ships provides immediate rewards, as defeated opponents drop all carried crystals. This risk-versus-reward mechanism creates dynamic gameplay where aggressive players can rapidly advance but face significant consequences for failure.

Controls and Operation

The game features streamlined controls designed for accessibility:

  • Arrow Keys : Navigate your spaceship through 3D space
  • Left Mouse Button (LMB) : Fire primary weapons
  • V Key (Hold) : Share gems with teammates in Team Mode

These simple controls allow players to focus on strategy and tactics rather than complex input combinations.

Why Play StarBlast

StarBlast stands out in the crowded space shooter genre through its perfect balance of accessibility and depth. The game offers immediate entertainment for casual players while providing the strategic complexity that keeps competitive gamers engaged for hours.

The completely free browser-based platform means no downloads, installations, or payment barriers. Cross-platform compatibility ensures you can enjoy the same account and progress whether playing on desktop, mobile devices, or tablets.

The active multiplayer community creates constantly evolving gameplay experiences. No two matches feel identical thanks to the dynamic interaction between human players, each pursuing their own strategies and objectives.

Perfect for Social Gaming

Team Mode particularly shines for players who enjoy cooperative gameplay. The three-faction system creates natural alliances and rivalries, while the gem-sharing mechanic encourages genuine teamwork beyond simple combat coordination.

Frequently Asked Questions (FAQ)