Ana Sayfa / Kod ve Scriptler / Space Shooter - Python Arcade Game

Space Shooter - Python Arcade Game

Python ve Pygame ile retro tarzı dikey uzay nişancısı. Düşman ateşinden kaçın, gemi dalgalarını yok edin ve yüksek skoru kovalayın.

  • Yayın tarihi22 Temmuz 2026
  • Paket içeriği.py
  • Son güncelleme22 Temmuz 2026
Space Shooter - Python Arcade Game

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