Balloon Invasion - Tower Defense Game

Seele01-Flash
By
Balloon Invasion is an action-packed tower defense game where you defend your base against waves of balloon enemies using powerful weapons, strategic upgrades, and devastating air strikes.

Prompt

MODEL: Seele01-Flash
Please use Three.js to generate a **mobile-first game** with the theme "Balloon Invasion". Please read the following detailed game design requirements first, and then generate the code accordingly: ### 1. Assets & Environment * **Visual Style:** Low-poly 3D aesthetic with vibrant colors. The look should be "Cartoon Military" (similar to Advance Wars or Boom Beach) to keep performance high on mobile devices. * **The Player (Turret):** A central Anti-Aircraft (Flak) Cannon placed at the bottom center of the screen. It is composed of a rotating base and elevating barrels (cylinders). * **The Enemies:** * **Standard Balloons:** Simple spheres in various colors (Red = weak, Blue = fast, Black = armored). * **Zeppelins (Bosses):** Larger, elongated ellipsoids with visible health bars. * **Environment:** * **Ground:** A flat green plane with a subtle grid or grass texture. * **Sky:** A light blue gradient skybox with slowly moving white cloud meshes. * **VFX:** Simple particle explosions (cubes or tetrahedrons) when balloons pop. Smoke trails for missiles. * **Performance:** Use `InstancedMesh` for the balloons if possible to handle high object counts. Limit real-time shadows; use baked lighting or simple directional light. ### 2. Audio Requirements * **BGM:** A rhythmic, military-style snare drum march with brass sections. It should feel energetic but not too serious. * **SFX - Turret:** A heavy, rhythmic "Thump-Thump" mechanical sound for the main gun. * **SFX - Hits:** A distinct rubber "Pop" sound for standard balloons, mixed with a metallic "Clang" for armored enemies. * **SFX - UI:** Click/Tap sounds for buttons, and a "Ka-ching" cash register sound when earning money. * **SFX - Special:** An air-raid siren when the "Air Support" skill is activated. ### 3. Gameplay Loop * **Core Mechanic:** Wave-based defense. Balloons descend from the top of the screen/sky towards the ground. The player must shoot them down before they cross the bottom threshold (The Base). * **Shooting:** The turret fires projectiles with travel time (not raycast). Physics/Collision detection required between projectiles and balloons. * **Health/Lose Condition:** The player has a "Base Health" (e.g., 100%). Every balloon that hits the ground reduces health. Reaching 0% triggers Game Over. * **Economy & Upgrades:** * Destroying balloons grants "Credits". * Credits are used to buy upgrades (Fire Rate, Damage, Bullet Speed) or activate skills (Air Strike). * **Air Strike Ability:** A cooldown-based ability that clears all enemies on screen (visualized as planes flying over). ### 4. Mobile Controls & Interaction * **Turret Control (Touch & Drag):** Implement a "Touch-Look" system. * **Input:** The player touches anywhere on the screen and drags. * **Response:** The turret barrel rotates to face the touch position (Raycast from camera to a virtual plane at the balloon's height). * **Firing:** The turret **auto-fires** continuously as long as the user is touching the screen (Hold-to-fire). This reduces finger fatigue on mobile. * **Orientation:** Locked to **Portrait Mode** (Vertical) for one-handed play, or Landscape if a wider field of view is preferred (Portrait is recommended for vertical shooters). * **UI Layout:** * **Top Left:** Health Bar & Wave Counter. * **Top Right:** Current Credits ($). * **Bottom Center:** Upgrade Menu (Hidden by default, slides up between waves) or small icons for immediate upgrades. * **Side/Corner:** A large, thumb-accessible button for the "Air Support" special ability (with a cooldown visual overlay). * **Feedback:** Add screen shake (camera jitter) when heavy enemies explode or when the player takes damage. Add haptic feedback (Navigator.vibrate) on game over or special ability use. Do not ask for clarification. Do not request confirmation. Directly execute the generation task based on the given instructions.

Game Introduction

About the Game

Balloon Invasion is a thrilling tower defense strategy game that combines fast-paced shooting action with strategic base defense. With a solid 3.9/5 rating from players, this free online game offers an engaging military-themed experience where you must protect your territory from relentless balloon invasions using an arsenal of powerful weapons and tactical upgrades.

Unlike traditional tower defense games, Balloon Invasion puts you in direct control of your main defensive gun while managing strategic upgrades and calling in devastating air support. The game features multiple battle scenarios, each presenting unique challenges that test your defensive skills and strategic thinking.

Core Features

Diverse Weapon Arsenal

Balloon Invasion offers an impressive collection of defensive weapons:

  • Main Defense Gun : Your primary weapon with precise mouse-controlled aiming
  • Flak Guns : Specialized anti-aircraft weapons for area damage
  • Air Strike Support : Call in devastating aerial bombardments
  • Multiple Upgrade Paths : Enhance your defensive capabilities progressively

Strategic Gameplay Elements

The game combines real-time action with strategic planning:

  • Wave-Based Combat : Face increasingly challenging balloon invasions
  • Resource Management : Strategically invest in upgrades and air support
  • Multiple Battle Scenarios : Each level presents unique defensive challenges
  • Progressive Difficulty : Master basic tactics before facing advanced threats

Visual and Audio Experience

Experience immersive military-themed graphics with explosive visual effects. The game features detailed weapon animations, satisfying explosion effects, and atmospheric sound design that enhances the intensity of each battle.

Gameplay Mechanics

Balloon Invasion offers intuitive controls combined with deep strategic elements. Players must balance offensive firepower with defensive positioning while managing limited resources for upgrades and air support.

The game's unique balloon-themed enemies require different tactical approaches. Some balloons move faster, others carry heavier payloads, and special variants may have unique abilities that challenge your defensive strategies.

Operation Guide

Mastering Balloon Invasion requires understanding both the basic controls and advanced tactical options:

Primary Controls: - Mouse Movement : Aim your main defensive gun with precision - Mouse Click/Hold : Fire single shots or continuous bursts - Number Keys 1-3 : Deploy air support strikes at critical moments - Number Keys 4-9 : Access and build defensive upgrades

Strategic Tips: - Prioritize upgrading your main gun early for consistent damage output - Save air strikes for overwhelming enemy waves or tough balloon variants - Balance offensive upgrades with defensive improvements - Learn enemy movement patterns to optimize your firing positions

Why Play Balloon Invasion

Perfect for Strategy Enthusiasts

If you enjoy tower defense games that combine real-time action with strategic depth, Balloon Invasion delivers an exceptional experience. The game's military theme and explosive combat create an engaging atmosphere that keeps players coming back for more challenging battles.

Completely Free Gaming Experience

Balloon Invasion is entirely free to play with no hidden costs or premium content gates. All weapons, upgrades, and features are accessible through gameplay progression, ensuring a fair and rewarding experience for all players.

Accessible Yet Challenging

The game features an intuitive control scheme that newcomers can quickly learn, while offering strategic depth that satisfies experienced tower defense players. The progressive difficulty ensures a smooth learning curve with plenty of replayability.

Cross-Platform Compatibility

Play directly in your web browser without downloads or installations. The game runs smoothly on desktop computers, laptops, and mobile devices, allowing you to defend against balloon invasions wherever you are.

Frequently Asked Questions (FAQ)