Warfronts.io - Alien Invasion Battle Arena

Seele01-Flash
By
Warfronts.io is an intense MMO arena shooter where you battle both alien invaders and rival players. Choose your character type, upgrade weapons, and survive in this brutal war-torn world.

Prompt

MODEL: Seele01-Flash
Please use Three.js to generate a **mobile-first game** with the theme "Warfronts.io: 2.5D Arena Shooter". Please read the following detailed game design requirements first, and then generate the code accordingly: ### 1. Assets & Environment * **Visual Style**: 2.5D Side-Scrolling Platformer with a **Flat-Shaded Toon Aesthetic**. Use `MeshToonMaterial` to replicate the cartoon vector look of the original screenshot but with 3D depth. * **Camera**: A perspective camera locked to follow the player on the X and Y axes, keeping a fixed Z-distance to simulate a side-scroller view. * **Characters**: * **Player**: A rounded cube (`BoxGeometry` with bevels) in bright blue. Must feature a "gun arm" mesh attached to the side that rotates to follow the aim direction. * **Enemies**: Green blob-like shapes (distorted spheres) or simple UFOs hovering in the air. * **Environment**: * **Platforms**: Floating islands created using blocky geometry. Textures should be simple grass/dirt colors. * **Background**: A parallax scrolling background with low-poly clouds and distant castle silhouettes (faded colors to indicate depth). * **Collectibles**: Gold coins (`CylinderGeometry` rotating on the Y-axis) scattered on platforms and in the air. * **Mobile Optimization**: Use instanced mesh rendering for platforms and particles. Limit shadow casting to the main character only to save battery. ### 2. Audio Requirements * **BGM**: High-energy, fast-paced **Chiptune / 8-bit Arcade Rock**. It should feel chaotic and competitive. * **Sound Effects (SFX)**: * **Shooting**: distinct retro "pew-pew" sounds (high pitch for Glock, rapid fire for AR-15). * **Grenade**: A comedic "thump" followed by a bass-heavy explosion. * **Jump**: A cartoonish spring/boing sound. * **Coin Pickup**: A satisfying high-pitched chime (essential for player gratification). * **Damage**: A dull thud or grunt when the player is hit. ### 3. Gameplay Loop * **Class Selection (Start Screen)**: Before spawning, the player must tap to choose a class, affecting variables: * **Tough**: High Scale (1.2x size), Low Speed, High HP. * **Standard**: Balanced stats. * **Agile**: Small Scale (0.8x size), High Speed, Double Jump ability, Low HP. * **Core Combat**: * Players spawn in an arena filled with AI Aliens and Platforms. * **Weapons**: Player starts with a Knife. Can pick up/switch to AR-15 (Rapid fire) or Glock (Semi-auto). * **Grenade**: Cooldown-based ability (3 charges max). Launches a parabolic projectile. * **Objective**: Survive waves of aliens and collect coins. * **Win/Loss**: Game Over if HP reaches 0. High score is based on Coins Collected + Kills. ### 4. Mobile Controls & Interaction * **Layout**: Twin-Stick Shooter configuration optimized for touch screens. * **Left Zone**: Dynamic Virtual Joystick for movement (Left/Right running). * **Right Zone**: Dynamic Virtual Joystick for **Aiming**. Holding the stick in a direction aims the gun; releasing or holding at max extension fires the weapon (Auto-fire while aiming is preferred for mobile ease-of-use). * **Action Buttons**: * **Jump Button**: Large button above the Right Joystick (easy thumb reach). * **Grenade Button**: Smaller button near the Jump button with a visible cooldown radial overlay. * **Weapon Swap**: Tap the weapon icon in the top-right corner to cycle (Knife -> Glock -> AR-15). * **Feedback**: * **Haptic Feedback**: Trigger short vibration on shooting and heavy vibration on taking damage. * **Visual Feedback**: Floating damage numbers pop up when hitting enemies. Screen shake effect on explosions. * **Orientation**: Force **Landscape Mode** for wider field of view. Do not ask for clarification. Do not request confirmation. Directly execute the generation task based on the given instructions.

Game Introduction

About the Game

Warfronts.io is a thrilling multiplayer arena shooter that drops you into a chaotic battlefield where aliens have invaded Earth. This free-to-play IO game combines classic shooter mechanics with strategic character customization, creating an intense combat experience where every decision matters. With a solid 3.2/5 rating from players, Warfronts.io offers fast-paced action that keeps you coming back for more.

The game features a unique dual-threat system where you must simultaneously defend against alien forces while competing against other human players. This creates dynamic, unpredictable battles where alliances can form and break in seconds.

Core Features

Strategic Character Classes

Choose from three distinct character types, each with unique advantages:

  • Standard Class : The balanced fighter perfect for beginners, offering moderate speed, damage, and durability
  • Tough Class : Heavy-hitting tank that deals and absorbs massive damage but moves slowly
  • Agile Class : Lightning-fast glass cannon with superior mobility and attack speed but low health

Comprehensive Weapon System

Start with basic melee weapons and upgrade to powerful firearms:

  • Knife : Your starting melee weapon for close-quarters combat
  • AR-15 : High-damage assault rifle for medium to long-range engagements
  • Glock : Reliable sidearm for quick, accurate shots
  • Grenade Launcher : Area-of-effect weapon with 3 standard grenades

Multiplayer Arena Combat

Experience true MMO gameplay with:

  • Real-time battles against multiple opponents
  • Dynamic alien invasion events
  • Strategic positioning and team-based tactics
  • Instant respawn and continuous action

Game Mechanics

The battlefield in Warfronts.io is constantly evolving. Alien enemies spawn unpredictably, forcing players to adapt their strategies on the fly. Meanwhile, human opponents add another layer of complexity, as you never know who might be an ally or enemy.

Weapon upgrades are crucial for survival. Starting players must earn better equipment through successful combat, creating a progression system that rewards skill and persistence.

Operation Guide

Basic Controls

  • W, A, S, D : Move your character and jump
  • Mouse Movement : Aim your reticule
  • Left Mouse Button : Fire ranged weapons (AR-15, Glock)
  • Right Mouse Button : Attack with melee weapons (Knife)
  • Center Mouse Button : Launch grenades

Combat Tips

  • Use cover effectively to avoid both alien and player attacks
  • Switch between ranged and melee weapons based on distance
  • Save grenades for groups of enemies or critical moments
  • Choose your character class based on your preferred playstyle
  • Monitor your health and retreat when necessary

Why Play Warfronts.io

Warfronts.io stands out in the crowded IO games market by combining PvP and PvE elements seamlessly. Unlike traditional shooters that focus on either multiplayer or single-player content, this game creates a unique experience where you're constantly adapting to multiple threats.

The character class system adds strategic depth rarely seen in browser-based games. Whether you prefer the balanced approach of the Standard class, the tank-like durability of the Tough class, or the high-risk-high-reward gameplay of the Agile class, there's a playstyle for everyone.

Best of all, it's completely free and requires no download - just open your browser and jump into the action. The game runs smoothly on most devices and offers hours of engaging gameplay without any paywalls or premium content restrictions.

Frequently Asked Questions (FAQ)