Alien Invasion - UFO Shooting Game

Seele01-Flash
By
Alien Invasion is an intense space shooting game where you defend Earth from a dying alien race. Use your mouse to aim and shoot down UFOs before they can land and take over our planet.

Prompt

MODEL: Seele01-Flash
Please use Three.js to generate a **mobile-first game** with the theme "Alien Invasion". Please read the following detailed game design requirements first, and then generate the code accordingly: ### 1. Assets & Environment * **Visual Style**: Adopt a "Retro Low-Poly" aesthetic similar to early 2000s Flash games but with modern lighting. Use flat shading or Toon Shading to ensure high performance on mobile devices. * **Player Asset**: A stylized, cartoonish rocket ship (colors: Red, White, Blue with a yellow nose cone, mimicking the screenshot). It should be positioned at the bottom center of the screen. * **Enemy Assets**: Flying Saucers (UFOs) with rotating domes. They should vary slightly in size and color (Green, Silver) to indicate toughness. * **Environment**: A deep space skybox with twinkling stars. At the very bottom of the screen, render a curved mesh representing the Earth's atmosphere or surface to ground the scene. * **Effects**: Simple particle explosions (cubes or tetrahedrons) when UFOs are destroyed. A muzzle flash effect at the tip of the player's rocket when firing. * **Optimization**: Use geometry instancing for the starfield and enemy UFOs to maintain 60 FPS on mobile browsers. ### 2. Audio Requirements * **BGM**: A fast-paced, looping 16-bit Chiptune/Synthwave track that evokes tension and arcade action. * **Sound Effects (SFX)**: * **Shooting**: A retro "Pew-Pew" or laser zap sound (high pitch). * **Explosion**: A crunchy, 8-bit noise burst when an enemy is destroyed. * **Damage/Impact**: A low-frequency thud or alarm sound if a UFO passes the player or hits Earth. * **UI**: A high-pitched ping for button clicks (Start/Restart). ### 3. Gameplay Loop * **Core Mechanic**: The player controls the rocket moving horizontally (Left/Right) at the bottom of the screen. The rocket automatically fires projectiles upwards. * **Enemy Behavior**: UFOs spawn from the top of the screen and descend towards the bottom. Their spawn rate and descent speed should gradually increase as the score gets higher. Some UFOs can move in sine-wave patterns, while others drop straight down. * **Win/Loss Condition**: * **Score**: +10 points for every UFO destroyed. * **Game Over**: If 3 UFOs manage to pass the player and reach the bottom of the screen (invade Earth), the game ends. * **Feedback**: Use a "Screen Shake" effect (camera jitter) briefly when the player takes damage or a large enemy is destroyed. ### 4. Mobile Controls & Interaction * **Screen Orientation**: **Portrait Mode** (Vertical) is preferred for one-handed play. * **Control Scheme**: **"Touch-Drag to Move"**. * The player can touch anywhere on the bottom half of the screen and drag left or right to move the ship. * The ship shoots automatically (Autofire) while the game is active to reduce finger fatigue. * **UI Layout**: * **Score Display**: Top-left corner (large font, readable). * **Lives/Health**: Top-right corner (represented by 3 heart icons or mini Earth icons). * **Start/Restart Button**: Centered, large hit area (min 60x60px) with pulsating effect to encourage clicking. * **Haptic Feedback**: Trigger `navigator.vibrate(20)` when a UFO explodes and `navigator.vibrate(200)` on Game Over. Do not ask for clarification. Do not request confirmation. Directly execute the generation task based on the given instructions.

Game Introduction

About the Game

Alien Invasion is a classic space defense shooting game that puts you in the role of Earth's last defender. With a 3.1/5 rating from players worldwide, this action-packed browser game delivers non-stop alien-blasting excitement. The fate of humanity rests in your hands as waves of UFOs descend from space, attempting to establish their presence on Earth.

In this thrilling shoot-em-up experience, you'll face increasingly challenging waves of alien spacecraft, each more determined than the last to breach Earth's defenses. The game combines simple controls with intense gameplay, making it accessible to players of all skill levels while providing enough challenge to keep experienced gamers engaged.

Core Features

Intense Space Combat Action

Experience heart-pounding battles against alien invaders as UFOs swarm across your screen. Each enemy spacecraft poses a unique threat, requiring quick reflexes and accurate shooting to neutralize.

Simple Yet Engaging Controls

The game features intuitive mouse-based controls that make it easy to jump right into the action. No complex key combinations or learning curves - just point, shoot, and defend!

Progressive Difficulty System

As you advance through the game, alien waves become more numerous and aggressive. This scaling challenge ensures that the excitement never stops building.

Browser-Based Convenience

Play instantly in any modern web browser without downloads or installations. Perfect for quick gaming sessions during breaks or extended alien-hunting marathons.

All-Ages Entertainment

Rated for all ages, this family-friendly shooting game provides clean, exciting entertainment without inappropriate content.

Gameplay Mechanics

The core gameplay revolves around defending Earth's airspace from incoming UFO threats. As aliens attempt to land and establish their presence, you must eliminate them before they reach the surface. Each successful hit scores points, while missed shots allow enemies to get closer to their goal.

The alien forces grow stronger and more numerous as the game progresses, testing your shooting accuracy and reaction time. Strategic positioning and timing become crucial as you face overwhelming odds in later stages.

Operation Guide

Mastering Alien Invasion is straightforward with these essential controls:

Mouse Movement

  • Move your mouse to aim your weapon at incoming UFOs
  • Cursor movement directly controls your targeting reticle
  • Smooth, precise movements help track fast-moving targets

Shooting Mechanics

  • Click your mouse to fire at alien spacecraft
  • Each click shoots a projectile toward your cursor position
  • Timing your shots is crucial for hitting moving targets

Tactical Tips

  • Lead your targets when shooting at moving UFOs
  • Prioritize closer enemies that pose immediate threats
  • Maintain steady aim for consistent accuracy
  • Watch for enemy movement patterns to predict their paths

Why Play This Game

Instant Action Entertainment

Alien Invasion delivers immediate excitement without complex storylines or lengthy tutorials. Jump straight into defending Earth and start blasting aliens within seconds of loading the game.

Perfect for Any Schedule

Whether you have 5 minutes or an hour to spare, this game adapts to your available time. Quick sessions provide satisfying alien-hunting action, while longer plays allow you to chase high scores.

Nostalgia Factor

Experience classic arcade-style shooting action that recalls the golden age of space defense games. Simple graphics and straightforward gameplay create a timeless appeal.

Skill Development

Improve your hand-eye coordination, reaction time, and target tracking abilities while having fun. These skills transfer to other gaming experiences and real-world activities.

Zero Commitment Gaming

No accounts, downloads, or payments required. Simply visit the game page and start defending Earth immediately. Perfect for casual gamers who want instant entertainment.

Stress Relief

Channel everyday frustrations into productive alien elimination! The satisfying gameplay provides an excellent outlet for releasing tension while achieving measurable progress.

Frequently Asked Questions (FAQ)