r/pygame • u/scapaflow96 • 12h ago
Ported my game from Pygame to Raylib.
Feels like jumping from an old horse onto a fresh stallion.
r/pygame • u/AutoModerator • Mar 01 '20
Please use this thread to showcase your current project(s) using the PyGame library.
r/pygame • u/scapaflow96 • 12h ago
Feels like jumping from an old horse onto a fresh stallion.
Music video with custom visualization and original aggressive phonk music.
Source: https://github.com/dvstin1/gen-music/blob/main/visualizer_skeleton.py
r/pygame • u/kamran-zafar • 1d ago
I've been working on Patch Panic, a small arcade game written in Python with pygame-ce. Gremlins sneak up to your workstations and try to install BloatOS. You click them to swat them before the install finishes.
It gets busier from there:
\- Stolen disks. If a gremlin gets away with a computer's OS, swat it so it drops the disk. Then drag the disk back to the computer with the matching colour stripe.
\- Power surges. Sparks race along the network cables. Click one before it reaches a machine, or the machine fries, reboots and ejects its OS disk. Surges can also jump further down the network.
\- Golden patches. These fly across the screen and give bonus points plus a random power-up: Firewall (freeze), Surge Guard, Auto-Patch, Antivirus Sweep, Rollback, or Honeypot, a decoy computer that lures gremlins away.
\- New gremlin types as you progress. Sprinters, Armored (takes two hits), Splitters, Saboteurs that chew through cables, and Scavengers that steal disks lying on the floor.
Modes: Classic (endless, with Relaxed, Normal or Frantic difficulty), Daily (everyone gets the same layouts, so scores can be compared) and a short Tutorial.
Other features: combo multipliers, a top-10 leaderboard with arcade initials, achievements, a colourblind mode (a shape on every disk and stripe), rebindable keys, and sound effects synthesised at startup. There are no audio files.
What's new from v1.2: the Saboteur and Scavenger gremlins, the Honeypot power-up, warnings before a surge (the cable flashes first), and golden patches that scale with level length.
For anyone who wants to read the code: the game rules live in a World class that emits events on an event bus. Audio, effects, stats and achievements subscribe to those events, and the renderer only draws. That means the rules never touch pygame and are unit-tested without opening a window. Adding a power-up or a gremlin type is a small, self-contained change, and contributions are welcome.
\- Source: [Patch Panic
\- Downloads: prebuilt executables for Windows, macOS and Linux on the Releases page. You can also run it from source (Python 3.10+).
\- License: GPL-3.0
Feedback is very welcome, especially on difficulty balance and whether the later levels feel fair. Thanks for taking a look!
r/pygame • u/No-Relationship93 • 2d ago
Posted here awhile back about my astronomy animation engine made in pygame. It's come a long way and I'm proud to show some of the visuals that have been created with it! I'm eager to get it in the hands of someone else, planning for it to be a fully open source tool accessible to all once I tie up a few of the bugs.
All the gas and nebulae are sprites and layered with pygame's BLEND_RGB_ADD and BLEND_RGB_MULT, the lensing effects are the deflection equations using a numpy inverse-map over the frame, and every frame is drawn to a pygame surface, grabbed with surfarray and tossed into an ffmpeg subprocess where everything is rendered. This 30 second clip took ~1 hour to render, so definitely takes some time.
Check out the full video here, every frame rendered using pygame! https://youtu.be/uEWkErFm0co
r/pygame • u/Myterious_Boy7 • 2d ago
Hi everyone! I'm making Ember Runner: The Lost Kingdom, a pixel-art platformer in Python/pygame. Each boss unlocks a new ability, and the bosses remember how you play (jump, dash, shoot, camp) and counter it. All the art, sound and music are generated in code.
This is the Level 1 boss fight. I'll be releasing it free on itch.io soon. What do you think? Any feedback on the boss fight or the look?
r/pygame • u/scriptilapia • 2d ago
Hello guys . I drew some background art for my game (using GIMP) , just wanted your feedback on how it looks in general .
Have a good day everyone 💙
r/pygame
•
u/Creepy_Sherbert_1179
•
3d ago
Hello everyone, I wanted to update you on my GameBoy Color emulator I wrote with pygame! It has been an extremely fun project. I have used PyGame for the PPU (visuals) and the APU (sound). GameBoy Color emulation uses 18 bit surfaces with masks for rgb555 which the actual gameboy color uses. GameBoy emulation uses 8 bit surfaces with palettes. You can also set custom palettes for the GameBoy! I have used 44100 PCM for audio emulation. I use pygame's mixer to initialize 8 bit unsigned audio, then accumulate actual gameboy channel amplitudes (which are 4 bit) then feed buffers the averages. At each buffer fill, a sound object is generated etc. It is not the best at the moment but it works :D I plan to write documentation about the overall architecture.
And of course it is open source: https://github.com/atifcodesalot/hazelnut-gb-emu
Clone and play it yourself! Enjoy!
AI usage disclaimer: This is a handwritten project. AI was used only for debugging and disassembly of ROM's. No agentic code or AI generated code was used.
r/pygame • u/DREAMDEV4 • 3d ago
i have released the newest version 1.27.1!
The NEW THINGS:
This game is currently on Sale! 100% off. its playable on Windows and Linux Fedora. feel free to check out: https://dreamdev1.itch.io/evergreen-meadows
[every feedback is a huge support for me!]
r/pygame • u/Onheiron • 3d ago
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 • u/CertainMagazine6383 • 4d ago
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:
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 • u/piztkelgameofficial • 4d ago
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 • u/VirusMission9156 • 4d ago
r/pygame • u/VirusMission9156 • 4d ago
r/pygame • u/VirusMission9156 • 4d ago
r/pygame • u/rorythpsfan • 4d ago
hey guys, been mostly working on assets and art the past few weeks, so far I've:
- completely redesigned the GUI so it is more in line with my art style
- created a comic book template and the first part of the story (the gif), for the .exe demo.
- started experimenting with moderngl and normal maps to shade the back and mid ground assets
- added a white outline to the board, kind of like a sticker so its easier to see
- added MANUALS! (:D) these are not perfect right now and need dialing in but they work!
-made a stripped back browser demo without normal map shading (moderngl is compatible with pygbag as far as i'm aware) BUT it has a live leaderboard!!
If you want to see the story properly and play through the tutorial, the .exe demo has all of that plus an extra WIP level, Rooftops.
If you want to check out the browser demo or .exe demo you can find them at :
https://rorythpsfan.itch.io/flippin-sketchy
if anyone gets a chance to play either and wants to give feedback I'd super appreciate that!!!

r/pygame • u/scriptilapia • 5d ago
Hello. Here's how my game looks so far. I've improved the parallax effect and started working on some new art, currently looking for some inspiration , any suggestions or ideas are welcome.
Wishing you all a great day
NOTE: The game runs smoothly, recording the screen lowers the FPS
r/pygame • u/grenskii • 5d ago
game is almost done, just needs a bit of tweaking, sfx, and music.
r/pygame • u/Independent-Word6904 • 6d ago
I made this sketch today. I'll make a post soon as I finish the starting room of location 2.
If anyone hasn't seen the demo, you can find it on Itch, right here: https://ssoh-v1.itch.io/the-dungeon-of-god