Brawl Hero

Seele01-Flash
By
Brawl Hero is an exciting action survival game where you control a heroic character to battle enemies with thrown projectiles. Level up, gather resources, trade for upgrades, and survive increasingly challenging waves of foes.

Prompt

MODEL: Seele01-Flash
Please use Three.js to generate a **mobile-first game** with the theme "Brawl Hero". Please read the following detailed game design requirements first, and then generate the code accordingly: ### 1. Assets & Environment * **Visual Style**: Cartoon / Low-poly "Chibi" aesthetic. High color saturation. Use an **Orthographic Camera** (tilted 45 degrees) to mimic a 2D top-down perspective while using 3D assets. * **Color Palette**: Bright green checkered grass floor (like a chessboard pattern), bright cyan/pink for the player character, and distinct colors for enemies (Red for aggressive, Green for passive). * **Player Model**: A simple stylized character (can be represented by a capsule with a distinct "hoodie" color) holding a large sphere (the throwing ball). * **Enemies**: * *Robots*: Round, metallic spheres. * *Cacti*: Spiky cylinders. * *Mushrooms*: Small, squishy shapes. * **Environment**: A large, enclosed arena bounded by fences or trees. Scattered inside are destructible props: Trees (wood), Rocks (stone), and Crystal Geodes (gems). * **Optimization**: Use `InstancedMesh` for projectiles and recurring enemies to maintain 60FPS on mobile devices. Use simple Lambert or Toon materials; avoid expensive real-time shadows—use simple circular "blob" shadows under characters. ### 2. Audio Requirements * **BGM**: Upbeat, energetic, arcade-style looped track. Think "heroic adventure" with a fast tempo. * **Sound Effects**: * *Throw*: A distinct "Whoosh" or "Swish" sound when the player releases a ball. * *Impact*: A "Thud" or "Boing" sound when balls hit enemies. * *Gathering*: A "Crunch" sound when destroying trees/rocks. * *Collect*: A high-pitched "Ding" for coins/gems. * *Level Up*: A celebratory fanfare jingle. ### 3. Gameplay Loop * **Core Mechanic**: **"Move to Dodge, Stop to Shoot"**. The player cannot attack while moving. When the input stops, the character automatically faces the nearest enemy and throws balls at a set fire rate. * **Survival**: Waves of enemies spawn from the edges of the map. If the player touches an enemy, HP decreases. Game Over if HP reaches 0. * **Gathering & Economy**: * Enemies drop Coins (Gold) and XP orbs. * Destructible environment objects (Trees/Rocks) drop Wood/Stone. * **Progression**: Collecting XP fills a bar. On Level Up, pause the game and show a UI offering 3 random upgrades (e.g., "Multishot", "Faster Attack", "Increased Damage", "Speed Boost"). * **Win Condition**: Survive for a specific duration (e.g., 5 minutes) or defeat a final Boss wave. ### 4. Mobile Controls & Interaction * **Control Scheme**: **Virtual On-Screen Joystick** positioned at the bottom-center or floating on the bottom-left. * *Drag*: Move character. * *Release*: Character stops and enters "Attack Mode". * **Orientation**: **Portrait Mode** (Vertical) design is preferred for one-handed playability on mobile. * **UI Layout**: * Top: XP Bar, Level Indicator, Coin Counter. * Bottom: Virtual Joystick area (invisible touch zone). * Damage Numbers: Floating text that pops up from enemies when hit. * **Feedback**: * Visual: The character should squash/stretch slightly when throwing. Flash white when taking damage. * Haptic: Trigger `navigator.vibrate(50)` when taking damage or breaking an object. Do not ask for clarification. Do not request confirmation. Directly execute the generation task based on the given instructions.

Game Introduction

About the Game

Brawl Hero is a thrilling 2D action survival game that combines fast-paced combat with strategic resource management. Take control of a brave hero and engage in epic battles where you throw projectiles at waves of colorful enemies. This top-down roguelike adventure offers endless entertainment with its vibrant cartoon graphics and progressively challenging gameplay.

The game features a unique blend of action and survival mechanics, where quick reflexes and smart positioning are key to victory. As you defeat enemies and complete challenges, you'll earn experience points to level up your character and unlock powerful new abilities.

Core Features

Dynamic Combat System

Master the art of projectile combat as you throw balls at enemies while dodging their attacks. The intuitive controls make it easy to learn but challenging to master, creating engaging gameplay for both casual and hardcore gamers.

Resource Gathering & Trading

Venture into the town between battles to: - Chop Wood : Gather lumber for crafting and trading - Excavate Stones : Mine valuable stone materials - Collect Gems : Discover precious gems for rare upgrades - Trade with Wandering Trader : Exchange resources for powerful items and abilities

Progressive Upgrade System

Collect coins throughout your adventure and spend them on thrilling upgrades that enhance your hero's capabilities. Each playthrough offers new opportunities to experiment with different upgrade combinations.

Roguelike Elements

Every game session presents unique challenges with randomly generated enemy patterns and loot drops, ensuring high replayability and fresh experiences.

Gameplay Mechanics

The core gameplay revolves around strategic positioning and timing. Move your hero around the battlefield to avoid enemy attacks while positioning yourself for optimal shots. Stop moving to automatically throw projectiles at nearby enemies, creating a tactical balance between offense and defense.

Level progression rewards players with increased stats and new abilities, while the resource gathering system adds a strategic layer beyond pure combat. The town serves as your safe haven where you can prepare for the next wave of challenges.

Game Controls

Brawl Hero features intuitive controls designed for both desktop and mobile play:

  • WASD Keys or Arrow Keys : Move your hero in any direction
  • Mouse Drag : Alternative movement control for precise positioning
  • Stop Moving : Automatically throw projectiles at enemies
  • Touch Controls : Full mobile support for on-the-go gaming

Why Play Brawl Hero

This game perfectly balances accessibility with depth, making it ideal for quick gaming sessions or extended play. The colorful, cartoonish art style appeals to players of all ages, while the roguelike mechanics provide lasting replay value. Best of all, it's completely free to play directly in your web browser with no downloads required.

Whether you're looking for a casual time-killer or an engaging action experience, Brawl Hero delivers exciting gameplay that keeps you coming back for more adventures.

Frequently Asked Questions (FAQ)