Cosmic Crush

Seele01-Flash
By
Cosmic Crush is a unique space action game where you control a planet that grows by consuming other celestial bodies. Guide your planet through space using simple arrow key controls in this cosmically entertaining browser game.

Prompt

MODEL: Seele01-Flash
Please use Three.js to generate a **mobile-first game** with the theme "Cosmic Crush". Please read the following detailed game design requirements first, and then generate the code accordingly: ### 1. Assets & Environment * **Visual Style:** A modern 3D interpretation of the classic "asteroid/planet eater" genre. Use a top-down orthographic camera view to simulate a 2D plane within a 3D space. * **Player & Entities:** * The player and enemies should be represented by 3D spheres with slightly irregular geometries (use `THREE.IcosahedronGeometry` with a detail level of 1 or 2 to create a low-poly "lumpy" asteroid look). * **Color Coding (Crucial for Gameplay):** * **Player:** A distinct, glowing color (e.g., Cyan or bright Blue) with a subtle emissive material. * **Edible Targets:** Objects smaller than the player should be Green or Grey. * **Threats:** Objects larger than the player should be Red or Dark Grey with a jagged appearance. * **Background:** A deep black void populated by a `THREE.Points` system to create a parallax starfield. The background should feel infinite. * **Mobile Optimization:** Use `THREE.InstancedMesh` for background debris or distant planets to maintain high FPS on mobile devices. Limit dynamic lights; use simple Lambert or Phong materials. ### 2. Audio Requirements * **BGM:** A deep, slow-tempo ambient space drone (think "Interstellar" minimal or deep synth pads) that loops seamlessly to establish an atmospheric void. * **Sound Effects (SFX):** * **Absorption:** A satisfying, bass-heavy "thud" or "crunch" sound when the player eats a smaller planet. Pitch the sound down as the player grows larger. * **Danger Proximity:** A low-volume, high-frequency hum when the player is dangerously close to a larger planet. * **Game Over:** A crumbling or implosion sound effect. ### 3. Gameplay Loop * **Core Mechanic:** The "Big Fish Eat Little Fish" mechanic (Agar.io style). * The player starts as a small planetoid. * **Collision Logic:** * If Player Radius > Target Radius: The target is absorbed. The player's radius increases slightly (e.g., `player.scale += target.scale * 0.1`). Score increases. * If Player Radius < Target Radius: The player is absorbed. Game Over. * **Gravity Mechanic (Optional but Recommended):** Larger planets should exert a slight gravitational pull on the player, making it harder to escape massive threats, adding physics-based tension. * **Progression:** As the player grows, the camera should slowly zoom out (increase Orthographic size) to reveal larger, previously off-screen cosmic giants. ### 4. Mobile Controls & Interaction * **Control Scheme:** **Floating Virtual Joystick**. * The player can touch and drag anywhere on the screen. * The center of the initial touch becomes the joystick anchor. * Dragging away from the anchor moves the planet in that direction. Speed is proportional to the drag distance. * **Orientation:** **Landscape Mode** preferred for a wider field of view. * **UI Layout:** * Score display in the top-left (large, readable font). * Restart button centered on the Game Over screen (minimum touch target 44x44px). * **Feedback:** * **Visual:** When the player absorbs an object, trigger a small scale-bounce animation (elastic ease) on the player mesh. * **Haptic:** If the device supports it (via `navigator.vibrate`), trigger a short vibration (e.g., 50ms) upon absorption. Do not ask for clarification. Do not request confirmation. Directly execute the generation task based on the given instructions.

Game Introduction

About the Game

Cosmic Crush is an innovative space-themed action game that puts you in control of a hungry planet on a cosmic feeding frenzy. With a creative twist on physics and astronomy, this game lets you experience what would happen if planets could actually eat each other in space. While it may not be scientifically accurate, it delivers pure entertainment and addictive gameplay that keeps players coming back for more.

This browser-based game has earned a solid 3.2/5 rating from players who appreciate its unique concept and straightforward gameplay mechanics. The game's simple yet engaging premise makes it accessible to players of all ages, offering a fresh take on the action genre.

Core Features

Unique Planet-Eating Mechanics

Unlike traditional space games, Cosmic Crush centers around the fascinating concept of planetary consumption. Your planet grows larger and more powerful as it devours smaller celestial bodies, creating a satisfying progression system that encourages continued play.

Simple Yet Addictive Gameplay

  • Easy Controls : Navigate using just the arrow keys - no complex button combinations needed
  • Instant Action : Jump straight into the cosmic feast without lengthy tutorials
  • Progressive Growth : Watch your planet evolve as it consumes others
  • Endless Entertainment : No time limits or strict objectives - just pure cosmic fun

Browser-Based Convenience

  • No Download Required : Play instantly in any modern web browser
  • Cross-Platform Compatible : Works on desktop computers, laptops, and mobile devices
  • Free to Play : Completely free with no hidden costs or premium features
  • Quick Sessions : Perfect for short gaming breaks or extended play sessions

Gameplay Mechanics

The core gameplay revolves around strategic movement and timing. As your planet moves through space, you'll encounter various other planets and celestial objects of different sizes. The key is to target smaller objects that your planet can successfully consume while avoiding larger ones that might pose a threat.

Growth System

Each successful consumption increases your planet's size and mass, allowing you to tackle progressively larger targets. This creates a natural progression curve that keeps the gameplay engaging as you work your way up the cosmic food chain.

Operation Guide

Getting started with Cosmic Crush is incredibly simple:

  • Arrow Keys : Use the up, down, left, and right arrow keys to guide your planet through space
  • Movement Strategy : Plan your path carefully to approach smaller planets while avoiding larger ones
  • Consumption : Simply move your planet into contact with smaller celestial bodies to consume them
  • Growth Monitoring : Watch your planet grow larger with each successful consumption

The intuitive control scheme means players can focus on strategy and timing rather than struggling with complex controls. This accessibility makes the game enjoyable for both casual players and gaming enthusiasts.

Why Play Cosmic Crush

Perfect for Quick Gaming Sessions

Cosmic Crush excels as a pick-up-and-play game that doesn't require significant time investment or learning curves. Whether you have five minutes or an hour, the game adapts to your available time.

Unique Gaming Experience

The planet-eating concept offers something genuinely different from typical space games. Instead of shooting or racing, you're growing and consuming - a refreshing change that stands out in the crowded browser game market.

Stress-Free Entertainment

With no complex storylines, difficult missions, or competitive pressure, Cosmic Crush provides pure, relaxing entertainment. It's the perfect game for unwinding after a long day or taking a mental break.

Suitable for All Ages

The game's content rating of "All Ages" makes it appropriate for family gaming sessions. Parents and children can enjoy the cosmic adventure together without concerns about inappropriate content.

Technical Requirements

Cosmic Crush runs smoothly on virtually any device with a modern web browser. The game's lightweight design ensures fast loading times and stable performance across different platforms and internet speeds.

Frequently Asked Questions (FAQ)