Skip to content

BitJacker/VoidLoop

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

18 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

๐ŸŒ€ VoidLoop: Cyber-Survival

Version Python Pygame Platform License

A frenetic top-down shooter in an endless digital void

๐Ÿ“บ Watch Gameplay โ€ข ๐ŸŽฎ Quick Start โ€ข ๐Ÿ•น๏ธ Controls โ€ข ๐Ÿ“– How to Play


๐ŸŽฌ See VoidLoop in Action

VoidLoop Gameplay

Click to watch the full gameplay demo on YouTube


๐ŸŒŸ What is VoidLoop?

VoidLoop is an intense top-down arcade shooter where you're trapped in a hostile digital simulation. Your mission: collect fragments, survive endless enemy waves, and break free from the infinite loop.

โœจ Key Highlights

  • ๐ŸŽฏ 5 Game Modes: Story, Endless, Time Attack, Boss Rush, Horde
  • โšก Advanced Movement: Master Dash and Sprint mechanics
  • ๐Ÿ‘พ 4 Enemy Types: Normal, Tank, Sniper, Kamikaze
  • ๐Ÿฆธ Epic Boss Fights: Multi-phase battles with dynamic patterns
  • ๐Ÿ’ซ Power-ups: Shield, Speed, Double Damage, Rapid Fire
  • ๐ŸŽจ Particle Effects: Explosions, trails, and visual polish
  • ๐ŸŽฏ Combo System: Chain kills for bonus rewards
  • ๐Ÿ›ก๏ธ Strategic Obstacles: Use walls as cover (Level 3+)
  • ๐Ÿ”ซ Arsenal System: Unlock powerful weapons
  • ๐Ÿ’พ Smart Save System: Continue anytime
  • ๐ŸŒ 4 Languages: Italian, English, Spanish, French
  • ๐Ÿ‘ฅ Local Co-op: 2-player mode

๐ŸŽฎ Core Features

๐ŸŽฏ Five Game Modes

Mode Description Objective
๐ŸŽฌ STORY Campaign with boss fights every 5 levels Complete sequential levels
โ™พ๏ธ ENDLESS Survive as long as possible Beat your high score
โฑ๏ธ TIME ATTACK Race against the clock Complete levels FAST
๐Ÿฆธ BOSS RUSH Face only bosses, level after level Ultimate combat challenge
๐ŸŒŠ HORDE Survive waves of enemies Clear 10 waves per level

๐Ÿ‘พ Enemy Types

Type HP Behavior Threat Level
๐Ÿ”ด Normal 1 Standard chase + shoot โญโญ
๐ŸŸค Tank 3+ Slow, triple-shot spread โญโญโญโญ
๐ŸŸ  Sniper 1 Fast bullets, keeps distance โญโญโญ
๐ŸŸฃ Kamikaze 1 Lightning fast, suicide attack โญโญโญโญโญ

๐Ÿฆธ Boss Fights

3-Phase Combat System:

  • Phase 1 (100-60% HP): Circular movement, single shots
  • Phase 2 (60-30% HP): Zigzag pattern, multi-target fire
  • Phase 3 (<30% HP): Aggressive pursuit, 360ยฐ bullet spread

Rewards: +50 coins per boss defeated

โšก Power-ups

Power-up Duration Effect
๐Ÿ›ก๏ธ SHIELD 5s Immunity to all damage
โšก SPEED 4s +50% movement speed
๐Ÿ’ฅ DOUBLE DAMAGE 3s 2x bullet damage
๐Ÿ”ซ RAPID FIRE 3.3s Fire rate ร—3

๐ŸŽฏ Combo System

  • Chain enemy kills and fragment pickups
  • 2-second window to maintain combo
  • Bonus coins every 5 combo
  • Visual feedback: White โ†’ Orange โ†’ Gold

๐Ÿ•น๏ธ Controls

๐Ÿ‘ค Player 1 (Primary Controls)

๐Ÿƒ Movement

  • W Move Up
  • A Move Left
  • S Move Down
  • D Move Right

โšก Advanced Movement

  • Left Ctrl Sprint (1.8x speed)
  • Left Shift Dash (quick teleport)
    • Cooldown: 45 frames (~0.75s)
    • Distance: 60 pixels

๐Ÿ”ซ Combat (After weapon purchase)

  • Mouse Aim cursor
  • Left Click Fire (12-frame cooldown)

๐ŸŽฎ System

  • Space Skip dialogues / Continue
  • ESC Quit to desktop

๐Ÿ‘ฅ Player 2 (Co-op Mode)

Action Keys
Movement โ†‘ โ†“ โ† โ†’
Sprint Right Ctrl
Dash Right Shift
Combat Shares P1's mouse controls

๐Ÿ’ก Pro Tips

+ Dash through walls of bullets in emergencies
+ Combine Sprint + Dash for maximum mobility
+ Hide behind walls to block enemy fire (Level 3+)
+ Maintain combos for extra coin income
+ Save SHIELD power-up for boss Phase 3
+ RAPID FIRE + DOUBLE DAMAGE = devastating combo

๐Ÿš€ Quick Start

๐Ÿ“‹ Requirements

  • Python 3.8+ (Download from python.org)
  • Pygame 2.5+ (Auto-installed via pip)
  • ~50 MB disk space
  • 512 MB RAM minimum

๐Ÿง Linux / macOS

Step 1: Clone the Repository

git clone https://github.com/BitJacker/VoidLoop.git
cd VoidLoop

Step 2: Create Virtual Environment (Recommended)

# Create virtual environment
python3 -m venv venv

# Activate virtual environment
source venv/bin/activate

Note: You'll see (venv) in your terminal prompt when activated.
To deactivate later, simply run: deactivate

Step 3: Install Dependencies

pip install -r requirements.txt

Step 4: Launch the Game

python3 launcher_enhanced.py

Alternative: One-Line Setup (Without venv)

git clone https://github.com/BitJacker/VoidLoop.git && cd VoidLoop && pip3 install -r requirements.txt && python3 launcher_enhanced.py

๐ŸชŸ Windows

Option A: Automatic Setup

  1. Download the repository as ZIP file
  2. Extract to a folder
  3. Double-click setup.bat
  4. Run launcher_enhanced.py

Option B: Manual Setup with Virtual Environment (Recommended)

# Open PowerShell or Command Prompt in the game folder

# Step 1: Create virtual environment
python -m venv venv

# Step 2: Activate virtual environment
venv\Scripts\activate

# Step 3: Install dependencies
pip install -r requirements.txt

# Step 4: Launch the game
python launcher_enhanced.py

Note: You'll see (venv) in your prompt when activated.
To deactivate later, run: deactivate

Option C: Quick Setup (Without venv)

pip install -r requirements.txt
python launcher_enhanced.py

๐ŸŽ macOS (via Homebrew)

Step 1: Install Homebrew (if not already installed)

/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"

Step 2: Install Python

brew install python3

Step 3: Setup Game with Virtual Environment

# Clone repository
git clone https://github.com/BitJacker/VoidLoop.git
cd VoidLoop

# Create and activate virtual environment
python3 -m venv venv
source venv/bin/activate

# Install dependencies
pip install -r requirements.txt

# Launch game
python3 launcher_enhanced.py

๐Ÿ“ฆ Creating requirements.txt

If you don't have a requirements.txt, create one with:

pygame>=2.5.0

Save this as requirements.txt in the VoidLoop directory.


๐Ÿ“– How to Play

๐ŸŽฏ Objective

Survive and synchronize. Collect golden data fragments to fill the synchronization bar. Each game mode has different objectives:

  • STORY: Complete 4+(level) fragments, face bosses every 5 levels
  • ENDLESS: Survive infinitely with increasing difficulty
  • TIME ATTACK: Collect 8+(levelร—2) fragments as fast as possible
  • BOSS RUSH: Defeat bosses consecutively
  • HORDE: Clear 10 waves, collect 15+(levelร—3) fragments

๐ŸŽฎ Gameplay Loop

graph LR
    A[Story Intro] --> B[Play Level]
    B --> C{Collect Fragments}
    C -->|Death| D[Game Over]
    D --> A
    C -->|Victory| E[Shop Screen]
    E --> F{Buy Weapon?}
    F -->|Yes| G[Unlock Shooting]
    F -->|No| H[Save Coins]
    G --> I[Next Level]
    H --> I
    I --> A
Loading

๐Ÿ“Š Difficulty Progression

Difficulty Speed Mult. Spawn Rate Weapon Cost Best For
๐ŸŸข Easy 0.7x 0.5% 5 coins Beginners
๐ŸŸก Normal 1.0x 0.9% 10 coins Balanced
๐Ÿ”ด Hard 1.4x 1.5% 20 coins Veterans
๐Ÿ’€ Nightmare 1.9x 2.5% 30 coins Masochists

๐Ÿ† Level Progression

Levels 1-2: Tutorial

  • Enemies only chase you
  • No projectiles
  • No walls
  • Learn movement mechanics

Levels 3-4: Advanced

  • โš ๏ธ All 4 enemy types appear
  • Enemies start shooting
  • 5-10 wall obstacles
  • Enemy speed increases

Levels 5+: Expert / Boss Territory

  • ๐Ÿ”ฅ Rapid enemy fire (35-70 frame cooldown)
  • ๐Ÿ’จ Fast projectiles
  • ๐Ÿงฑ 20+ wall obstacles
  • ๐Ÿฆธ Boss fight every 5 levels
  • ๐Ÿ’€ Weapon strongly recommended

๐Ÿ’พ Save System

๐Ÿ“‚ Save Location

VoidLoop/
โ””โ”€โ”€ saves/
    โ””โ”€โ”€ savegame.json

Auto-saves when:

  • โœ… You complete a level
  • โœ… You purchase a weapon
  • โœ… You enter the shop screen

Enhanced Save Data:

{
  "level": 12,
  "coins": 187,
  "achievements": ["boss_slayer", "combo_master"]
}

๐Ÿ”„ Continue vs New Game

The enhanced launcher automatically detects your save:

  • CONTINUE GAME: Resume from your saved level with all coins
  • NEW GAME: Start fresh (asks for confirmation if save exists)

๐Ÿ“‚ Project Structure

VoidLoop/
โ”œโ”€โ”€ launcher_enhanced.py      # ๐ŸŽฎ Enhanced launcher with mode selection
โ”œโ”€โ”€ voidloopgame_enhanced.py  # ๐ŸŽฏ Main game engine (Enhanced v3.0)
โ”œโ”€โ”€ requirements.txt          # ๐Ÿ“ฆ Python dependencies
โ”œโ”€โ”€ setup.bat                 # ๐ŸชŸ Windows auto-setup script
โ”œโ”€โ”€ setup.sh                  # ๐Ÿง Linux/Mac auto-setup script
โ”‚
โ”œโ”€โ”€ VoidLoop/                 # Game directory (created after setup)
โ”‚   โ”œโ”€โ”€ saves/                # ๐Ÿ’พ Save files (auto-generated)
โ”‚   โ”‚   โ””โ”€โ”€ savegame.json
โ”‚   โ”‚
โ”‚   โ””โ”€โ”€ lang/                 # ๐ŸŒ Localization files
โ”‚       โ”œโ”€โ”€ dialogues_it.json # Italian
โ”‚       โ”œโ”€โ”€ dialogues_en.json # English
โ”‚       โ”œโ”€โ”€ dialogues_es.json # Spanish
โ”‚       โ””โ”€โ”€ dialogues_fr.json # French
โ”‚
โ”œโ”€โ”€ MIGLIORAMENTI.md          # ๐Ÿ“– Italian enhancement documentation
โ”œโ”€โ”€ README.md                 # ๐Ÿ“– This file
โ”œโ”€โ”€ LICENSE                   # ๐Ÿ“œ Usage rights
โ”œโ”€โ”€ .gitignore               # ๐Ÿ”’ Git ignore rules
โ””โ”€โ”€ venv/                    # ๐Ÿ Virtual environment (optional)

๐Ÿ”ง Troubleshooting

โŒ Common Issues

Error: "No module named 'pygame'"

Solution:

# Make sure virtual environment is activated
source venv/bin/activate  # Linux/Mac
# OR
venv\Scripts\activate      # Windows

# Then install
pip install pygame --upgrade
Error: "Game file not found"

Cause: voidloopgame_enhanced.py is not in the VoidLoop/ folder.

Solution:

# Verify file structure
ls -la VoidLoop/voidloopgame_enhanced.py

# If missing, copy it
cp voidloopgame_enhanced.py VoidLoop/
Virtual environment not activating (Linux/Mac)

Solution:

# Use the correct command for your shell
source venv/bin/activate      # bash/zsh
source venv/bin/activate.fish # fish
source venv/bin/activate.csh  # csh/tcsh
Virtual environment not activating (Windows)

PowerShell Error: "Execution Policy"

Solution:

# Run PowerShell as Administrator
Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope CurrentUser

# Then activate
venv\Scripts\activate

Alternative (Command Prompt):

venv\Scripts\activate.bat
Error: "Dialogue files not found"

Cause: Missing localization files in VoidLoop/lang/

Solution: Create the required JSON files. Minimum example for dialogues_en.json:

{
  "prologue": [
    "SYSTEM: Initialization...",
    "Welcome to VOID LOOP.",
    "Press SPACE to continue."
  ],
  "game_over": [
    "CONNECTION LOST.",
    "Rebooting...",
    "Press SPACE."
  ]
}
Game is laggy / slow framerate

Solutions:

  • Close background applications
  • Use windowed mode instead of fullscreen
  • Update graphics drivers
  • Disable particle effects (modify source)
Save file not working

Solutions:

  1. Check folder permissions:
chmod 755 VoidLoop/saves/
  1. Verify save file exists:
cat VoidLoop/saves/savegame.json
  1. If corrupted, delete and restart:
rm VoidLoop/saves/savegame.json
How do I deactivate the virtual environment?

Solution:

deactivate

This works on all platforms. Your terminal prompt will return to normal.


๐ŸŽจ Customization

๐Ÿ–Œ๏ธ Adding New Ship Colors

Edit voidloopgame_enhanced.py:

COLOR_MAP = {
    "Neon Green": (0, 255, 150),
    "Cyber Blue": (0, 150, 255),
    "Void Purple": (180, 0, 255),
    "Your Color": (R, G, B)  # Add here
}

Then update launcher_enhanced.py:

("โ—† SHIP COLOR", self.color_var, 
 ["Neon Green", "Cyber Blue", "Void Purple", "Your Color"], 
 "#00ffff"),

โš™๏ธ Tweaking Difficulty

Edit DIFF_SETTINGS in voidloopgame_enhanced.py:

DIFF_SETTINGS = {
    "CUSTOM": {
        "speed_mult": 1.2,    # Enemy speed multiplier
        "spawn_rate": 0.012,  # Spawn chance per frame
        "cost": 15            # Weapon price in coins
    }
}

๐ŸŽต Adding Background Music (Optional)

# At the top of voidloopgame_enhanced.py
pygame.mixer.init()
pygame.mixer.music.load("music/soundtrack.mp3")
pygame.mixer.music.play(-1)  # Loop forever

โ“ FAQ

Q: What's new in Enhanced Edition v3.0?

A:

  • 5 game modes (Story, Endless, Time Attack, Boss Rush, Horde)
  • 4 enemy types (Normal, Tank, Sniper, Kamikaze)
  • Epic boss fights with 3-phase combat
  • 4 power-ups (Shield, Speed, Double Damage, Rapid Fire)
  • Combo system for bonus rewards
  • Particle effects system
  • Enhanced HUD with live stats
Q: Should I use a virtual environment?

A: Highly recommended! Benefits:

  • Isolates game dependencies from system Python
  • Prevents version conflicts
  • Easier to uninstall (just delete venv/ folder)
  • Professional best practice
Q: Can I play with a controller/gamepad?

A: Not yet. Gamepad support is planned for v3.2.

Q: What's the hardest game mode?

A: Boss Rush on Nightmare difficulty. You face only bosses, each one stronger than the last, with 190% enemy speed.

Q: How do combos work?

A:

  1. Kill an enemy or collect a fragment
  2. You have 2 seconds to get another kill/fragment
  3. Every 5 combo = +1 coin bonus
  4. Combo counter resets if timer expires
Q: Can I modify the source code?

A: You can study it for educational purposes, but redistribution of modified versions is prohibited. See License.

Q: Where can I report bugs?

A: Create an issue on GitHub or contact the developer directly.


๐Ÿ—บ๏ธ Roadmap

โœ… Version 3.0 (Current - Enhanced Edition)

  • 5 game modes (Story, Endless, Time Attack, Boss Rush, Horde)
  • 4 enemy types with unique behaviors
  • Boss fights with 3-phase combat system
  • 4 power-ups (Shield, Speed, Double Damage, Rapid Fire)
  • Combo system with bonus rewards
  • Particle effects system
  • Enhanced launcher with mode selection
  • Improved HUD with live stats

๐Ÿ”œ Version 3.1 (Planned)

  • Achievements system (10+ achievements)
  • Statistics tracking (kills, deaths, playtime)
  • More power-ups (Freeze, Multishot, Bomb)
  • Sound effects library
  • Background music tracks

๐Ÿ”ฎ Future (Version 3.2+)

  • Online leaderboards
  • More boss types (flying, spawner, etc.)
  • Gamepad support
  • Level editor
  • Steam Workshop integration
  • Daily challenges
  • Online multiplayer

๐Ÿ“œ License

VoidLoop - Copyright ยฉ 2026 BitJacker
All Rights Reserved

โœ… You MAY:

  • โœ”๏ธ Download and play the game for personal use
  • โœ”๏ธ Study the source code for educational purposes
  • โœ”๏ธ Share the game with friends (via GitHub link)

โŒ You MAY NOT:

  • โŒ Modify and redistribute the code
  • โŒ Use the game or code for commercial purposes
  • โŒ Sell the game or derivative works
  • โŒ Use assets (code, dialogues, graphics) in other projects

For licensing inquiries, contact the author.


๐Ÿ‘ค Credits

๐ŸŽฎ Development

Created by: BitJacker
Engine: Pygame 2.5+
Language: Python 3.8+
Version: 3.0 Enhanced Edition

๐Ÿ™ Special Thanks

  • Pygame Community for the excellent game framework
  • Python Software Foundation for the language
  • Beta Testers who provided valuable feedback
  • You for playing VoidLoop Enhanced Edition!

๐ŸŒ Links


๐Ÿ’– Enjoy the Game!

If you like VoidLoop Enhanced Edition, consider:

  • โญ Starring this repository
  • ๐Ÿ”„ Sharing with friends
  • ๐Ÿ’ฌ Leaving feedback
  • ๐ŸŽฎ Challenging yourself in Boss Rush mode!

Made with โค๏ธ and โ˜• by BitJacker

Python Pygame

๐Ÿ” Back to Top


Version 3.0 - Enhanced Edition | BitJacker | 2026

About

A 2D narrative game made with Python and Pygame

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages