Shrink - Action Ball Game

Seele01-Flash
By
Shrink is an addictive action game where you control a red ball, avoiding dangerous black balls while collecting helpful blue balls. Simple mouse controls make it easy to play but challenging to master.

Prompt

MODEL: Seele01-Flash
Please use Three.js to generate a **mobile-first game** with the theme "Shrink". Please read the following detailed game design requirements first, and then generate the code accordingly: ### 1. Assets & Environment * **Visual Style**: "Glossy Web 2.0 / Frutiger Aero" aesthetic to mimic the 2007 original flash game but in 3D. Surfaces should look like polished plastic or billiards balls. * **Player Character**: A large, shiny **Red Sphere**. Use `MeshPhysicalMaterial` with high `clearcoat` and `roughness: 0.2` to achieve a glossy, reflective look. * **Entities**: * **Blue Spheres (Friends)**: Smaller, emissive blue glossy spheres. * **Black Spheres (Enemies)**: Matte black or dark metallic spheres, slightly ominous. * **Environment**: A warm, gradient orange background plane (mimicking the screenshot). Use an Orthographic Camera to simulate a 2D top-down view while retaining 3D depth perception (shadows underneath balls). * **Performance**: Use `SphereGeometry` with moderate segment count (e.g., 32, 32). If particle count exceeds 50, implement `InstancedMesh` for the enemies/collectibles to ensure 60 FPS on mobile devices. ### 2. Audio Requirements * **BGM**: A simple, repetitive, upbeat 'early 2000s flash game' loop. Think minimal techno or synth-pop (120 BPM). * **SFX**: * **Collect (Blue)**: A high-pitched, pleasant "Pop" or "Ding" sound. * **Damage (Black)**: A low-pitched "Thud" or static crunch. * **Movement**: Subtle "whoosh" when moving quickly (optional). * **Game Over**: A shrinking sound effect (pitch bending down). ### 3. Gameplay Loop * **Core Mechanic**: The Player (Red Ball) constantly loses mass (shrinks) over time. * **Blue Balls**: Collecting them restores size/mass and adds to the score. * **Black Balls**: Touching them instantly reduces size significantly or causes immediate Game Over. * **Win/Loss Condition**: The game is an infinite survival arcade mode. Game Over occurs if the player shrinks into nothingness or touches a Black Ball (depending on difficulty balance). * **Enemy Logic**: Black and Blue balls drift across the screen from random edges or bounce around the arena borders like atoms. * **Score**: Display a high score based on time survived + blue balls collected. ### 4. Mobile Controls & Interaction * **Control Scheme**: **1:1 Finger Follow (Drag)**. The Red Ball should smoothly follow the player's finger/thumb position on the screen. * Implement a slight "lerp" (linear interpolation) for the movement so it feels weighty, not jittery. * **Orientation**: **Portrait Mode** preferred for one-handed play, but the camera should adapt if the window is resized. * **UI**: * **Start/Restart Button**: Large, pill-shaped button (at least 60px height) centered on screen for easy tapping. * **Score Display**: Large text at the top center, contrasting with the orange background. * **Feedback**: * **Haptics**: Trigger a short vibration (`navigator.vibrate(50)`) when collecting a Blue ball, and a long vibration when hitting a Black ball. * **Visual**: The screen should flash red briefly upon taking damage. Do not ask for clarification. Do not request confirmation. Directly execute the generation task based on the given instructions.

Game Introduction

About the Game

Shrink is a fast-paced action game that challenges your reflexes and strategic thinking. In this colorful ball-based adventure, you take control of a red ball with a simple yet engaging objective: avoid the threatening black balls while collecting beneficial blue balls to become the ultimate red ball champion.

With a solid 3.0 rating from players, Shrink offers straightforward gameplay that's easy to learn but difficult to master. The game's minimalist design focuses on pure skill-based action, making every second count as you navigate through increasingly challenging scenarios.

Core Features

Simple Yet Addictive Gameplay

Shrink proves that the best games often have the simplest concepts. The core mechanic revolves around strategic movement and quick reflexes as you guide your red ball through a field of obstacles and opportunities.

Intuitive Mouse Controls

The game features incredibly responsive mouse-only controls, making it accessible to players of all skill levels. Simply move your mouse to guide your red ball around the screen - no complex button combinations or keyboard shortcuts required.

Dynamic Challenge System

As you progress, the game becomes increasingly challenging with more black balls to avoid and strategic decisions about which blue balls to collect. Each playthrough offers a unique experience based on your movement patterns and risk-taking decisions.

Browser-Based Convenience

Play instantly in your web browser without any downloads or installations. Shrink is optimized for smooth performance across different devices and screen sizes.

Gameplay Mechanics

The objective is deceptively simple: survive as long as possible while maximizing your score. Blue balls serve as your allies in this colorful battlefield - collecting them boosts your performance and helps you achieve higher scores. However, touching any black ball will end your run immediately.

Success in Shrink requires: - Quick reflexes to avoid sudden black ball movements - Strategic planning to position yourself near valuable blue balls - Risk assessment to decide when it's worth going for a difficult collection - Patience to wait for the right moment to make your move

Operation Guide

Mouse Movement : Use your mouse to control the red ball's position. The ball follows your cursor smoothly and responsively.

Objective : Avoid all black balls while collecting as many blue balls as possible to increase your score.

Game Over : Contact with any black ball ends the game immediately.

Strategy Tips : - Keep your red ball moving to avoid getting cornered - Plan your route to blue balls carefully - Use the edges of the play area strategically - Watch for patterns in black ball movement

Why Play Shrink

Shrink offers the perfect combination of simplicity and challenge that makes for compelling gameplay. Whether you're looking for a quick gaming break or want to test your reflexes, this action game delivers immediate entertainment.

The game's strength lies in its accessibility - anyone can start playing within seconds, but achieving high scores requires skill development and strategic thinking. It's ideal for:

  • Casual gamers seeking quick, engaging gameplay sessions
  • Competitive players who enjoy score-based challenges
  • Reflex training for those wanting to improve their reaction times
  • Stress relief through focused, meditative gameplay

Shrink represents classic arcade-style gaming at its finest - pure skill-based action without unnecessary complications.

Frequently Asked Questions (FAQ)