Galactic Empire

Seele01-Flash
By
Galactic Empire is an addictive space-themed merge and idle game where you build an intergalactic mining fleet, fight off enemies, and expand your cosmic empire through strategic merging and upgrades.

Prompt

MODEL: Seele01-Flash
Please use Three.js to generate a **mobile-first game** with the theme "**Galactic Empire**". Please read the following detailed game design requirements first, and then generate the code accordingly: ### 1. Assets & Environment * **Visual Style**: High-contrast Retro **Pixel Art** aesthetic rendered within a 3D engine (2.5D). Use an **Orthographic Camera** to maintain a flat, classic look while utilizing WebGL performance. * **Textures & Sprites**: * **Ships**: Create distinct sprite textures for at least 3 tiers of spaceships (Tier 1: Scout, Tier 2: Fighter, Tier 3: Dreadnought). Ships should have a metallic grey hull with dark details and prominent blue cockpits. * **Highlight Effect**: When a ship is selected or ready to merge, add a glowing **Cyan Outline** (shader or sprite border) as seen in the reference image. * **Background**: A deep navy blue void with a multi-layered parallax starfield system. Stars should twinkle slowly. * **The Grid**: A sci-fi holographic 3x4 or 4x4 grid on the "floor" where ships reside. * **Visual Effects (VFX)**: * Use `THREE.Points` or sprite particles for engine trails (cyan/orange exhaust). * Simple beam geometry (LineBasicMaterial) for mining lasers shooting at passing asteroids. * Floating text ("+$100") popping up when resources are mined. * **Mobile Optimization**: Use `THREE.NearestFilter` for all textures to keep pixel art crisp. Use a single texture atlas for all UI and ship sprites to minimize draw calls. ### 2. Audio Requirements * **BGM**: A loopable **Synthwave / Chiptune** track. It should be atmospheric and spacey, but with a driving beat to encourage progression. * **Sound Effects (SFX)**: * **Merge**: A satisfying metallic "Clank-PowerUp" sound when two ships combine. * **Mining**: A low-frequency, rhythmic laser hum or "zap" sound. * **UI**: High-pitched computer "blips" for button presses. * **Combat**: Retro "Pew-Pew" sounds when fighter ships engage enemies. * **Prestige/Reset**: A warping "Hyperspace" sound effect. ### 3. Gameplay Loop * **Core Mechanic (Merge)**: The player starts with empty slots. They buy Level 1 ships. Dragging a Level 1 ship onto another Level 1 ship creates a Level 2 ship. Higher tiers mine faster and deal more damage. * **Idle Economy (Mining)**: Ships automatically fire lasers at asteroids passing in the background. Each "hit" generates currency ($). Higher tier ships generate more $. * **Combat Defense**: Occasional enemy alien ships fly across the top of the screen. Fighter-class ships (odd-numbered tiers) automatically shoot projectiles at them. Destroying enemies drops a large currency bonus. * **Progression**: * **Buy Button**: Costs increase exponentially with each purchase. * **Prestige**: A "Sell Fleet" button becomes available after reaching Tier 5. This resets the grid but grants a permanent multiplier (Global DMG/Income boost). ### 4. Mobile Controls & Interaction * **Orientation**: **Portrait Mode** (Vertical) to allow easy one-handed play on phones. * **Touch Controls**: * **Drag & Drop**: The primary interaction. Implement raycasting to detect touch on a ship plane. * **Visual Feedback**: When a user touches and holds a ship, scale it up by 1.1x and render it on top of other elements (Z-index adjustment). The slot under the finger should light up green if it's a valid merge target. * **UI Layout**: * **Bottom Control Bar**: Place the "Buy Ship" button and "Upgrade" menus in the bottom 25% of the screen (the "Thumb Zone"). Buttons must be at least 44x44 pixels. * **Top Info Bar**: Display Total Cash and Current Income/Sec at the very top. * **Haptics**: Trigger `navigator.vibrate(20)` on a successful merge interaction for tactile satisfaction. Do not ask for clarification. Do not request confirmation. Directly execute the generation task based on the given instructions.

Game Introduction

About the Game

Galactic Empire is an engaging incremental merge game that combines space exploration, fleet management, and idle gameplay mechanics. Set in the vast cosmos, you'll command a growing fleet of mining ships and fighter vessels while battling enemies and harvesting valuable resources from asteroids. This pixel-art styled game offers endless progression and strategic depth perfect for both casual and dedicated gamers.

Core Features

Strategic Fleet Management

Build and customize your intergalactic fleet with specialized ships for different purposes. Mining vessels generate continuous income by harvesting asteroids, while fighter ships protect your valuable assets from enemy attacks. The key to success lies in finding the perfect balance between offense, defense, and resource generation.

Addictive Merge Mechanics

Combine identical ships to create more powerful vessels with enhanced capabilities. Merging is the core progression system - stronger ships mine faster, fight better, and generate more income. Plan your merges carefully to maximize efficiency and protect your most valuable assets.

Idle Income Generation

Your fleet works tirelessly even when you're away! Mining ships continuously harvest asteroids and generate money, making this perfect for players who enjoy passive income mechanics. Return to find your empire has grown stronger and wealthier.

Infinite Progression System

The game features a "prestige" system where you can sell your entire fleet for massive multipliers, allowing you to restart with significant advantages. This creates endless replayability as you push your empire to greater heights with each reset.

Retro Pixel Art Style

Enjoy beautifully crafted pixel art spaceships and cosmic backgrounds that capture the classic arcade gaming aesthetic while delivering modern gameplay mechanics.

Game Mechanics

Mining Operations

Deploy mining ships to asteroid fields where they automatically collect resources and generate income. Different ship types have varying mining speeds and cargo capacities, so strategic deployment is crucial for maximum efficiency.

Combat System

Enemies constantly threaten your mining operations. Fighter ships automatically engage hostile forces, but you must ensure your combat fleet is strong enough to handle increasingly difficult waves of enemies.

Upgrade System

Invest your earnings in powerful upgrades that boost ship performance, increase income rates, and unlock new capabilities. Smart upgrade choices can dramatically accelerate your empire's growth.

Operation Guide

Mouse Controls : The game uses simple point-and-click mechanics that work perfectly across all devices.

  • Click to Merge : Drag and drop identical ships to combine them into more powerful vessels
  • Purchase Ships : Click on ship icons to buy new vessels for your fleet
  • Upgrade Selection : Click on upgrade buttons to enhance your fleet's capabilities
  • Menu Navigation : Use mouse clicks to navigate through different game sections and options

Getting Started

  1. Begin with basic mining ships to establish income flow
  2. Purchase fighter ships to protect your miners from enemies
  3. Merge identical ships to create stronger vessels
  4. Invest in upgrades to boost overall fleet performance
  5. Monitor the balance between miners and fighters
  6. Consider selling your fleet when multiplier bonuses become attractive

Why Play Galactic Empire

Perfect for All Gaming Styles : Whether you prefer active management or idle progression, this game accommodates both playstyles seamlessly. Actively manage your fleet for faster progress, or let it run in the background while you multitask.

Completely Free Experience : Enjoy full access to all game features without any paywalls or premium content restrictions. The entire cosmic adventure is available at no cost.

Universal Compatibility : Play seamlessly across desktop computers, smartphones, and tablets without downloads or installations. Your empire travels with you wherever you go.

Endless Replayability : The prestige system ensures there's always a new goal to reach, with increasingly powerful multipliers and challenges that keep the gameplay fresh and engaging.

Strategic Depth : While easy to learn, the game offers surprising depth in fleet optimization, upgrade timing, and merge strategies that will keep strategic gamers engaged for hours.

Frequently Asked Questions (FAQ)