Planet Smash Destruction

Seele01-Flash
By
Planet Smash Destruction is an addictive physics-based sandbox game where you wield cosmic power to create and destroy planets. Use powerful weapons, design custom worlds, and unleash creative destruction in this captivating space simulator.

Prompt

MODEL: Seele01-Flash
Please use Three.js to generate a **mobile-first game** with the theme "Planet Smash Destruction". Please read the following detailed game design requirements first, and then generate the code accordingly: ### 1. Assets & Environment * **Central Object:** A high-quality `SphereGeometry` representing Earth, applied with high-resolution textures (diffuse, specular, and normal maps) to show continents and oceans. Include a slightly larger concentric sphere with a custom shader (Fresnel effect) to simulate a glowing blue atmosphere. * **Destruction VFX:** Implement a dynamic "Damage System." When a weapon hits the planet, do not use heavy CSG operations. Instead, use a secondary texture (canvas texture) to paint "craters" (black/scorched areas) or use alpha masking to create "holes" in the mesh shader visually. * **Particle Systems:** Generate pooled particle emitters for explosions. Particles should use `AdditiveBlending`, starting as bright yellow/white and fading to orange/red smoke. Add debris chunks (small cube meshes) that fly outward from the impact point using simple physics. * **Background:** A high-contrast skybox featuring a deep black cosmos, dense starfields, and a distant nebula to provide depth. * **Lighting:** Strong directional light (Sun) from the side to create dramatic shadows on the planet, plus low-intensity ambient light to keep the dark side slightly visible. * **Mobile Optimization:** Limit sphere segments to 64x64. Use object pooling for projectiles and particles. Ensure textures are compressed or reasonably sized (max 1024x1024) for mobile GPU memory. ### 2. Audio Requirements * **BGM:** A cinematic, ambient "Space Drone" track—deep, slow, and slightly ominous, conveying the vastness of space. * **SFX (Explosions):** Heavy, bass-rich rumble sounds with random pitch variations to prevent repetition when the user spams attacks. * **SFX (Weapons):** High-pitched sci-fi "Zaps" for lasers; "Whoosh" sounds for rocket travel. * **SFX (UI):** A crisp mechanical "click" for weapon selection and a "digital hum" for the reset button. ### 3. Gameplay Loop * **Core Mechanics:** The player rotates the planet to find a target area, selects a weapon from the UI, and taps the planet surface to fire. * **Weapon Logic:** * *Rocket:* Travels from camera position to tap point, explodes on contact. * *Laser:* Instant raycast beam that applies continuous damage/scorching while the finger is held down. * *Asteroid:* Spawns randomly off-screen and crashes into the tap location. * **Progression:** Display a "Population" counter (e.g., starting at 7 Billion) at the top of the screen. Every hit reduces the population based on damage radius. * **Win State:** When population hits 0, the planet turns into a dead, scorched rock (swap texture or max out damage overlay). Provide a "Reset Planet" button to restart. ### 4. Mobile Controls & Interaction * **Camera Control:** Use `OrbitControls` with damping enabled (dampingFactor 0.05) for smooth momentum. Allow single-finger drag to rotate the view. Pinch-to-zoom logic to move closer/further. * **Firing Mechanism:** Distinguish between a "Swipe" (rotate camera) and a "Tap" (fire weapon). Implement a short delay check: if the touch moves less than 5 pixels, interpret it as a Fire command via Raycaster. * **UI Layout:** * **Right Side Sidebar:** A vertical stack of large, circular icons (min 50px diameter) for weapon selection (Rocket, Laser, Asteroid). The active weapon should have a highlight border. * **Top Center:** A clear text display for "Population Left". * **Bottom Right:** A "Reset" button placed in the thumb's easy reach zone. * **Haptic Feedback:** Trigger `navigator.vibrate(50)` on every explosion impact to provide tactile weight to the destruction. Do not ask for clarification. Do not request confirmation. Directly execute the generation task based on the given instructions.

Game Introduction

About the Game

Planet Smash Destruction is a thrilling casual physics simulation game that puts the power of cosmic destruction in your hands. In this engaging sandbox experience, you can create, customize, and obliterate entire planets using an arsenal of devastating weapons. Whether you're a beginner or experienced gamer, the intuitive controls make planetary annihilation accessible and endlessly entertaining.

The game combines realistic physics with creative freedom, allowing you to experiment with different destruction methods and witness spectacular results. From laser beams that slice through continents to alien monster drills that bore perfect holes through planetary cores, every weapon offers unique and satisfying destruction mechanics.

Core Features

Unlimited Destruction Possibilities

Experience the ultimate power fantasy as you destroy Earth and venture to other celestial bodies. The game starts with Earth in your crosshairs, but as you progress and earn currency, you can unlock exotic planets and secret worlds to demolish.

Comprehensive Weapon Arsenal

Choose from six distinct weapon categories: - Monsters : Deploy alien creatures to devour planets - Stars : Harness stellar power for massive destruction - Planets : Use celestial bodies as projectiles - Bombs : Create explosive chain reactions - Rockets : Launch precision strikes from space - Lasers : Slice through worlds with concentrated energy beams

Creative Mode Freedom

Beyond destruction, the game offers a robust creative mode where you can: - Design custom planets from scratch - Populate worlds with civilizations - Craft unique terrain and atmospheres - Add satellites and orbital structures - Then watch your creations crumble under your chosen weapons

Weapon Customization System

Upgrade and modify your arsenal with earned currency: - Expand laser beam width and change colors - Increase meteorite impact areas - Enhance missile blast radius - Deploy multiple projectiles simultaneously - Adjust weapon speed and power

Hidden Content and Exploration

Discover 15 secret planets including Donut Earth, Cube Earth, Flat Earth, Snowman World, Ghost World, Pumpkin Planet, and many more unique celestial bodies, each offering different destruction challenges.

Gameplay Mechanics

Planet Smash Destruction operates as a true sandbox game, giving you complete freedom to explore space and experiment with destruction. Your imagination is the only limit to achieving full cosmic domination.

The physics engine accurately simulates planetary destruction, creating realistic debris patterns, gravitational effects, and explosive reactions. Each weapon interacts differently with planetary materials, encouraging experimentation and strategic thinking.

Operation Guide

Basic Controls

  • Left Mouse Button : Select weapons, aim, and fire
  • Weapon Selection : Choose from the right-side weapon panel
  • Reset Function : Restart levels anytime to try different approaches
  • Camera Controls : Navigate around planets for optimal targeting angles

Progression System

Destroy planets to earn in-game currency, which unlocks: - New weapon upgrades and modifications - Additional planets and celestial bodies - Enhanced customization options - Special secret worlds

Strategic Tips

  • Experiment with different weapons for varied destruction effects
  • Use the creative mode to practice targeting and weapon effects
  • Combine multiple weapons for spectacular chain reactions
  • Explore different angles to maximize destruction efficiency

Why Play Planet Smash Destruction

Stress Relief : Experience therapeutic satisfaction through safe, virtual destruction that helps release tension and frustration.

Creative Expression : The game uniquely combines destruction with creation, allowing artistic expression through both building and demolishing custom worlds.

Physics Learning : Understand real physics principles through interactive gameplay that demonstrates gravity, momentum, and explosive forces.

Endless Replayability : With multiple weapons, customization options, secret planets, and creative mode, no two gaming sessions are identical.

Cross-Platform Accessibility : Play instantly in your browser on desktop or mobile devices without downloads, or get the mobile app for on-the-go destruction.

Family-Friendly Fun : Despite the destruction theme, the cartoonish graphics and lack of realistic violence make it suitable for players aged 9 and older with parental guidance.

Frequently Asked Questions (FAQ)