r/pygame • • 3h ago

Birds vs Bats: an arcade roguelite in pygame + numpy, with leaderboards verified by replaying every

Thumbnail gallery
8 Upvotes

I've been building Birds vs Bats, a roguelite drawn entirely in coloured text. It runs in a terminal or in a pygame window (pip install birds-vs-bats, then bvb).

Parts I think this sub might like:

- Leaderboards without a game server: a finished game is uploaded as a recording (seed, settings, every key with its frame time). A GitHub Actions job checks out the game's version tag, replays it headless, and ranks it only if it reaches the same score.

- Adaptive music rendered at runtime with numpy from a small sample bank: every bird kind in your flock adds an instrument, tempo follows your speed.

- A headless simulator and a bot with tunable skills, used to balance the game ("without a build you should die around world 3").

- PyInstaller builds for Linux, macOS and Windows, published by one workflow, plus an in-game updater that checks SHA256 sums before swapping the install.

Source: https://github.com/Onheiron/PY-birds-vs-bats - happy to answer questions about any of it.


r/pygame • • 11h ago

Ann3-2PO – Fun little arena shooter with a sneaky CPU… and now 2-Player Online! (Windows, free)

Thumbnail gallery
2 Upvotes

I just pushed a big update to Annihilators 3 (now Ann3-2PO) and wanted to share the latest version!

It’s a fast-paced 2D arena shooter with that classic 90s vibe — run around, shoot, dodge grenades, and try not to get obliterated by the heat-seeking bomb. Now with full 2-Player Online over a dedicated VPS relay, plus the scoring system that makes every match feel more rewarding.

What’s New / Highlights:

  • 2-Player Online Lobby Matching — Host or join matches over the internet. Real-time sync of positions, weapons, projectiles, grenades, heatbombs, explosions, and landmines through a dedicated VPS relay. Automatic version check so both players are on the same build.
  • Smart single-player CPU that still fights back — it collects weapons, dodges, and even goes into “panic mode” when you launch the heatbomb. It can still steal highscore spots with funny names like “Subservient Chicken CPU” or “Captain Cheapshot CPU”!
  • Scoring System — Body hits, headshots, grenade/landmine/heatbomb kills, and “perfect kills” all earn points. Chase your personal best!
  • Local + Global Highscores — Top 10 list with names, dates, and weapons. Optional global submit.
  • 2-Player Local (Hotseat) — Same-PC play still works.
  • Explosive heatbomb with screen shake + gamepad rumble
  • Grenades, landmines, blood splatters, and dramatic headshot close-ups
  • Multiple control options: keyboard (rebindable), mouse, or gamepad
  • In-game volume and mute that affect both SFX and background music

Completely free, no ads, no microtransactions — just pure chaotic arena fun.

Online matches require an internet connection to the relay server.

Links:

Would love any feedback!


r/pygame • • 22h ago

We built a 2D pixel-art platformer entirely in Python — no imported sprites

2 Upvotes

Hi r/PyGame! We're 8 people and we've been building Pitzkel with pygame-ce. The engine, levels, bosses, art, fonts and audio are all written in code — there are no imported sprite sheets.

The game renders at native 320×176 and runs on Windows, Android and the browser. It has 24 campaign stages, 100 levels in total, 300 challenges and a leaderboard.

Press kit with real frames and skins: https://pitzkel-game.netlify.app/press-kit.html Play in browser: https://pitzkel-game.netlify.app/play/index.html

Happy to answer questions about the parametric octopus drawing, the input layer or the save format. 🐙


r/pygame • • 23h ago

Implementing physics, camera, player-movement and animations - Part 4

Thumbnail youtube.com
2 Upvotes