StarBlast - Multiplayer Space Battle Arena

Seele01-Flash
By
StarBlast is an addictive multiplayer space battle arena where players mine asteroids, upgrade customizable spaceships, and engage in intense PvP combat across multiple game modes.

Prompt

MODEL: Seele01-Flash
Please use Three.js to generate a **mobile-first game** with the theme "**StarBlast Mobile Clone**". Please read the following detailed game design requirements first, and then generate the code accordingly: ### 1. Assets & Environment * **Visual Style:** 2.5D Top-Down Space Arcade Shooter. Use Low-poly 3D models with flat shading or toon shading to mimic the sleek, angular vector-art style of the original. * **Camera:** Fixed top-down perspective (slightly angled, e.g., `(0, 50, 20)` looking at `(0,0,0)`), following the player ship smoothly. * **Player Ship:** A sleek, arrow-shaped spaceship (tier 1 design). It must have a glowing engine trail (using `THREE.Points` or simple trail geometry). * **Enemies & Environment:** * **Asteroids:** Irregular, jagged grey rocks of varying sizes (Large, Medium, Small). They must use `THREE.InstancedMesh` for performance optimization on mobile devices. * **Background:** A deep space skybox or large plane with a high-resolution starfield texture and subtle nebula clouds (purple/red hues). * **Projectiles:** Bright, glowing laser beams (CylinderGeometry) with emissive materials. * **Gems:** Red floating crystals (OctahedronGeometry) that spin slowly, dropped by destroyed asteroids/enemies. * **Performance:** Strict polygon limits (under 500 tris per ship). Use object pooling for lasers and particles (explosions) to prevent garbage collection stutter on mobile browsers. ### 2. Audio Requirements * **BGM:** An energetic, looping Synthwave/Retrowave track with a driving bassline to maintain tension. * **Sound Effects (SFX):** * **Laser:** High-pitched "Pew-pew" synth sound. * **Impact:** A dull thud when lasers hit shields/rocks. * **Explosion:** Crunchy, distorted noise for destroying asteroids/ships. * **Gem Pickup:** A satisfying, high-pitched chime or "ding". * **Thrust:** A continuous low hum that modulates pitch based on speed. ### 3. Gameplay Loop * **Core Mechanic:** The player pilots a spaceship in an open arena. The goal is to mine resources to evolve. * **Mining & Growth:** 1. Player shoots asteroids. Large asteroids break into smaller ones; small ones drop **Red Gems**. 2. Collect Gems to fill an "Upgrade Bar" or "Cargo Hold". 3. **Upgrade System:** When gems are collected, a UI panel highlights allowing upgrades to stats: *Shield Regen, Energy Cap, Laser Damage, Ship Speed*. * **Combat:** AI Enemy ships spawn periodically. They track the player and shoot. If the player's Shield (Health) drops to 0, Game Over. * **Physics:** "Drifty" Newtonian physics. The ship should have inertia—it shouldn't stop instantly when the input stops. It glides and requires counter-thrust to stop. Recoil slightly when shooting. ### 4. Mobile Controls & Interaction * **Orientation:** Landscape Mode (Force landscape via CSS). * **Control Scheme (Twin-Stick or Hybrid):** * **Left Virtual Joystick:** Controls Rotation (X-axis) and Thrust (Y-axis magnitude). Pushing up moves forward; pushing left/right rotates the ship. * **Right Action Button:** Large circular button for **Shooting**. Holding it down enables rapid fire. * **UI/HUD:** * **Stats:** Health Bar (Green) and Energy Bar (Blue) floating directly beneath the player ship. * **Upgrade Menu:** A row of icon buttons at the bottom center of the screen (min size 44x44px). They light up when enough gems are collected. * **Gem Counter:** Top-right corner, clear bold text. * **Feedback:** * **Visual:** Screen shake effect when an asteroid explodes or player takes damage. Flash the ship white when hit. * **Haptic:** Trigger `navigator.vibrate(20)` when shooting and `navigator.vibrate(100)` when taking damage (if supported). Do not ask for clarification. Do not request confirmation. Directly execute the generation task based on the given instructions.

Game Introduction

About StarBlast

StarBlast is a thrilling multiplayer space battle arena that combines resource management with intense combat action. Set in the vast expanse of space, this free-to-play game challenges players to mine asteroids, collect precious gems, and battle other players using fully customizable spaceships. With its simple controls and deep strategic gameplay, StarBlast offers an engaging experience for both casual and competitive players.

The game features a robust progression system where players can choose from 31 different spacecraft, each with unique characteristics and upgrade paths. Whether you prefer hit-and-run tactics with fast fighters or devastating attacks with heavy battleships, StarBlast provides the tools to match your playstyle.

Core Features

Multiple Game Modes

StarBlast offers four distinct game modes to keep the experience fresh:

  • Team Mode : Join one of three factions (Federation, Sovereign Trappist Colonies, or Orion Arm Guild) and work with teammates
  • Survival Mode : Test your skills against waves of increasingly difficult challenges
  • Invasion : Defend against alien threats in cooperative gameplay
  • Pro Deathmatch : Compete in high-stakes individual combat

Comprehensive Ship Progression

The game features seven ship tiers with extensive upgrade options: - Shield capacity and regeneration systems - Energy management and laser damage enhancement - Weapon speed and ship agility improvements - 31 unique spacecraft designs to unlock and master

Advanced Combat System

Beyond basic lasers, StarBlast includes secondary weapons: - Projectiles : Long-range attack options - Mines : Strategic area denial tools - Pods/Drones : Automated support units - Utilities : Specialized equipment for various situations

Gameplay Mechanics

Resource Management

Gems form the backbone of StarBlast's economy. Players collect these valuable resources by: - Mining asteroids scattered throughout space - Defeating enemy players and claiming their cargo - Converting gems into ship upgrades or team credits

Strategic Combat

Successful players balance aggressive combat with careful resource gathering. Smaller ships excel at quick mining operations and hit-and-run attacks, while larger vessels can dominate direct confrontations but require more resources to maintain.

Operation Guide

Basic Controls: - Arrow Keys : Navigate your spaceship through space - Left Mouse Button : Fire primary weapons - V (Hold) : Share gems with teammates in Team Mode

Getting Started: 1. Complete the comprehensive tutorial to master basic mechanics 2. Choose your preferred game mode 3. Start with Team Mode for collaborative gameplay support 4. Focus on mining asteroids appropriate for your ship size 5. Upgrade systematically: shields first, then weapons and speed

Advanced Strategies: - Use speed and agility to avoid larger, more powerful opponents - Target asteroids that match your ship's mining capability - Convert gems to credits at team bases for secondary weapons - Practice flying through asteroid fields to improve maneuvering skills

Why Play StarBlast

Completely Free : No payment required - play the full game instantly in your browser

Cross-Platform Support : Available on web browsers, Android, iOS, and Steam

Active Community : Join thousands of players in real-time multiplayer battles

Endless Progression : 31 ships and multiple upgrade paths provide long-term goals

Instant Action : Jump into battles immediately - no lengthy tutorials or complex setup required

StarBlast combines the accessibility of casual gaming with the depth of competitive strategy games, making it perfect for quick gaming sessions or extended play periods.

Frequently Asked Questions (FAQ)