Block Dodge - Action Dodging Game

Seele01-Flash
By
Block Dodge is a fast-paced action game that challenges your reflexes and coordination. Navigate through falling blocks using simple mouse controls in this thrilling survival experience.

Prompt

MODEL: Seele01-Flash
Please use Three.js to generate a **mobile-first game** with the theme "**Neon Block Dodge**". Please read the following detailed game design requirements first, and then generate the code accordingly: ### 1. Assets & Environment * **Visual Style**: A modern 2.5D "Cyber-Grid" aesthetic. Use a top-down Orthographic Camera with a slight tilt to give depth to the blocks without distorting gameplay. * **Background**: A deep blue, moving grid floor (infinite scrolling effect along the Y-axis) to simulate speed. The background color should be a dark midnight blue (`#050515`). * **Player**: A small, glowing Cyan cube (`BoxGeometry`) with a trail renderer (simple distinct particles following it) to emphasize movement speed. * **Enemies (Blocks)**: Large, imposing Red cubes or rectangular prisms. They should have a slight emissive property so they look dangerous. * **Collectibles**: Spinning Green stars or Icosahedrons (`IcosahedronGeometry`) that emit a soft light. * **Post-Processing**: Implement `EffectComposer` with an `UnrealBloomPass` to give the player, enemies, and stars a neon glow effect suitable for high-end mobile devices (add a toggle or check performance). * **Mobile Optimization**: Use simple geometries (low polygon count). Avoid complex shadows; use baked lighting or simple ambient/directional light. ### 2. Audio Requirements * **BGM**: A high-tempo, driving Synthwave or Techno track that loops. It should sound urgent and energetic (reminiscent of an action movie chase sequence). * **Sound Effects**: * **Collect**: A sharp, high-pitched digital "ping" or "chime". * **Movement**: A subtle "whoosh" when moving the player drastically fast. * **Collision/Game Over**: A heavy, distorted digital "crash" or "static noise" followed by a slowdown effect. * **UI**: A simple click sound for the start/restart buttons. ### 3. Gameplay Loop * **Start**: A minimalistic menu overlay with a "Tap to Start" button. * **Core Action**: The player controls the Cyan cube. Red enemy blocks spawn from the top (and occasionally sides) of the screen and move swiftly toward the bottom/opposite side. * **Progression**: The game speed (movement of grid and enemies) and spawn rate of enemies increase linearly the longer the player survives. * **Scoring**: * +1 point for every second survived. * +10 points for collecting a Green Star. * **Collision**: If the player touches a Red Block, the player explodes into particles, the screen shakes slightly, and the "Game Over" UI appears with the final score and a "Restart" button. ### 4. Mobile Controls & Interaction * **Control Scheme**: **Relative Touch Drag**. The player character should not snap exactly to the finger position (to avoid the finger covering the character). Instead, the character mimics the movement of the finger on the screen. If the user drags right, the character moves right. * **Orientation**: **Landscape Mode preferred** (to match the screenshot's wide play area), but code should be responsive to window resizing. * **UI Elements**: * Score display in the top-left corner (large, readable font). * "Game Over" and "Start" buttons must be at least 44x44px and centered for easy tapping. * **Feedback**: * **Haptic**: Trigger `navigator.vibrate(200)` upon death/collision. * **Visual**: When a star is collected, spawn a small burst of green particles. Do not ask for clarification. Do not request confirmation. Directly execute the generation task based on the given instructions.

Game Introduction

About Block Dodge

Block Dodge is an intense action-packed dodging game that puts your reflexes to the ultimate test. With its simple yet addictive gameplay mechanics, this free online game delivers non-stop excitement as you navigate through a field of dangerous falling blocks. The game's straightforward concept - survive as long as possible by avoiding obstacles - makes it accessible to players of all skill levels while providing endless entertainment.

Core Features

Simple Mouse Controls

The game features intuitive mouse-based movement controls that make it easy for anyone to pick up and play. Simply move your mouse to guide your character safely through the danger zone, avoiding the constantly falling blocks that threaten to end your run.

Fast-Paced Action Gameplay

Block Dodge delivers heart-pounding action with its relentless pace. As blocks rain down from above, you must stay alert and react quickly to survive. The game's intensity increases as you progress, testing your concentration and hand-eye coordination.

Suitable for All Ages

With its family-friendly content rating, Block Dodge is perfect for players of all ages. The game's simple mechanics and clean visual style make it an excellent choice for casual gaming sessions or competitive challenges with friends and family.

Browser-Based Gaming

Enjoy Block Dodge directly in your web browser without any downloads or installations required. The game runs smoothly on desktop computers, laptops, and mobile devices, making it accessible whenever you need a quick gaming break.

Game Mechanics

Survival Objective

Your primary goal in Block Dodge is survival. Navigate your character through the playing field while avoiding the falling red blocks that continuously drop from the top of the screen. Each successful dodge brings you closer to achieving a high score.

Progressive Difficulty

As you survive longer, the game becomes increasingly challenging. The speed and frequency of falling blocks may increase, requiring faster reflexes and more precise movements to stay alive.

Scoring System

The longer you survive, the higher your score climbs. Challenge yourself to beat your personal best or compete with others to see who can achieve the ultimate survival time.

Operation Guide

Mouse Movement : Use your mouse to control your character's position on the screen. Move the mouse left, right, up, or down to navigate safely between the falling blocks.

Objective : Avoid all red blocks falling from above while staying within the game area. Contact with any block will end your current run.

Strategy Tips : - Stay focused and keep your eyes on multiple falling blocks simultaneously - Plan your movements ahead of time rather than reacting at the last second - Use the entire playing field - don't limit yourself to one area - Practice smooth, controlled movements rather than erratic jerky motions

Why Play Block Dodge

Block Dodge offers the perfect combination of simplicity and challenge that makes it incredibly addictive. The game's minimalist design focuses purely on the core gameplay experience without unnecessary distractions. Whether you're looking for a quick stress-relief session during a work break or want to improve your reflexes and concentration, Block Dodge delivers immediate satisfaction.

The game's accessibility across all devices and browsers means you can enjoy it anywhere, anytime. Its short session format makes it ideal for casual gaming, while the challenge of beating high scores provides long-term replay value. The family-friendly nature ensures it's suitable for players of all ages, making it a great choice for shared gaming experiences.

Perfect for Reflex Training

Regular play of Block Dodge can help improve your hand-eye coordination, reaction time, and spatial awareness. These skills transfer well to other gaming experiences and can even benefit daily activities that require quick reflexes and precise movements.

Frequently Asked Questions (FAQ)