Chicken Scream - Voice Controlled Platform Game

Seele01-Flash
By
Chicken Scream is an innovative voice-controlled platform game where your voice determines your chicken's movement. Scream to jump, whisper to walk, and stay silent to stand still in this hilarious arcade adventure.

Prompt

MODEL: Seele01-Flash
Please use Three.js to generate a **mobile-first game** with the theme "**Chicken Scream**". Please read the following detailed game design requirements first, and then generate the code accordingly: ### 1. Assets & Environment * **Visual Style:** 2.5D Side-Scroller using an **Orthographic Camera** to simulate the flat, cartoon vector art style of the reference image. Use a vibrant, high-saturation color palette (Sunny Yellow Background `#FFE14D`, Bright Green Grass `#4CD964`, Deep Blue Water `#34AADC`, Cartoon Pink Chicken `#FFC0CB`). * **Asset Details:** * **Player:** A simple blocky chicken (use a `BoxGeometry` or grouped primitives). It needs a distinct red comb and orange beak. The beak should animate (open wide) when the microphone input volume is high. * **Platforms:** Floating islands generated using `ExtrudeGeometry` or `BoxGeometry` with a brown soil bottom layer and a green grass top layer. * **Water:** A moving mesh or shader at the bottom of the screen with a sine-wave animation to simulate flowing water. * **Background:** A dynamic sunburst effect (rotating rays) behind the gameplay layer. * **Mobile Optimization:** Use `InstancedMesh` for repeated platforms if possible. Keep the shadow map resolution low or use baked lighting to save battery. Ensure the canvas resizes correctly for device pixel ratio (DPR). ### 2. Audio Requirements * **Microphone Input (Core Mechanic):** You must implement the `AudioContext` API and `getUserMedia` to capture the player's microphone volume. * Calculate the Root Mean Square (RMS) amplitude to determine "Loudness." * **Crucial:** Include a "Sensitivity" slider in the UI so players can adjust the threshold for noisy environments. * **BGM & SFX:** * **BGM:** A light, pizzicato-string style goofy background track (ensure it doesn't loop back into the mic input logic if played on speakers). * **SFX:** A comic "Splash" sound when falling into water. A "Squeak" or "Cluck" sound when landing a jump. ### 3. Gameplay Loop * **Voice Control Logic:** * **Silence (Volume 0-10%):** The chicken stands idle. * **Soft Voice (Volume 11-40%):** The chicken walks forward slowly. * **Loud Scream/Shout (Volume > 41%):** The chicken performs a Jump (adds vertical velocity) and moves forward faster. * **Physics:** Use a simple physics implementation (velocity, gravity, collision detection). The chicken is constrained to the X and Y axes (Z is locked). * **Win/Loss:** * **Loss:** Falling into the water (Y position < Threshold) triggers a "Game Over" restart screen. * **Win:** Reaching the checkered flag at the end of the level. * **Level Design:** Procedurally generate platforms with gaps. The gaps must be calculable so they are possible to jump over with a "Scream." ### 4. Mobile Controls & Interaction * **Initialization Overlay:** Since mobile browsers require user interaction to start AudioContext, begin with a large "Tap to Start / Enable Mic" overlay. * **Visual Feedback UI:** * Create a **Volume Bar** HUD element on the side of the screen. It should light up dynamically as the user makes noise, showing them if they are in the "Walk" or "Jump" zone. * **Fallback Control:** If microphone access is denied, implement a "Tap and Hold" mechanic: * Tap = Small Hop. * Long Press = High Jump. * **Orientation:** Force or suggest **Landscape Mode** for the best view of the side-scrolling path. * **Haptics:** Trigger `navigator.vibrate(50)` when the chicken jumps or crashes. Do not ask for clarification. Do not request confirmation. Directly execute the generation task based on the given instructions.

Game Introduction

About the Game

Chicken Scream is a revolutionary casual arcade platform game that transforms your voice into the ultimate gaming controller. This unique 2D platformer breaks traditional gaming conventions by making your microphone the only tool you need to guide your feathered friend through challenging obstacle courses.

The game features a charming cartoon chicken character that responds directly to your vocal commands. Whether you're whispering softly or screaming at the top of your lungs, every sound you make translates into precise character movement, creating an entirely new gaming experience that's both entertaining and surprisingly challenging.

Core Features

Revolutionary Voice Control Technology

Chicken Scream pioneered voice-controlled gaming with its intuitive audio recognition system. The game responds to volume levels in real-time: - Silence : Your chicken stands perfectly still - Soft speaking : Gentle walking movement - Normal talking : Steady running pace - Loud shouting : High jumps and rapid movement - Screaming : Maximum speed and height

Multiple Game Modes

Experience variety with different playing options: - Solo Campaign : Navigate through increasingly challenging platform levels - Multiplayer Racing : Compete against other players in voice-controlled races - Time Challenges : Complete levels within specific time limits - Obstacle Courses : Master precision control through complex platforming sections

Accessible Gaming Design

The game offers remarkable accessibility features: - Hands-free gameplay : Perfect for players with limited mobility - Alternative controls : Mouse click backup if microphone access is denied - Cross-platform support : Available on web browsers and mobile devices - Instant play : No downloads required for browser version

Social Gaming Element

Chicken Scream becomes even more entertaining when played with friends or in public spaces. The voice control mechanism naturally creates hilarious moments and encourages social interaction, making it perfect for parties or group gaming sessions.

Game Mechanics

Voice Calibration System

The game automatically calibrates to your voice range, ensuring optimal performance regardless of your natural speaking volume. This adaptive technology means players with different vocal ranges can enjoy the same responsive control experience.

Physics-Based Movement

Your chicken follows realistic physics principles, adding depth to the voice control system. Momentum, gravity, and collision detection work together to create challenging platforming scenarios that require precise vocal control.

Progressive Difficulty

Levels gradually introduce new obstacles and challenges: - Moving platforms that require timing - Spike traps demanding precise jumping - Collection objectives adding complexity - Racing elements increasing competitive pressure

Operation Guide

Getting Started

  1. Grant microphone permission when prompted by your browser
  2. Adjust your device volume to comfortable speaking levels
  3. Test voice controls in the tutorial level
  4. Practice volume modulation to master character movement
  5. Start with solo levels before attempting multiplayer races

Pro Tips for Success

  • Use headphones to prevent audio feedback loops
  • Practice consistent volume levels for predictable movement
  • Try singing or humming for creative control variations
  • Master the silence technique for precise positioning
  • Experiment with voice modulation for different jumping heights

Troubleshooting Common Issues

If voice control isn't working: - Check browser microphone permissions - Ensure your microphone isn't muted - Try refreshing the page and re-granting permissions - Test your microphone with other applications - Use the mouse click backup control method

Why Play Chicken Scream

Unique Gaming Experience

No other platform game offers this level of voice integration. Chicken Scream creates entirely new gameplay mechanics that challenge your coordination between vocal control and strategic thinking.

Perfect for All Ages

The simple concept makes it accessible to young children, while the challenging platforming elements keep experienced gamers engaged. The humorous premise appeals to players across all age groups.

Stress Relief and Fun

Shouting at your screen becomes not just acceptable but necessary! This game provides a legitimate outlet for vocal expression while delivering genuine entertainment value.

Social Entertainment Value

Watching others play Chicken Scream is often as entertaining as playing yourself. The game naturally creates funny moments and memorable experiences that are perfect for sharing.

Free and Accessible

With no cost barriers and minimal system requirements, Chicken Scream offers premium entertainment value without any financial investment. The browser-based version works on virtually any device with internet access.

Frequently Asked Questions (FAQ)