Recoil - Physics-Based Shooting Platform Game

Seele01-Flash
By
Recoil is an innovative physics-based platform shooter where you control movement through weapon recoil. Eliminate pink viruses while navigating deadly spikes in this unique action-puzzle hybrid game.

Prompt

MODEL: Seele01-Flash
Please use Three.js to generate a **mobile-first game** with the theme "**Recoil - Voxel Physics Platformer**". Please read the following detailed game design requirements first, and then generate the code accordingly: ### 1. Assets & Environment * **Visual Style:** Replicate a "Fancade" or Martin Magni aesthetic. Use **Voxel (3D Pixel)** art style. Geometry should be simple cubes and blocks with flat shading or toon shading to ensure high performance on mobile devices. * **Player Character:** A small, cute blocky character (composed of a few primitive cubes) holding a disproportionately large gun. * **Enemies (Viruses):** Spiky pink voxel spheres or cubes that pulse slightly. They should look dangerous but simple. * **Environment:** A grid-based level design. * **Walls/Floors:** Solid, neutral-colored blocks (e.g., grey or white) with distinct outlines. * **Hazards:** Sharp metallic spikes (Insta-death zones). * **Background:** Clean, solid pastel color (e.g., soft pink or light blue) or a simple gradient skybox to maintain visual clarity. * **Performance:** Use `InstancedMesh` for repetitive environment blocks to reduce draw calls. Keep the polygon count very low. ### 2. Audio Requirements * **BGM:** A fast-paced, quirky **Chiptune / 8-bit** track that loops seamlessly. It should feel energetic and arcade-like. * **Sound Effects (SFX):** * **Gunshot:** A heavy, bass-boosted "blast" sound to emphasize the recoil force. * **Hit/Impact:** A "thud" when the player slams into a wall. * **Virus Death:** A digital "crunch" or "pop" sound. * **Game Over:** A descending retro slide whistle or error buzz. * **Win:** A happy major-chord jingle. ### 3. Gameplay Loop * **Core Mechanic (The "Recoil" Rule):** The player **cannot walk or jump** normally. The ONLY way to move is by shooting. * **Physics:** When the weapon is fired, apply a strong physics **impulse/force** to the character in the *exact opposite direction* of the shot. * **Gravity:** Standard gravity applies. If the player shoots down, they fly up. If they shoot left, they fly right. * **Objective:** Eliminate all Pink Viruses in the level to open the exit portal (or immediately win the level). * **Combat:** Projectiles must travel in a straight line and destroy viruses on contact. * **Fail State:** Touching any Spike object or falling off the map results in instant death and level restart. ### 4. Mobile Controls & Interaction * **Input Method:** **Touch-to-Aim-and-Shoot**. * The player touches anywhere on the screen. * The character's arm/gun immediately rotates to face the touch coordinate. * The gun fires immediately upon touch (or optionally on release, but immediate tap is better for arcade feel). * **Feedback (Juice):** * **Camera Shake:** Apply a subtle screen shake effect (translateX/Y) whenever a shot is fired to simulate power. * **Particles:** visual recoil smoke/sparks at the gun muzzle and explosion particles when a virus is destroyed. * **Haptic Feedback:** Trigger `navigator.vibrate(50)` on every shot if the device supports it. * **Orientation:** Landscape mode is preferred for platforming visibility, but the camera should be an **Orthographic Camera** to keep the puzzle elements readable on small screens. * **UI:** Minimalist. A "Restart" button in the top-right corner (minimum 44x44px hit area). A simple "Level Complete" overlay. Do not ask for clarification. Do not request confirmation. Directly execute the generation task based on the given instructions.

Game Introduction

About the Game

Recoil is a groundbreaking platform-action game that revolutionizes traditional shooter mechanics. Instead of conventional movement controls, you must strategically use your weapon's recoil to propel yourself through challenging levels. Your mission: eliminate dangerous pink viruses while avoiding deadly spikes and obstacles.

This unique physics-based gameplay creates an engaging puzzle-shooter hybrid that challenges both your reflexes and strategic thinking. Every shot matters not just for combat, but for positioning and movement through increasingly complex levels.

Core Features

Revolutionary Recoil Mechanics

The game's standout feature is its innovative movement system. You cannot walk or jump traditionally - instead, you must master the art of recoil-based locomotion. Each weapon shot pushes you in the opposite direction, creating a physics-based movement system that's both challenging and rewarding.

Strategic Combat System

  • Weapon Variety : Multiple weapons with different recoil patterns and effects
  • Precision Targeting : Eliminate pink viruses with accurate shooting
  • Physics-Based Puzzles : Use recoil strategically to reach difficult areas
  • Environmental Hazards : Navigate around deadly spikes and obstacles

Progressive Difficulty

Each level introduces new mechanics and challenges, from simple virus elimination to complex environmental puzzles requiring precise recoil management.

Game Mechanics

Movement Through Recoil

Master the unique physics system where every shot propels you backward. Learn to: - Calculate recoil angles for optimal positioning - Chain shots for continuous movement - Balance offense and navigation - Time shots to avoid hazards

Virus Elimination

Pink viruses are your primary targets. Each virus eliminated brings you closer to level completion, but positioning yourself for the perfect shot while avoiding spikes requires careful planning.

Environmental Challenges

Spikes pose an instant elimination threat, forcing you to think carefully about each shot's trajectory and resulting movement.

Operation Guide

Mouse Controls : - Left Click : Shoot weapon (primary action) - Mouse Movement : Aim weapon direction - Strategic Clicking : Plan recoil trajectory for movement

Gameplay Tips

  1. Plan Your Shots : Consider both target elimination and movement consequences
  2. Watch Recoil Direction : Your character moves opposite to where you shoot
  3. Avoid Spikes : One touch means instant elimination
  4. Use Walls : Bounce off surfaces to change direction
  5. Practice Precision : Accurate aiming saves ammunition and positioning

Why Play Recoil

Recoil offers a completely unique gaming experience that you won't find anywhere else. The innovative recoil-based movement system creates an engaging blend of action, physics, and puzzle-solving that keeps players coming back for more.

Perfect for Strategy Lovers

If you enjoy games that make you think before you act, Recoil delivers. Every shot requires consideration of both offensive and defensive positioning.

Instant Accessibility

Completely free to play with simple mouse controls - jump in immediately without downloads or complex tutorials.

Cross-Platform Fun

Play seamlessly on desktop computers, tablets, and mobile devices through your web browser.

Frequently Asked Questions (FAQ)