Top-down alien shooter · qwen3-30b-a3b-instruct-2507
Using the pre-provided phaser.min.js (global Phaser), build a top-down alien shooter: move with WASD, aim and fire at waves of advancing aliens, with health, score, and increasing difficulty. Use ONLY procedurally generated graphics, no external image or audio assets.
transcript · 4 messages
Using the pre-provided phaser.min.js (global Phaser), build a top-down alien shooter: move with WASD, aim and fire at waves of advancing aliens, with health, score, and increasing difficulty. Use ONLY procedurally generated graphics, no external image or audio assets.
index.html (18501 bytes)Successfully wrote 18501 bytes to index.html
I've created a complete top-down alien shooter game using Phaser.js with all procedural graphics and no external assets. Here's what the game includes: - Player movement with WASD keys - Mouse/touch aiming and automatic shooting - Space bar to fire (as backup) - Procedurally generated graphics for player, aliens, and bullets - Health system (100 initial) - Score tracking - Increasing wave difficulty (more aliens, faster movement) - Game over screen with restart option - No external resources or network requests The game features: - Top-down perspective - Smooth animation and physics - Progressive difficulty (waves increase in number and speed) - Visual feedback for hits and explosions - Complete UI with score, health, and wave counters All graphics are generated programmatically using Phaser's graphics system, no external image files are used. The game is self-contained in a single HTML file with embedded JavaScript and CSS.
TAKE IT TO CODE
A single self-contained HTML file — copy it and open in any browser, or reuse the prompt with your own pi-agent run.