The Chronicles of Stinky Bean

Seele01-Flash
By
The Chronicles of Stinky Bean is a hilarious arcade defense game where you help the adorable Stinky Bean fend off angry forest creatures using a box of peanuts as ammunition.

Prompt

MODEL: Seele01-Flash
Please use Three.js to generate a **mobile-first game** with the theme "The Chronicles of Stinky Bean". Please read the following detailed game design requirements first, and then generate the code accordingly: ### 1. Assets & Environment * **Visual Style**: A **2.5D Side-Scrolling Platformer** with a "Gross-Cute" cartoon aesthetic (inspired by early 2000s Flash games). Use `MeshToonMaterial` to achieve a cel-shaded look with bold black outlines if possible. * **Player Character (Stinky Bean)**: * A brown, bean-shaped capsule body (`CapsuleGeometry`). * **Key Feature**: Two exaggeratedly large, bulging eyeballs (`SphereGeometry`) with tiny pupils that jitter slightly. * **Accessories**: A small red fez hat (`CylinderGeometry`) on top. * **Animations**: A wobbly walk cycle (vertex shader or simple rotation), a "squash" animation when landing a jump, and a "flatten" animation when cowering. * **Enemies**: * **Angry Squirrels**: Low-poly brown shapes with glowing red eyes. They patrol platforms and throw acorns. * **Projectiles**: Peanuts (player ammo) and Acorns (enemy ammo). * **Environment**: * A forest setting using low-poly trees and bushes for the background (parallax scrolling effect). * Platforms made of logs and dirt blocks. * **Performance**: Use **Geometry Instancing** for background trees and forest debris to maintain high FPS on mobile devices. Limit dynamic lights to one directional light and use baked vertex colors where possible. ### 2. Audio Requirements * **BGM**: A whimsical, slightly clumsy orchestral track (tuba, pizzicato strings, and woodblocks) that loops. It should sound "funny" and not too serious. * **Sound Effects (SFX)**: * **Shoot**: A "Pfft" or "Pop" sound (like a cork gun) when firing peanuts. * **Jump**: A cartoony spring/boing sound. * **Enemy Hit**: A high-pitched squirrel squeak. * **Cower**: A slippery "fart" noise or squish sound when the bean ducks. ### 3. Gameplay Loop * **Objective**: Traverse from left to right to reach the "Finish Line" (a giant pile of golden peanuts) without losing all health. * **Mechanics**: * **Shooting**: The player fires peanuts horizontally. Gravity affects the peanuts slightly (arced trajectory). * **Cowering**: When the "Cower" button is held, the player's hitbox height is reduced by 50%, allowing them to dodge high-flying acorns or pass under low obstacles. The player cannot move while cowering. * **Health**: The player starts with 3 hearts. Getting hit by a squirrel or acorn removes 1 heart. * **Win/Loss**: * **Win**: Reach the end of the level. * **Loss**: Health drops to zero or player falls off the platform (y-axis < -10). ### 4. Mobile Controls & Interaction * **Orientation**: **Landscape** only (lock screen orientation). * **Touch Controls (Virtual Overlay)**: * **Left Side**: A dynamic **Virtual Joystick** or D-Pad for horizontal movement (Left/Right). * **Right Side**: Three distinct circular buttons (minimum 60px touch target): * **Button A (Green)**: Jump (supports double jump). * **Button B (Red)**: Shoot (fires peanut in facing direction). * **Button C (Yellow)**: Cower (hold to duck). * **UI Feedback**: * Buttons should scale down slightly (`0.9x`) when pressed for visual feedback. * Trigger `navigator.vibrate(20)` (haptic feedback) on Shooting and Jumping if supported. * **Camera**: An Orthographic camera that follows the player's X-position smoothly (`Lerp`), keeping the player slightly to the left of the center screen to show the path ahead. Do not ask for clarification. Do not request confirmation. Directly execute the generation task based on the given instructions.

Game Introduction

About the Game

The Chronicles of Stinky Bean is a delightfully funny arcade shooter that combines cute characters with engaging defense gameplay. In this charming browser-based adventure, you control the lovable Stinky Bean, a quirky little character armed with nothing but a box of peanuts to defend against waves of angry squirrels and other forest creatures.

This free online game delivers a perfect blend of humor and action, making it an ideal choice for players of all ages who enjoy light-hearted gaming experiences with a comedic twist.

Core Features

Hilarious Character Design

Stinky Bean's adorable appearance and funny animations create an instantly lovable protagonist that will keep you entertained throughout your gaming session.

Unique Peanut-Based Combat

Unlike traditional shooters, this game features a creative twist where peanuts serve as your primary ammunition against the forest invaders.

Progressive Difficulty

Face increasingly challenging waves of angry squirrels and forest creatures as you advance through the game, testing your aiming skills and reflexes.

Browser-Compatible Fun

  • Completely Free : No downloads, purchases, or subscriptions required
  • Instant Play : Start gaming immediately in any modern web browser
  • Cross-Platform : Works perfectly on desktop computers and laptops
  • Family-Friendly : Suitable for teens and adults with cute, non-violent gameplay

Gameplay Mechanics

The game centers around strategic defense and accurate shooting. As Stinky Bean, you must:

  • Aim and Shoot : Use precise mouse movements to target approaching forest creatures
  • Defend Your Position : Protect yourself from the angry animals trying to reach you
  • Manage Resources : Make every peanut count as you face waves of enemies
  • Survive Waves : Endure multiple rounds of increasingly difficult animal attacks

Operation Guide

Master these simple controls to become a peanut-throwing champion:

  • Mouse Movement : Aim your peanut shots at incoming enemies
  • Mouse Click : Fire peanuts at targets
  • Left/Right Arrow Keys or A/D : Move Stinky Bean left and right
  • Up Arrow or W Key : Make Stinky Bean jump to avoid attacks
  • Down Arrow or S Key : Duck down to cower and avoid enemy projectiles
  • P Key : Pause the game and access options menu

The intuitive control scheme makes it easy for newcomers to jump in while providing enough depth for experienced players to master advanced techniques.

Why Play This Game

The Chronicles of Stinky Bean stands out in the crowded world of browser games through its perfect combination of humor, accessibility, and engaging gameplay. The game's family-friendly nature makes it an excellent choice for casual gaming sessions, while the progressive difficulty ensures long-term entertainment value.

Whether you're looking for a quick stress-relief break or an entertaining way to pass time, this charming arcade shooter delivers laughs and fun in equal measure. The game's unique premise and cute visual style create a memorable gaming experience that keeps players coming back for more peanut-flinging action.

Frequently Asked Questions (FAQ)