Space Colony - Build Your Galactic Base

Seele01-Flash
By
Space Colony is an engaging 3D space simulation game where you build and manage your own galactic outpost. Extract valuable resources, construct advanced facilities, and explore mysterious alien worlds in this captivating colony management experience.

Prompt

MODEL: Seele01-Flash
Please use Three.js to generate a **mobile-first game** with the theme "Space Colony". Please read the following detailed game design requirements first, and then generate the code accordingly: ### 1. Assets & Environment * **Visual Style**: Low-poly, cartoonish aesthetic similar to "Moon Pioneer" or "My Little Universe". * **Color Palette**: * **Terrain**: Mars-like reddish-orange (#E67E58) flat plane with slight undulations (simplex noise) or a stylized spherical ground. * **Skybox**: Deep purple/cosmic gradient (#200020 to #100030) with simple white lines representing shooting stars and distant particles for stars. * **Player Character**: A "Chibi" style astronaut constructed from simple Three.js primitives (Spheres for the helmet, Cylinder for the body/limbs). The suit should be white/grey with a green visor faceplate. * **Resource Models**: * **Iron Nodes**: Grey, angular low-poly rocks. * **Titanium Nodes**: Silver/Blue metallic crystals. * **Optimization**: Use `InstancedMesh` for resource nodes to ensure 60FPS on mobile devices. Shadows should be baked or use a single DirectionalLight with a limited shadow map size (512x512). ### 2. Audio Requirements * **Background Music (BGM)**: A looping, atmospheric, lo-fi sci-fi synth track. It should be relaxing and repetitive (e.g., "Space lofi"). * **Sound Effects (SFX)**: * **Mining**: A soft "thud" or "tink" sound when the player hits a resource node. * **Collection**: A high-pitched "pop" or magnetic "whoosh" when resources fly into the player's backpack. * **Building**: A mechanical ratchet sound or a rising pitch tone as a structure is completed. * **Footsteps**: Muffled thuds corresponding to walking on dusty terrain. ### 3. Gameplay Loop * **The Mechanic**: "Stack and Build" Arcade Idle. 1. **Gather**: The player moves near a resource node (Iron/Titanium). The character automatically plays a mining animation (wobbling mesh), and resources physically spawn and fly into a "stack" on the player's back. 2. **Capacity**: The player has a max carry limit (e.g., 10 units). 3. **Build/Deposit**: The player walks into a "Base Zone" (a glowing square outline). Resources fly from the player's stack to the building. 4. **Progression**: Once enough resources are deposited (e.g., 20 Iron), the Base gets built (a simple habitat mesh appears), and a new area or a Vehicle (Rover) is unlocked for faster travel. ### 4. Mobile Controls & Interaction * **Control Scheme**: **Dynamic Virtual Joystick**. * The player can touch anywhere on the bottom half of the screen. The initial touch point becomes the joystick center. * Dragging moves the character relative to the camera. * **Camera**: Isometric view (OrthographicCamera) or High-Angle Perspective. The camera must smoothly follow the player with a slight dampening effect (`lerp`). * **Orientation**: **Landscape** mode is preferred for a wider view of the colony. * **UI & Haptics**: * **Resource Counters**: Large, bold text in the top-left corner (e.g., "Iron: 5/10") with icons. * **World UI**: Floating progress bars (Billboard) above buildings under construction. * **Feedback**: Trigger `navigator.vibrate(10)` (short haptic tick) every time a resource is mined or deposited to give tactile weight to the action. 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 Colony is a captivating 3D space simulation that puts you in command of humanity's newest frontier settlement. As the colony commander, you'll oversee every aspect of building a thriving space outpost on an alien planet. The game combines resource management, base building, and exploration elements to create an immersive space colonization experience that's both challenging and rewarding.

With its charming low-poly art style and intuitive gameplay mechanics, Space Colony offers hours of strategic entertainment for players who enjoy simulation and building games. The game's casual approach makes it accessible to newcomers while providing enough depth to keep experienced players engaged.

Core Features

Resource Extraction & Management

The foundation of your colony depends on efficiently gathering essential materials from the planet's surface. Mine iron ore for basic construction, extract titanium for advanced technologies, and discover rare materials that unlock specialized equipment and structures.

Base Construction System

Design and build your space colony from the ground up. Construct residential quarters for your colonists, industrial facilities for resource processing, research laboratories for technological advancement, and defensive structures to protect your settlement from environmental hazards.

Vehicle Creation & Exploration

Build specialized vehicles to enhance your colony's capabilities. Create mining rovers for automated resource gathering, transport vehicles for efficient material distribution, and exploration craft to venture into uncharted territories of the alien world.

3D Immersive Environment

Experience space colonization in stunning 3D graphics that bring the alien landscape to life. The game's visual design creates an authentic space exploration atmosphere while maintaining smooth performance across all supported devices.

Cross-Platform Accessibility

Enjoy seamless gameplay across multiple platforms. Whether you're playing on your desktop computer, mobile device, or tablet, Space Colony delivers a consistent and optimized experience through web browsers without requiring any downloads.

Gameplay Mechanics

Strategic Resource Planning

Success in Space Colony requires careful planning and resource allocation. Balance your colony's immediate needs with long-term expansion goals. Prioritize essential infrastructure while gradually building towards more advanced technologies and capabilities.

Progressive Unlocking System

As your colony grows and prospers, new building options and technologies become available. This progression system ensures that gameplay remains fresh and challenging as you advance through different stages of colonial development.

Environmental Challenges

Navigate the unique challenges of alien world colonization. Adapt your strategies to the planet's conditions, manage power consumption efficiently, and ensure your colonists have everything they need to thrive in this extraterrestrial environment.

Operation Guide

Space Colony features intuitive controls designed for both desktop and mobile play:

  • Movement : Use WASD keys, arrow keys, or hold the left mouse button to navigate around your colony
  • Camera Control : Mouse movement or touch gestures to adjust your viewing angle
  • Building Placement : Click or tap to select locations for new structures
  • Resource Management : Access inventory and construction menus through simple interface interactions

The game's user-friendly interface ensures that both newcomers and experienced simulation game players can quickly master the controls and focus on strategic decision-making.

Why Play Space Colony

Perfect Blend of Casual and Strategic Gameplay

Space Colony strikes an ideal balance between accessibility and depth. The game is easy to learn but offers enough complexity to keep you engaged for hours as you optimize your colony's efficiency and expand into new territories.

Completely Free Experience

Enjoy the full Space Colony experience without any cost. The game is entirely free to play with no hidden fees, premium content locks, or pay-to-win mechanics. Every feature and building option is available to all players from the start.

No Download Required

Start playing immediately through your web browser. Space Colony runs smoothly on both desktop and mobile devices without requiring installation, updates, or storage space on your device.

Educational Value

While entertaining, Space Colony also provides insights into real space colonization challenges, resource management principles, and strategic planning skills that extend beyond gaming.

Regular Gameplay Rewards

Experience the satisfaction of watching your colony grow from a small outpost to a thriving space settlement. Each successful expansion and technological advancement provides a genuine sense of accomplishment and progress.

Frequently Asked Questions (FAQ)