Squish Machine - Flying Skill Game

Seele01-Flash
By
Squish Machine is an intense flying skill game where precision and timing are everything. Navigate your character through deadly horizontal spike traps, collect coins, and unlock cool characters in this challenging arcade experience.

Prompt

MODEL: Seele01-Flash
Please use Three.js to generate a **mobile-first game** with the theme "Squish Machine". Please read the following detailed game design requirements first, and then generate the code accordingly: ### 1. Assets & Environment * **Visual Style**: Use a **2.5D Orthographic perspective** to mimic the flat vector art style of the original screenshot but with 3D depth. The aesthetic should be "Vibrant Cartoon Industrial." * **Color Palette**: High saturation. Use Bright Yellow (`#FFD700`) for the machine frames, Deep Purple (`#800080`) for the background void, and bright White for spikes. * **The Player**: A simple, glossy Blue Sphere (`#1E90FF`) with a Red Hemisphere "Cap" on top. Add two simple white spheres for eyes to give it character. * **The Machine (Level)**: * Create two large vertical walls (BoxGeometry) on the left and right sides. * The inner faces of these walls must have rows of **cone-shaped spikes** pointing inward. * The top and bottom boundaries should be yellow beams with orange rivets (cylinders). * **Goal Object**: A large, pulsating Red Button located at a random position (usually the far end of the level) that the player must touch. * **Performance**: Use simple Geometries (Box, Sphere, Cone) with `MeshLambertMaterial` or `MeshToonMaterial`. Avoid complex textures; use vertex colors. Limit real-time shadows to the player character only for mobile efficiency. ### 2. Audio Requirements * **BGM**: An upbeat, fast-paced **Chiptune / 8-bit Arcade track**. It should sound tense, mimicking a "time is running out" feeling. * **Sound Effects (SFX)**: * **Thrust**: A soft "whoosh" or "puff" air sound when the player taps to fly. * **The Machine**: A constant, low-frequency mechanical grinding or hydraulic hum that gets louder as the walls get closer. * **Coin Collect**: A high-pitched "Ding" or synthesis sparkle. * **Squish (Death)**: A cartoony "Splat" or crunch sound. * **Button Press (Win)**: A mechanical "Power Down" sound followed by a cheerful victory jingle. ### 3. Gameplay Loop * **Physics**: Implement arcade-style physics. The character is affected by gravity. The player must apply upward force to hover and lateral force to move. Movement should have slight inertia (drift) to make it skill-based. * **The Threat**: At the start of the level, the left and right spiked walls slowly begin to move toward the center (decreasing the X-axis gap). * **Objective**: The player spawns at the bottom/start. They must navigate through obstacles (floating platforms, static spikes) and collect floating Yellow Coins to reach the **"Stop Machine" Button**. * **Win Condition**: Colliding with the Red Button stops the walls immediately, plays a victory animation, and loads the next level. * **Lose Condition**: If the player touches any spike (wall or static) or gets crushed between the walls, the character "pops" (scale to 0), and the level restarts. ### 4. Mobile Controls & Interaction * **Orientation**: **Portrait Mode** (Vertical). The gameplay involves moving up/down and dodging side-to-side, which fits portrait well. * **Touch Controls (Split Screen Scheme)**: * **Left Half of Screen**: Invisible touch area for **Lateral Movement**. Touching left moves left, touching right (relative to center of left zone) moves right. Alternatively, a simple fixed Virtual Joystick in the bottom-left corner. * **Right Half of Screen**: Tap and hold to **Levitate/Fly**. Tapping repeatedly gives bursts of upward momentum (simulating the "repeatedly press arrow keys" mechanic). * **UI Layout**: * Top Center: Level Indicator. * Top Right: Coin Counter. * All buttons (Pause, Retry) must be at least **44x44 pixels** and placed away from the main gameplay touch zones to prevent accidental clicks. * **Feedback**: * **Haptic**: Trigger a heavy vibration (`navigator.vibrate(200)`) on death. Trigger a light tap vibration on coin collection. * **Visual**: When the "Fly" button is pressed, emit small white particle trails from the bottom of the character. Do not ask for clarification. Do not request confirmation. Directly execute the generation task based on the given instructions.

Game Introduction

About the Game

Squish Machine is a thrilling skill-based arcade game that tests your flying precision and reflexes. In this colorful, cartoon-styled adventure, you must carefully navigate your character through increasingly challenging levels filled with deadly horizontal spike traps. The game combines simple controls with demanding gameplay, creating an addictive experience that keeps players coming back for more.

Featuring vibrant graphics and smooth animations, Squish Machine offers both casual and hardcore gaming experiences. Whether you're looking for a quick gaming session or want to master every level, this free browser game delivers excitement and challenge in equal measure.

Core Features

Precision Flying Mechanics

The game's core challenge revolves around precise flight control. You must carefully manage your character's altitude and movement to avoid the crushing spike traps while making progress toward your goal.

Character Progression System

Collect coins scattered throughout each level to unlock a variety of unique characters. Each character brings visual variety to your gaming experience, giving you goals beyond just completing levels.

Multiple Game Modes

  • Standard Mode : Focus on reaching the finish button safely
  • Timed Mode : Race against the clock to showcase your flying skills and compete for high scores

Challenging Level Design

Each level presents unique obstacles and trap configurations, ensuring that gameplay remains fresh and challenging as you progress.

Game Mechanics

The objective is deceptively simple: fly your character to the finish button before being crushed by the horizontal spike traps. However, executing this task requires:

  • Precise Timing : Know exactly when to ascend and descend
  • Steady Control : Avoid overcompensating with controls
  • Route Planning : Choose the safest path through obstacles
  • Coin Collection : Gather coins while maintaining safety

Operation Guide

Basic Controls

  • Arrow Keys : Control your character's movement and levitation (press repeatedly for sustained flight)
  • Space Bar : Make selections in menus
  • Escape Key : Pause the game when needed

Flying Tips

  • Press arrow keys in short, controlled bursts rather than holding them down
  • Plan your route before starting each level
  • Focus on reaching the button safely first, then worry about collecting all coins
  • Use the pause function to study difficult sections

Coin Collection Strategy

While coins unlock new characters, don't risk your safety for every coin on your first attempt. Learn the level layout first, then replay to collect missed coins safely.

Why Play Squish Machine

Perfect for Skill Game Enthusiasts : If you enjoy games that reward precision and practice, Squish Machine offers the perfect balance of accessibility and challenge.

No Download Required : Play instantly in your browser without any downloads or installations. The game runs smoothly on both desktop and mobile devices.

Progression System : The character unlocking system provides long-term goals beyond just completing levels, encouraging repeated play.

Quick Gaming Sessions : Each level can be completed in minutes, making it perfect for short gaming breaks or extended play sessions.

Competitive Element : The timed mode adds a competitive aspect where you can challenge yourself to improve your scores and completion times.

This game appeals to players who enjoy precision platformers, skill-based challenges, and arcade-style gameplay. Whether you're a casual gamer looking for a fun distraction or a dedicated player seeking to master every level, Squish Machine provides an engaging and rewarding experience.

Frequently Asked Questions (FAQ)