Particles - Blue Ball Survival Game

Seele01-Flash
By
Particles is a minimalist survival action game where you control a lone blue ball navigating through a sea of dangerous red particles. Simple controls meet addictive gameplay in this test of reflexes and endurance.

Prompt

MODEL: Seele01-Flash
Please use Three.js to generate a **mobile-first game** with the theme "Particles". Please read the following detailed game design requirements first, and then generate the code accordingly: ### 1. Assets & Environment * **Visual Style:** Modern Minimalist Arcade. Use an Orthographic Camera to simulate a flat 2D surface while utilizing 3D lighting and depth. * **Player Character:** A glowing, neon-blue sphere (`THREE.SphereGeometry`) with a subtle emissive material and a short trail renderer (using a ribbon or simple particle stream) to indicate movement speed. * **Enemies:** Neon-red spheres of varying sizes. They should pulse slightly in intensity. * **Background:** A deep dark grey or matte black plane with a faint, grid-like pattern or subtle noise texture to provide spatial reference without visual noise. * **Effects:** * **Collision:** If the player dies, shatter the mesh into tiny triangular shards (particles) that disperse with physics. * **Near Miss:** A faint white flash or vignette effect when the player narrowly avoids a red particle. * **Mobile Optimization:** Use low-poly spheres (e.g., `widthSegments: 16`, `heightSegments: 16`) to maintain 60 FPS on mobile. Reuse geometries and materials (InstancedMesh if enemy count > 50). ### 2. Audio Requirements * **BGM:** A driving, minimalist electronic/synthwave track. Start with a low-pass filter and open it up as the game starts. The tempo should match the frenetic pace of the particles. * **SFX:** * **Movement:** A subtle low-frequency hum that increases in pitch with velocity. * **Spawn:** A digital "warp" sound when new red particles appear. * **Game Over:** A sharp, synthesized "glass breaking" or static crunch sound. * **UI:** clean, high-pitched "blips" for button presses. ### 3. Gameplay Loop * **Core Mechanic:** The player controls the Blue Particle inside a bounded rectangular arena. The goal is to survive as long as possible. * **Enemy Behavior:** * Red particles spawn periodically from the edges of the screen. * They move in straight lines, bouncing physically off the arena walls (like billiard balls). * As time progresses, increase the spawn rate and the speed of the red particles. * **Scoring:** The score is based on "Time Survived" (seconds + milliseconds). * **Win/Loss:** One hit from a red particle triggers immediate Game Over. Display the final survival time and a "Try Again" button. ### 4. Mobile Controls & Interaction * **Control Scheme:** **Relative Touch Drag (Virtual Joystick logic)**. Touching anywhere on the screen and dragging moves the ball relative to that touch. This prevents the user's finger from obscuring the Blue Particle. * **Movement Physics:** The movement should feel "weighty" but responsive. Use slight lerping (linear interpolation) for smooth position updates, not instant teleportation. * **Screen Orientation:** Lock to **Portrait Mode** for one-handed play, or support responsive resizing for Landscape. Ensure the arena boundaries recalculate on `resize` events. * **Haptic Feedback:** Trigger a heavy vibration (`navigator.vibrate(200)`) on death. Trigger a very light tick (`navigator.vibrate(10)`) if the player bounces off a wall. * **UI Layout:** * Score: Large, semi-transparent font centered at the top (safe area). * Game Over Screen: A centered modal with a large, thumb-friendly "Restart" button (min-height 50px). Do not ask for clarification. Do not request confirmation. Directly execute the generation task based on the given instructions.

Game Introduction

About the Game

Particles is a captivating minimalist survival game that challenges your reflexes and concentration. As the sole blue ball in a world filled with threatening red particles, your mission is simple yet thrilling: survive as long as possible while avoiding contact with the red enemies. This elegant action game combines simplicity with addictive gameplay, making it perfect for quick gaming sessions or extended survival challenges.

The game features a clean, minimalist design that focuses purely on the core gameplay experience. With its straightforward concept and smooth controls, Particles offers an accessible yet challenging experience that appeals to casual gamers and hardcore survival enthusiasts alike.

Core Features

Minimalist Design Excellence

Particles embraces the "less is more" philosophy with its clean visual aesthetic. The stark contrast between the blue player ball and red enemy particles creates immediate visual clarity, allowing players to focus entirely on survival strategy without distracting visual elements.

Progressive Difficulty System

As you survive longer, the challenge intensifies. More red particles appear on screen, moving in increasingly complex patterns that test your ability to navigate tight spaces and predict particle movements. The difficulty curve ensures that both beginners and experienced players find appropriate challenges.

Precision Mouse Controls

The game utilizes smooth, responsive mouse controls that provide precise movement. Your blue ball follows your cursor movements naturally, allowing for both quick escapes and careful navigation through particle fields.

Endless Survival Gameplay

With no defined endpoint, Particles offers infinite replayability. Each session becomes a personal challenge to beat your previous survival time and achieve that coveted A rating. The endless nature means every game feels fresh and challenging.

Game Mechanics

Survival Objective

Your primary goal is to keep your blue ball safe from the red particles for as long as possible. Contact with any red particle ends the game immediately, making precision and awareness crucial for success.

Rating System

Particles features a performance rating system that evaluates your survival skills. Achieve longer survival times to earn higher ratings, with the ultimate goal of reaching an A rating that demonstrates mastery of the game's mechanics.

Dynamic Particle Behavior

Red particles move with realistic physics, creating natural-feeling movement patterns that require genuine skill to navigate. Some particles may move faster or in unpredictable directions, adding layers of complexity to the survival challenge.

Operation Guide

Basic Controls

  • Mouse Movement : Control your blue ball by moving your mouse cursor
  • Precision Navigation : Use subtle mouse movements for fine control in tight spaces
  • Quick Escapes : Make rapid mouse movements to dodge incoming red particles

Survival Strategies

  • Stay Central : Keep to open areas when possible to maintain escape routes
  • Predict Movement : Anticipate red particle trajectories to avoid collisions
  • Smooth Motion : Avoid jerky movements that might lead you into danger
  • Patience : Sometimes waiting for the right moment is better than rushing

Scoring Tips

  • Survival time directly affects your final rating
  • Consistent, smooth movement often yields better results than frantic dodging
  • Learn particle movement patterns to improve your survival strategies

Why Play Particles

Perfect for All Skill Levels

Whether you're a casual gamer looking for a quick challenge or a dedicated player seeking to master survival mechanics, Particles offers an appropriate difficulty curve. The simple controls make it instantly accessible, while the increasing challenge provides long-term engagement.

Stress-Relief Gaming

The minimalist design and focused gameplay create a meditative gaming experience. Many players find the concentration required for survival helps clear their mind and reduce stress.

Quick Gaming Sessions

With no lengthy tutorials or complex mechanics to learn, you can jump straight into the action. Perfect for short breaks, commuting, or whenever you need a quick gaming fix.

Skill Development

Particles helps improve hand-eye coordination, reaction time, and spatial awareness. The precision required for high-level play naturally develops these skills through engaging gameplay.

Completely Free Experience

Enjoy the full Particles experience without any cost. No hidden fees, no premium content - just pure, engaging survival gameplay available instantly in your browser.

Frequently Asked Questions (FAQ)