War of Mine - Minecraft Battle Adventure

Seele01-Flash
By
War of Mine is a thrilling 2D side-scrolling battle adventure inspired by Minecraft's iconic world. Fight waves of enemies with auto-battle mechanics, upgrade your arsenal, and explore diverse pixelated landscapes in this free browser game.

Prompt

MODEL: Seele01-Flash
Please use Three.js to generate a **mobile-first game** with the theme "War of Mine". Please read the following detailed game design requirements first, and then generate the code accordingly: ### 1. Assets & Environment * **Visual Style**: High-fidelity Voxel Art style (Minecraft-inspired). All meshes should be constructed using low-poly `BoxGeometry` to simulate blocky aesthetics. Textures should be pixelated (16x16 or 32x32 style) to maintain the retro charm. * **Camera & Perspective**: Use an Orthographic Camera or a Perspective Camera with a narrow FOV fixed to a side-scrolling view (2.5D). The camera should smoothly follow the player along the X-axis. * **Environment Generation**: * **Foreground**: A generated terrain of blocky ground (Dirt/Grass blocks) that extends infinitely or per level to the right. * **Background**: Parallax scrolling layers including distant blocky mountains, trees, and a skybox with moving voxel clouds. * **Characters**: * **Player**: A "Steve"-like blocky humanoid composed of separate meshes (head, torso, arms, legs) to allow for simple rotation-based animation (walking, sword swinging). * **Enemies**: Voxel interpretations of Zombies (Green), Skeletons (White/Grey), Creepers (Green/Spotted), and floating Ghasts. * **Mobile Optimization**: Use `InstancedMesh` for rendering terrain blocks and repeated environmental props (grass, flowers) to ensure 60 FPS on mobile browsers. Use basic Lambert or Phong materials to reduce lighting calculation costs. ### 2. Audio Requirements * **BGM**: A loopable, adventurous 8-bit chiptune track mixed with orchestral elements, evoking a sense of exploration and heroic battle. * **Sound Effects (SFX)**: * **Combat**: "Swoosh" for sword swings, retro "Thwip" for arrow shots, and a distinctive "Crunch" or "Poof" when enemies are defeated. * **Feedback**: High-pitched "Ding" for collecting coins/XP. A classic "Oof" or low-thud sound when the player takes damage. * **UI**: Crisp clicking sounds for inventory selection and button presses. ### 3. Gameplay Loop * **Core Mechanic**: A side-scrolling Action-RPG with **Auto-Battle** elements. The player moves the character from left to right. When the player gets within range of an enemy, the character automatically performs melee attacks (sword swings). * **Manual Actions**: The player manually controls movement (positioning) and special ranged attacks (Bow & Arrow) which have a cooldown. * **Wave System**: Enemies spawn in waves from the right side of the screen. * **Inventory & Progression**: * The "1-6" inventory system from the description should be converted to a "Loadout" or "Active Item" system. * Defeated enemies drop XP orbs or Gold. * **Idle/Strategy Aspect**: Between waves or via a simplified UI, allow players to upgrade Attack Speed, Damage, or Health using collected gold. * **Win/Loss**: * **Win**: Clear all enemy waves in the level. * **Loss**: Player HP drops to 0. ### 4. Mobile Controls & Interaction * **Orientation**: **Landscape Mode** (Force landscape if possible via CSS warning). * **Touch Controls**: * **Movement (Left Hand)**: A dynamic Virtual Joystick or large "Left/Right" arrow buttons anchored to the bottom-left corner for horizontal movement. * **Action (Right Hand)**: A large circular button for the "Arrow Shot" (Spacebar equivalent). * **Inventory (Bottom Center)**: A hotbar of 6 touchable slots. Tapping a slot highlights it and activates that item/consumable. * **Feedback**: * Implement **Camera Shake** (mild) when the player takes damage. * Display floating damage numbers (billboard text) above heads during combat. * Visual "flash white" effect on meshes when entities take damage. * **UI Layout**: * **Top Left**: Hearts/Health Bar (Pixel art style). * **Top Right**: Pause Button (min 44x44px touch target) and Wave Counter. * **Responsiveness**: All UI elements must scale based on `window.innerWidth/Height` to prevent overlapping on notched phones. Do not ask for clarification. Do not request confirmation. Directly execute the generation task based on the given instructions.

Game Introduction

About the Game

War of Mine brings the beloved Minecraft universe to life in an exciting 2D side-scrolling format. This captivating adventure game combines the familiar blocky aesthetic of Minecraft with innovative auto-battle mechanics and strategic progression systems. Players embark on an epic journey through diverse pixelated landscapes, facing waves of iconic Minecraft enemies including Creepers, Zombies, and Skeletons.

The game features a unique blend of exploration, combat, and resource management that will appeal to both Minecraft fans and newcomers alike. With its accessible gameplay and strategic depth, War of Mine offers hours of engaging entertainment directly in your browser.

Core Features

Authentic Minecraft-Inspired World

Experience the charm of Minecraft in a fresh 2D perspective. The game faithfully recreates the iconic blocky art style, featuring familiar environments, creatures, and building blocks that Minecraft players know and love.

Strategic Auto-Battle System

Unlike traditional action games, War of Mine employs an intelligent auto-battle system where success depends on tactical preparation and smart upgrades rather than reflexes. Plan your loadout, choose your weapons, and watch as battles unfold automatically.

Progressive Upgrade System

Collect resources and coins to upgrade your weapons, armor, and abilities. Each upgrade significantly impacts your combat effectiveness, allowing you to tackle increasingly challenging levels and enemy waves.

Diverse Maps and Environments

Explore multiple unique maps, each with distinct terrain, enemy types, and challenges. From grassy plains to dark caves, every environment offers new strategic considerations and visual variety.

Inventory Management

Utilize a comprehensive inventory system with quick-access slots (1-6 keys) for seamless item switching during exploration and combat preparation.

Gameplay Mechanics

Combat System

The auto-battle mechanics allow players to focus on strategy rather than fast-paced action. Your character automatically engages enemies based on your equipped weapons and tactical choices. Success depends on proper preparation, weapon selection, and timing your special abilities.

Exploration and Movement

Navigate through beautifully crafted 2D Minecraft worlds using intuitive controls. Move left and right through base areas and exploration zones, discovering hidden treasures and new challenges.

Resource Collection

Gather materials and coins from defeated enemies and environmental sources. These resources are essential for upgrading your equipment and unlocking new areas.

Operation Guide

Basic Controls

  • A/D Keys or Arrow Keys : Move left and right through the game world
  • Number Keys 1-6 : Quick access to inventory slots for instant item switching
  • Space Bar : Fire arrows and activate ranged attacks
  • Mouse : Navigate menus and manage inventory

Getting Started

  1. Begin your adventure by familiarizing yourself with the basic movement controls
  2. Engage in your first auto-battles to understand the combat system
  3. Collect resources from defeated enemies
  4. Use the inventory system to manage and upgrade your equipment
  5. Progress through increasingly challenging levels

Advanced Strategies

  • Experiment with different weapon combinations for various enemy types
  • Time your arrow shots strategically during battles
  • Prioritize upgrades that complement your playstyle
  • Explore thoroughly to discover all available resources

Why Play War of Mine

Perfect for Minecraft Fans

If you love Minecraft's world and creatures but want a different gameplay experience, War of Mine offers the perfect blend of familiarity and innovation. Experience the Minecraft universe from a fresh perspective with new gameplay mechanics.

Accessible Yet Strategic

The auto-battle system makes the game accessible to players of all skill levels while maintaining strategic depth. You don't need lightning-fast reflexes, just smart planning and tactical thinking.

Free Browser Gaming

Enjoy this complete gaming experience absolutely free, directly in your web browser. No downloads, installations, or payments required - just pure gaming fun.

Casual and Engaging

Perfect for both quick gaming sessions and longer play periods. The game's pacing allows you to enjoy it whether you have 10 minutes or an hour to spare.

Cross-Platform Compatibility

Play seamlessly across different devices and platforms, with your progress automatically saved for consistent gameplay experience.

Frequently Asked Questions (FAQ)