r/pygame • • Mar 01 '20

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

85 Upvotes

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


r/pygame • • 1h ago

I'm starting to make a sequel to the game.

1 Upvotes

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


r/pygame • • 15h ago

I built a 2D N-body gravitational solar system and accretion disk simulator from scratch in Python

Post image
5 Upvotes

Hey everyone,

I wanted to share a physics simulation project I built using Python and Pygame: a real-time 2D N-body solar system and accretion disk simulator.

Instead of hardcoding circular orbits, the simulation models true gravitational interactions, collision mechanics, and particle accretion between thousands of bodies in real time.

Key features:

  • Real-time N-body gravitational force calculations using Newton's law.
  • Dynamic particle merging and accretion (smaller dust particles clump together into larger asteroids and planetoids while conserving momentum).
  • Procedural nebula generation with randomized orbital speeds and chaos factors around a massive central sun.
  • Lightweight and smooth rendering entirely built from scratch with Python and Pygame.

I'll drop the link to the GitHub repository in the comments below. Let me know what you think or what orbital mechanics features I should add next!


r/pygame • • 10h ago

rpg zombie v0.11

Thumbnail reddit.com
1 Upvotes

r/pygame • • 14h ago

A little birthday game

Thumbnail reddit.com
0 Upvotes

I want to make a game for my boyfriend's birthday. Suggest some ai tools and give me some guidance on how and where should I start. I don't know anything about coding and I don't have much time.


r/pygame • • 2d ago

I updated the boss fight and it's more interesting now.

11 Upvotes

The update is already available on the game page. Enjoy testing and playing!

Link for game: https://ssoh-v1.itch.io/the-dungeon-of-god


r/pygame • • 2d ago

Spin and Shoot!

12 Upvotes

Or you're trapped in smoke, where Radar is your only friend.


r/pygame • • 2d ago

I built a lightning simulator in Python using Pygame!

Post image
9 Upvotes

Hey everyone! 👋

I wanted to share a small side project I've been working on: a Lightning Simulator built completely from scratch in Python using the Pygame library. The goal was to recreate realistic electrical discharge patterns and branching structures on a 2D canvas in real time.

Tech Stack: Python, Pygame

Features: Dynamic branching, smooth rendering, and interactive controls to trigger storms directly on screen.

I'm focusing heavily on building a clean portfolio of physics and simulation projects right now.

You can check out the source code and documentation on my GitHub repo: EventHorizon-dev/lightning-simulator-2d

I'd love to hear your thoughts, feedback, or any ideas on how I could optimize the rendering performance! Thanks for checking it out!


r/pygame • • 2d ago

Attack on Solar System (play on web browser)

Post image
1 Upvotes

Meu primeiro jogo em Python usando pygame sem ajuda de IA, no estilo do antigo arcade "space invaders" onde o objetivo é destruir todos os alienígenas invasores e expulsa-los de vez do nosso sistema solar. Começando pela Terra e depois Lua, Marte, Júpiter, Saturno, Urano, Netuno. São 21 estágios, além da fase do chefão no final de cada planeta.

PLAY ATTACK on SOLAR SYSTEM


r/pygame • • 3d ago Bravo

My demo game is done!!!

133 Upvotes

Today I completely finished with the game exactly 6 days ago I made a post here with this same game, in these 6 days I improved it and brought it to perfection and I really like how the demo looks now.If you like it, you can play it on my itch: https://ssoh-v1.itch.io/the-dungeon-of-god.

Thank you all for helping promote my project. I am very grateful to you and will try to release the release version of the game as soon as possible.


r/pygame • • 2d ago

Assets

2 Upvotes

Where do you guys get assets and animations for your pygames?


r/pygame • • 3d ago

ModernGL implementation in my game. The lighting really improves the atmosphere.

28 Upvotes

r/pygame • • 3d ago

[NEW RELEASE] EvergreenMeaodws V1.27.0 is out!

Thumbnail gallery
7 Upvotes

avaliable on itch. i finally uploaded a playable version of my game! lets gooo

here is the changelog:

  • Improved & polished UI
  • Improved performance
  • Added new tools & items
  • Now one can emebd an axe into a tree stomb
  • Fixed Bugs [would appreciate it a lot if it get reported]
  • Added sprinting & stamina

feel free to check out: https://dreamdev1.itch.io/evergreen-meadows

free version down below


r/pygame • • 2d ago

[SALE] 100% off Evergreen Meadows!

Post image
0 Upvotes

Claim the playable game for free permanently! (Sale only for 1 week)!

https://itch.io/s/223390/evergreen-meadows-sale


r/pygame • • 3d ago Bravo

1 Year of Development

Thumbnail gallery
24 Upvotes

I've just dropped a massive upgrade on Bit Rot, the game i've been building for over one year now with PyGame

https://gustavokuklinski.itch.io/bit-rot/devlog/1794327/build-0063-1-year-of-developement-this-is-how-youll-rot


r/pygame • • 4d ago

i made a fantasy console in pygame that lets you create real NES games using C99

Thumbnail gallery
8 Upvotes

i was working on this project for a while and i think its good enough to share it with community

its a fantasy console/game engine for creating real NES games using C99 and cc65 compiler

the editor is written in python and pygame but the underlying framework NESkit(also made by me) is in C

you can check it here https://cutaway-software.itch.io/neskit-studio


r/pygame • • 3d ago

This was my 2nd game with python. also it was my classes project too if yall would rate it i would appriciate it

Thumbnail gamejolt.com
1 Upvotes

r/pygame • • 4d ago

Need feedback on my Pygame Roguelike architecture. How do you manage game states and the main loop?

Post image
4 Upvotes

Hi everyone! 👋

I've been learning Python and got tired of seeing the same old tutorials, so I decided to build a Roguelike inspired by HoloCure and Vampire Survivors.

This is just a prototype (no name yet), but I'm really proud of the technical progress. I want to improve my code architecture, so I'm looking for honest feedback from more experienced devs.

What's currently implemented:

  • Modular Wave System (oleadas.py): Time-based progression that scales enemy health, speed, and spawn rate.
  • Upgrade Cards (mejoras.py): Pausing between rounds to choose 3 random upgrades (fire rate, damage, speed, etc.).
  • Sprite Optimization: Loading sprite sheets once and slicing them via .subsurface() to save RAM on low-end PCs. Using a fair 24x24 hitbox while rendering larger sprites.
  • Basic farming mechanics (carrots drop,WIP for healing).

What I need help with:

  1. How would you organize the main loop? Right now main.py feels a bit heavy and I want to avoid a giant if/elif mess.
  2. Any tips on state management (Menu, Playing, Game Over)?
  3. General feedback on the architecture is highly appreciated.

GitHub Link: https://github.com/N-near/Juego-roguelike-pygame (The README has the full guide on how to run it in a venv).

Thanks for reading! Have a nice day or night >:3


r/pygame • • 4d ago

Living Planet: a Pygame strategy simulation where local LLMs run 2–6 nations

0 Upvotes

Sharing Living Planet, a strategy simulation created by TPECKA180. It runs in Python/Pygame and lets local language models make decisions for 2–6 nations. The game engine validates proposed orders against ownership, resources, routes, technologies and treaties before they change the world. The simulation includes economic development, research, diplomacy, construction and conflict.

This is an observe-the-simulation experience rather than a conventional player-controlled strategy game. The current release requires Python 3.12 and a compatible local model server such as LM Studio; model weights are not bundled.

Free project and setup: https://github.com/TPECKA180/living-planet

Screenshots: https://github.com/TPECKA180/living-planet/blob/main/docs/SCREENSHOTS.md

Original creator: TPECKA180. License: Living Planet Free Community License v1.0 (custom, non-OSI; commercial-use restrictions apply).


r/pygame • • 6d ago

Just made a new, modern FOSS Steamworks wrapper for Python!

8 Upvotes

I just open-sourced my custom Steamworks wrapper for Python under the MIT license! It's called PySteamBridge, and unlike some popular wrappers, this one does not need any additional DLLs installed! Just copy the repo folder into your game directory, and put in Valve's DLLs there! The functions used are a 1 to 1 replica of those in SteamworksPy by philippj, so you can use this as a drop in replacement if you were using that before. Full setup instructions and details can be found on the Github repo!

Download PySteamBridge on GitHub- https://github.com/AniGamer-YT/PySteamBridge

Hope you like it :D


r/pygame • • 8d ago

dvd screensaver

0 Upvotes

I made a DVD screensaver simulator using Python and Pygame!

It’s my own little project, and I decided to release it publicly.

It’s still a work in progress, so there might be bugs.

You can try it here:
https://angelsintheskies.itch.io/dvd-screensaver

Feedback is appreciated! :D


r/pygame • • 9d ago

Love the CRT Effect here!

60 Upvotes

I really love the CRT and curved screen effect I used for my pygame game Ball Drop Madness. I really think it ties the game together visually, really giving it some interesting charm as the overall aesthetics are very basic.


r/pygame • • 8d ago

X

0 Upvotes

r/pygame • • 9d ago

Making a liminal Space game ....

Post image
6 Upvotes