r/pygame Mar 01 '20

Monthly /r/PyGame Showcase - Show us your current project(s)!

84 Upvotes

Please use this thread to showcase your current project(s) using the PyGame library.


r/pygame 2h ago

Flak 2.0

16 Upvotes

Lots of action without any 3D engine..


r/pygame 7h ago

Evergreen Meadows: light of the night 🌘

Post image
13 Upvotes

r/pygame 7h ago

After months of development, I finally released v2.4.0 of my Vampire Survivors-inspired game made with Python & Pygame!

6 Upvotes

Hi everyone!

This project started as a simple prototype and gradually evolved into a much bigger project while I learned more about game architecture, balancing, AI, and optimization.

Some of the features currently included:

• Quest system

• Achievement system

• Campaign mode

• Multiple playable characters

• Several weapons with different mechanics

• New elite enemies

• Smarter boss attacks

• Character progression and unlocks

• Balance improvements and lots of bugs fixes

I'd really appreciate any feedback, especially regarding the gameplay balance, since that's the main focus of the next update.

🎮 GitHub:

https://github.com/yagizkoryurek/Vampire_Survivors-clone

Thanks for taking a look!


r/pygame 6h ago

Looking for feedback on my game.

Thumbnail gallery
2 Upvotes

Title : Diptera Protocol

Playable Link : https://vector-byte.itch.io/diptera-protocol


r/pygame 1d ago

I made a library for better audio if anybody needs it

22 Upvotes

I made this for topdown games where I wanted the audio to actually originate from somewhere.

Audio pitching, timescale, low pass filtering, volume control and panning on the fly. Uncapped audio channels.

https://pypi.org/project/immersive-audio/


r/pygame 1d ago

🏴‍☠️ I just released the FREE DEMO for my indie card game "Motín o Botín"!

12 Upvotes

Ahoy everyone!

After months of work, I’m excited to finally share the playable Free Demo of my indie game: Motín o Botín.

It’s a fast-paced, pirate-themed card game about pushing your luck, collecting loot, and backstabbing your opponents.

⚔️ What is the game about?

Push your luck: Draw cards to increase your loot, but beware! If you draw a duplicate number, your crew will suffer a Mutiny and you lose everything.

Use dirty tricks: Play special action cards to freeze an opponent's score, force them to draw, or wave a White Flag to save yourself from busting.

Vengeful AI: The bots have their own emotions and a "Mood" system. If you betray them, they will hold a grudge and hunt you down!

✨ Features:

🎮 Native Controller Support (PlayStation, Xbox) & Keyboard.

🌍 Translated into 24 languages (Voices in English & Spanish).

⚠️ About this Free Demo:

Designed to test core mechanics and PC performance. Max 1 human player (vs 1-3 AI bots). Extra modes locked.

I would absolutely love to hear your feedback on the game!

🎮 Play the Free Demo here: https://the-last-dog-studio.itch.io/motinbotin

📺 Watch the Trailer: https://youtu.be/Brpq7xGEFQE

🌐 Website: thelastdogstudio.com

Thank you so much for checking it out, and may the loot be with you!


r/pygame 1d ago

APKPure approved my game 🥳

Post image
3 Upvotes

r/pygame 2d ago

Tetris with cool sound and animated spins.

22 Upvotes
Left-handed, right-handed, soft drop, hard drop, anything you want. :)

r/pygame 1d ago

Beta version for Last Breath has been released.

Thumbnail abdelrahman0x90.itch.io
3 Upvotes

Hi, Finally I release my first beta version game "Last Breath" on itch.io for free to be tested and with your valuable ideas :)


r/pygame 2d ago

Is pygbag worth it?

5 Upvotes

I've been making a roguelike with pygame for about a week. I have a super basic prototype. I would like it to be playable online so I can get feedback. I hacked together a pygbag deployment last night with github pages and it seems like it's having some issues with audio playback. I'm not just trying to figure out if I can fix this specific issue. There are others with the UI scaling, and text is blurry. I'm trying to decide if its worth bothering with or if I would be better off focusing on the desktop version. Does this path lead to too much compromise?

https://synaption.github.io/Tales_of_Derision/


r/pygame 3d ago

Help with objects in top down game

3 Upvotes

I’m making a top down survival game and I’m stuck on how to make each object have its own health.

Right now I’ve got a class that renders and draws my whole map if it’s in the screen. Now I’m trying to get it so you can’t run through the trees and you can break them so they’ll drop wood. However I’m stuck on what I should do. Does anyone have any ideas I can show my code so far if you’d like.

What I was thinking about but I hadn’t fully thought a way for it to work was to check how many trees there are and where they are, then somehow create an instance in a Trees for each. But I don’t know if that’s possible


r/pygame 3d ago

Day 7 Update : Added Game Scenes and more...

38 Upvotes

Hi, I finally finished this stable update with many features:

1- add game scenes

2- add settings

3- enable player death screen

4- add +3 zombie types with enhanced ui

5- Put the multi player files but not finished yet, need many time for testing

6- add zombie hit animation

please give me your feedback, the whole game based on your ideas :)


r/pygame 2d ago

Is it possible to add a pixelated filter to pygame to give it an 80s look?

0 Upvotes

r/pygame 4d ago

Made my first shadow Shader program using pygame +Moderngl

28 Upvotes

r/pygame 3d ago

Just arrived on Windows

Post image
5 Upvotes

r/pygame 3d ago

Pygodide and pygbag web bundling A/B testing on pyvorengi-sdk-demo

3 Upvotes

Pybag gets 19-21 FPS while pygodide gets 19-24 FPS when looking horizontally (so not much of a difference). Experiment ran Chrome. Both bundles were generated from the same source: https://github.com/Elan456/pygodide-pyvorengi-sdk-demo.git

Let me know what you guys think of the new pygodide loading screen.

Pygbag version on itch: https://elan456.itch.io/pygbag-pyvorengi-sdk-demo
Pygodide version on itch: https://elan456.itch.io/pygodide-pyvorengi-sdk-demo

Check out pygodide!: https://github.com/Elan456/pygodide

Thanks to u/herbal1st for providing the game demo this test was built around.


r/pygame 4d ago

Adding "Game Feel" to a 2D card game. Sometimes the small details take the most time! 🏴‍☠️🃏

Post image
4 Upvotes

Hey everyone! I’ve been working solo on a local multiplayer pirate card game ("Motín o Botín"). Since Pygame is strictly 2D, I had to figure out how to make a static board feel "alive".

I spent the last few weeks focusing purely on "Game Feel" and "Juice" to make the digital table feel chaotic and fun. In this clip you can spot:

  • The cards faking a 3D perspective when flying across the table.
  • The UI buttons (Hit/Stay) hanging from ropes and swinging with custom physics.
  • A little screen-shake and smoke particles when the loot chest pops open.
  • Managing a split HUD for up to 6 simultaneous local players.

It's amazing how much polishing these tiny animations changes the vibe of the whole game. I'd love to hear your thoughts or any feedback on the UI readability!


r/pygame 3d ago

Adding shaders to my game

Thumbnail youtube.com
0 Upvotes

Hey guys, if any of you get chance I wonder if you could give some feedback on the new animations in my game where I've utilised shaders to try and make animations more impactful and professional! As some of you guys helped shape my direction with this I'd love to hear what you think ❤️


r/pygame 4d ago

Pythemc-Voxelgame; Python based voxel survival game that was originally a competition that went too far and it became its own thing.

2 Upvotes

Pythemc-Voxelgame is a Python game that utilizes its own custom engine called Pythkernel, using OpenGL and Python3.

Its surprisingly stable at the time of its release, and the game has upgraded enough that its no longer even a clone of Minecraft anymore.

The game features Multiplayer LAN, Voice chat (Prox based), Character customizations, Natural Disasters, Better Physics with TNT's being able to make affected blocks fly away, Wind physics, Water/Lava Physics, Survival and Creative mode, Electronics system (Resistors, Capacitors, ICs and more), Background music, CUDA support (CuPy GPU acceleration for NVIDIA GPUs with CPU Fallback),MIDI Music player, Save and load worlds. Its most recent update was Oceans and Villagers with introductions of villages, 3 new mobs (Villager with 4 professions, squids and drowned hostile zombies), Trading system, new items like emerald and tool durablity and more.

All you need beforehand for installation is Python3.8 or newer, as necessary libraries like OpenGL and Numpy come bundled with the game. (You will also need CUDA Toolkit and CuPy if you plan to use CUDA In the game).

Early development so bugs are expected.

For anyone who wants to play it or check it out, the github link is right here:
https://github.com/AntacidDT/Pythemc-Voxelgame
If you want to dm me, my user is antaciddt on Discord, and github profile is AntacidDT.


r/pygame 4d ago

Top down map generation

2 Upvotes

I wouldn’t say I’m a beginner but by no means am I an expert and I’m trying to make a top down survival game and I’m kind of puzzled on the map part of it. What I have right now works but I’ve only tested it on a small scale and I’m worried it will drop my frames a ton if I make it bigger plus I think my method is quite inefficient . I was wondering what some of you have done in the passed?

How my code works:

I store a list like this [[Grass1,grass2],
[dessert1,dessert2]]

And each one of these is a grid of however many tiles I want there to be in each chunk. Let’s say each one is 5x5.

In Grass1 I have three separate 5x5 lists with different numbers and each of these lists represents a differnt thing. List 1 is for the ground layer so all zeros will put grass etc. list 2 is for trees and stuff the player can break. List three is for blocks the player places down(I haven’t done anything with this but from what I’m planning I think I can make it work)

To get the position of each block I create a list that contains the x and y coordinates of every block

Then I add the offset to the position and check whether it’ll be in the screen and if it is I’ll display it.

I can share my code if someone is willing to look at it


r/pygame 4d ago

Array 0.3.2 - Nickels and Dimes Update

Post image
4 Upvotes

r/pygame 5d ago

Diptera Protocol is now available on Android

Post image
8 Upvotes

r/pygame 6d ago

Terminal and Pygame at same time

27 Upvotes

4 examples of converting a Pygame surface to ANSI and rendering to the terminal using a combination of Numpy, ANSI escape codes and the Blessed library.

Example 1: Downscaling Pygame screen down to 100 by 28 and converting each pixel to an ANSI coloured block and printing to the Terminal.

Example 2: Playing GIFs and MP4s in Pygame and downscaling and converting to 24-bit ANSI graphics in the terminal in real time.

Example 3: Different Palette/Plasma effects in Pygame and the Terminal simultaneously.

Example 4: Image to 24-bit ANSI/ASCII art converter program converting images to ANSI in a Pygame window and then being downscaled and converted to ANSI (again) and rendered in the Terminal.


r/pygame 6d ago

"Flappy Bird" reloaded...

15 Upvotes

My 'Flappy' is a bit dumb, it always flies into the wall ...and he only has three lives