Space Shooter - Python Arcade GameSpace Shooter - Python Arcade Game
Retro-style vertical space shooter in Python & Pygame. Dodge enemy fire, destroy waves of ships, and chase a high score. Recently UpdatedSpace Shooter - Python Arcade Game
Retro-style vertical space shooter in Python & Pygame. Dodge enemy fire, destroy waves of shi...
Overview
Space Shooter is a fast-paced, retro-inspired vertical space shooter built entirely in Python using the Pygame library. Pilot your spaceship through an endless field of stars, destroy waves of enemy ships, and dodge incoming enemy fire to survive as long as possible.
The game features smooth left/right ship movement, spacebar shooting with a satisfying engine flame effect, and enemy ships that move, shoot back, and grow tougher with every wave. A scrolling starfield background adds atmosphere without relying on any external image assets — everything is drawn directly in code.
Built with clean, well-commented, object-oriented Python code, this project is ideal for developers who want a ready-made arcade shooter to customize, resell, or use as a learning resource for Pygame game development. The single-file structure makes it easy to read, extend, and build on with new enemy types, power-ups, or boss fights.
Perfect for:
- Students learning Python game development
- Indie developers looking for a base template
- Portfolio projects
- Game jam starter kits
Demo For this Game:
==============================================================
🚀 SPACE SHOOTER - GAME DEMO
==============================================================
🎮 Objective:
Destroy enemy spaceships, avoid enemy bullets, and survive
as long as possible to achieve the highest score.
--------------------------------------------------------------
WAVE 1 START
--------------------------------------------------------------
Health : ████████████████████ 100%
Score : 0
Wave : 1
⭐ ⭐ ⭐
🔺 Enemy Ship
🚀
(Player)
⭐ ⭐
Player moves Left or Right using A/D or Arrow Keys.
--------------------------------------------------------------
SHOOTING
--------------------------------------------------------------
Player Presses SPACE
🚀
│
▲
🔵
│
│
💥🔺
Enemy Destroyed ✔
Health : ████████████████████ 100%
Score : 15
Wave : 1
--------------------------------------------------------------
ENEMY ATTACK
--------------------------------------------------------------
🔺
│
🔴
│
▼
🚀
Enemy Bullet Hits Player!
Health : ████████████████░░ 92%
Score : 15
--------------------------------------------------------------
NEXT WAVE
--------------------------------------------------------------
✔ All Enemy Ships Destroyed
✔ Next Wave Begins
✔ More Enemy Ships Spawn
✔ Enemy Speed Increases
✔ Enemies Fire More Frequently
--------------------------------------------------------------
GAME OVER
--------------------------------------------------------------
☠ GAME OVER ☠
Final Score : 315
Highest Wave : 7
Press [ R ] to Restart
==============================================================
Controls:
A / D or Arrow Keys → Move Spaceship
SPACE → Shoot
ESC → Exit Game
R → Restart After Game Over
==============================================================
Features
- Vertical scrolling 2D space shooter gameplay
- Smooth A/D or Arrow Key ship movement
- Spacebar shooting with animated engine flame effect
- Enemy ships that move, dodge, and fire back at the player
- Endless wave system with increasing enemy speed & fire rate
- Animated scrolling starfield background (no external assets)
- Real-time health bar, score, and wave counter HUD
- Game Over screen with instant restart option
- Clean, single-file, object-oriented Python code
- Easy to customize (colors, speed, spawn rate, difficulty)
- Well-commented code, beginner-friendly to read and extend
Requirements
- Python 3.8 or higher
- Pygame library (pip install pygame)
- Works on Windows, macOS, and Linux
- No internet connection or external assets needed
Instructions
1. Make sure Python 3.8+ is installed on your system.
2. Install Pygame by running: pip install pygame
3. Extract the downloaded ZIP file.
4. Run the game with: python space_shooter.py
5. Controls:
- A/D or Left/Right Arrow Keys: Move your spaceship
- SPACE: Shoot
- R: Restart after Game Over
- ESC: Quit the game
Other items by this author
| Category | Scripts & Code / Python |
| First release | 22 July 2026 |
| Last update | 22 July 2026 |
| Files included | .py |
| Tags | game template, pygame, game development, arcade game, indie game, retro game, spaceship game, space shooter, python project, python game, 2d shooter, python source code, wave survival, shoot em up, vertical shooter |








