Slime War - Epic Battle Strategy Game

Seele01-Flash
By
Slime War is an addictive idle tower defense game where you command blue slimes in epic battles against red slime armies. Upgrade units, gather resources, and deploy winning strategies in this free browser-based war game.

Prompt

MODEL: Seele01-Flash
Please use Three.js to generate a **mobile-first game** with the theme "Slime War". Please read the following detailed game design requirements first, and then generate the code accordingly: ### 1. Assets & Environment * **Visual Style**: Stylized "Toon" Low-Poly. Use bright, saturated colors to mimic the 2D cartoon art style (Hot Pink for enemies, Cyan Blue for allies, Bright Yellow for UI). * **Character Models**: * **Slimes**: Create procedural hemispherical geometries. They should have a "bouncy" vertex shader animation to simulate breathing/jelly physics. * **Faces**: Apply simple texture maps with eyes and mouths to the front of the slimes (angry eyebrows for Red, determined faces for Blue). * **Bosses**: The "Red King" (from screenshot) should be 2x larger, have a simple 3D gold crown (cylinder/cone geometry), and a mustache billboard. * **Environment**: A simple, flat battlefield arena (light green/yellow gradient). Background should feature a solid cyan skybox with simple silhouette meshes of palm trees or hills in the distance to add depth without cost. * **Performance**: Use `THREE.InstancedMesh` for rendering the slime armies to ensure 60fps on mobile devices even with 100+ units on screen. Use simple blob shadows (texture planes) instead of real-time shadow mapping. ### 2. Audio Requirements * **BGM**: A loopable, upbeat "Cute Military March" track. Think snare drums mixed with pizzicato strings and toy piano sounds. Energetic but not annoying. * **SFX**: * **Spawn**: A wet `Pop` sound. * **Movement**: Rhythmic `Squish` sounds synced with the slime bounce animation. * **Combat**: Soft `Thud` for hits. * **Death**: A liquid `Splatter` sound. * **UI**: High-pitched `Ding` for upgrades and distinct `Click` for button presses. ### 3. Gameplay Loop * **Core Mechanic**: Tug-of-War / Lane Defense. * **Player (Blue)** base on the Left; **Enemy (Red)** base on the Right. * Units spawn automatically based on a "Spawn Rate" stat and march toward the opposing base. * **Combat Logic**: When opposing slimes collide, they stop and exchange damage until one dies. * **Resource System**: The player earns "Jelly Coins" passively over time and a bonus for every enemy slime defeated. * **Upgrade System (Idle Element)**: * **Spawn Rate**: Increase how fast blue slimes appear. * **Power**: Increase attack damage. * **Size/HP**: Increase health points. * **Win/Loss**: Destroy the enemy base (HP bar reaches 0) to advance to the next "Wave" (harder enemies). If player base dies, Game Over. ### 4. Mobile Controls & Interaction * **Screen Orientation**: Landscape (Preferred for the horizontal battlefield view). * **Camera**: Static `OrthographicCamera` angled slightly down (Isometric view) to encompass the whole battlefield. No camera panning required. * **Control Scheme**: Purely UI-based interaction. * **Bottom HUD**: A fixed bar containing 3-4 large, square buttons (Upgrade Attack, Upgrade Health, Summon Hero). * **Touch Targets**: Buttons must be at least 44x44 pixels (approx 10-15% of screen height) with clear padding. * **Feedback**: * **Haptic**: Trigger `navigator.vibrate(50)` on button presses and when the base takes damage. * **Visual**: Buttons should depress (scale down) visually when touched. Damage numbers (floating text) should pop up over units during combat. Do not ask for clarification. Do not request confirmation. Directly execute the generation task based on the given instructions.

Game Introduction

About Slime War

Slime War is an engaging idle tower defense strategy game that combines cute slime characters with intense tactical warfare. In this colorful battle arena, you take command of the Blue Slime army in an endless war against the formidable Red Slimes. The game features a charming cartoon art style with adorable slime characters, making strategic warfare accessible and enjoyable for players of all ages.

This free-to-play browser game offers the perfect blend of idle gameplay mechanics and active strategic decision-making, allowing you to progress even when away while rewarding hands-on tactical planning during active play sessions.

Core Features

Idle Progression System

Slime War excels as an idle game where your army continues fighting and gathering resources even when you're not actively playing. This makes it perfect for busy players who want to enjoy strategic progression without constant attention.

Strategic Unit Management

As commander of the Blue Slimes, you'll need to make crucial decisions about unit deployment, upgrades, and resource allocation. Each slime unit has unique abilities and upgrade paths, creating deep strategic possibilities.

Endless War Campaign

The battle between Blue and Red Slimes never ends, providing unlimited gameplay with increasingly challenging opponents. Each victory brings valuable resources and unlocks new strategic options.

Cross-Platform Compatibility

Play seamlessly across all devices - desktop computers, smartphones, and tablets all support this browser-based game with no downloads required.

Gameplay Mechanics

Resource Management

Gather essential resources through battle victories and idle collection. Strategic resource allocation between unit upgrades, new unit recruitment, and defensive improvements determines your success in the slime wars.

Unit Upgrade System

Enhance your slimes' combat abilities through multiple upgrade tiers. Boost attack power, defense capabilities, special abilities, and unlock entirely new unit types as you progress through the campaign.

Tactical Deployment

Position your slime units strategically to maximize their effectiveness against red slime attacks. Understanding unit strengths, weaknesses, and synergies is key to victory.

Operation Guide

Basic Controls

  • Mouse Click : Primary interaction method for all game functions
  • Unit Summoning : Click designated buttons to recruit new slime warriors
  • Upgrades : Access upgrade menus through intuitive button interfaces
  • Resource Management : Monitor and allocate resources via simple click controls

Getting Started

  1. Begin with basic blue slime units
  2. Engage red slime enemies to earn initial resources
  3. Upgrade existing units or recruit additional slimes
  4. Develop tactical formations for optimal defense
  5. Progress through increasingly difficult battle phases

Advanced Strategies

Master the art of timing upgrades, balancing offensive and defensive capabilities, and optimizing idle progression to maintain steady advancement even during offline periods.

Why Play Slime War

Perfect for Casual Gaming

The idle mechanics make Slime War ideal for players with busy schedules. Progress continues automatically, but active engagement provides accelerated advancement and strategic satisfaction.

Engaging Strategy Elements

Despite the cute appearance, the game offers substantial strategic depth. Unit combinations, upgrade priorities, and tactical positioning create meaningful decision-making opportunities.

Completely Free Experience

Enjoy full game access without any payment requirements. All features, units, and upgrades are available through gameplay progression.

Instant Accessibility

No downloads, installations, or account creation required. Simply open your browser and begin commanding your slime army immediately.

Mobile-Friendly Design

Optimized touch controls and responsive design ensure excellent gameplay experience across smartphones and tablets alongside traditional computer play.

Frequently Asked Questions (FAQ)