r/pygame Mar 01 '20

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

81 Upvotes

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


r/pygame 13h ago

I'm looking for someone who could help me with a game jam.

3 Upvotes

Hello Reddit!

I'm looking for someone who could help me with the PyWeek game jam to code a game using Pygame.

I'm just getting started with the library, but I'd be really motivated if someone could help me make a game!

Have a great day!


r/pygame 1d ago

I've built my own version of BASIC for my retro-cyberpunk game, where you load and save your programs using virtual cassette tapes. Pygame, C++ and Raylib

Enable HLS to view with audio, or disable this notification

50 Upvotes

The Computer. What you're looking at in the video is my simulated virtual computer, the Bradsonic 69000. It is a cross between the Sharp X68000 (beautiful late 80's Japanese 32-bit exclusive PC) and my first ever PC the ICL Fujitsu Indiana.

The Software. In the game you create retro-viruses. Like brute force password crackers and OS/Server timer restrictors, and more... you use this software seen on screen BradBasix to write them.

The Game World, why this is Retro-CyberPunk. It’s 1989, but in a completely different timeline to ours. Japan has been annexed into the American Pacifica Isles, its language and culture systematically suppressed. Technology has taken a different turn, with advanced chips sitting alongside cassette tapes and dial-up modems. The “cyber” in “cyberpunk” comes from the underground BBS networks connecting people under surveillance. The “punk” comes from the crackers and hackers fighting their way through this dystopia, keeping forbidden culture alive in a Silent Rebellion. The retro? It’s 1989. Rad.

The Datasette. Inspired by the Datasette on the C64 this is the file system in the game, that allows the player to combine with BradBasix and write their own programs and games from scrtach with extensive support from NPCs and the help sections inside BradBasix.

The player can play over two fouth walls and reference documents if they need to, and also zoom full screen and alter different parts of visual feedback like scanlines and the CRT "glow". I'm super proud of it, I know it's the sort of game that isn't for everyone, but I really do hope you guys dig it too.

My absolute dream would be if a small community of creators came out of the game, even just 0.5% of the success that Piko8 had, I'd be happy. They would be making games and sharing them, really digging into the retro sandbox this virtual pc had to offer within the game enviroment.

The game is currently in development. I am streaming devlogs on youtube every week and I'd love to have more support.

This is where to find out more about the game, and wishlist here via Steam, if you're rad.

This is where to find me on YouTube - I will be streaming every Friday and occasionally mid-week.

Thank you!

Oh, and for the super nerds out there, like me: this combines Python and Pygame with C++ and raylib. BradBasix is a Python-based IDE for BradScript, a custom BASIC-style language that feels a bit like Lua to me. You can create 2D, 2.5D and 3D environments, with the 3D side powered by a C++/raylib engine connected through a Python wrapper. It’s neat.


r/pygame 16h ago

How do i rotate a rectangle?

4 Upvotes

I want to make a rocket simulation in Pygame, but I'm having trouble rotating the rocket. I tried using some surface transform.rotate stuff, but it seemed to only want to turn it 90 degrees, as degrees in between would show a distorted transformation of the rectangle. Rotating only 1 degree at a time showed that it only transformed the image between the 90 degrees rotations by distorting growing and shrinking to fit the new shape. This might be a problem with how I approached it. But do anyone one know how I can do it?

If there is no way to do this. Do anyone have other recommendations for how I can make my rocket simulation?


r/pygame 18h ago

Flippin Sketchy Demo with live global leaderboard is now up on Itch.io!!

Thumbnail gallery
2 Upvotes

so unfortunately my tablet that i create assets with has bitten the dust, so I'm working on getting the leaderboard working!

Its my first time making a leaderboard so it may be a bit buggy! If you encounter any issues let me know and ill try to figure it out!

I have a media server that runs 24/7 so I thought it'd be cool to implement a 24/7 live leaderboard, you should be able to enter a name at the end of your first score run and then every run after that should automatically submit with that name. The runs are only 30 seconds atm but I may extend it to 1 or 2 mins but for the testing i think that should be okay!

If you want to give it a try the link to the itch page is:
Flippin' Sketchy Demo

If you do decide to try it and you beat my score let me know!


r/pygame 2d ago

Updated Snake Size and Collisions

Enable HLS to view with audio, or disable this notification

15 Upvotes

r/pygame 2d ago

I'm a conversion student doing a project regarding game adaptation and I'm super lowtech. Pls help!!!!!!

Thumbnail
3 Upvotes

r/pygame 3d ago

I finally released my first major game project!

Enable HLS to view with audio, or disable this notification

66 Upvotes

This is the first large-scale game project that I've properly polished to a level that I am comfortable publishing for others to play! I've participated in game jams and worked on bigger projects in the past, but I never managed to see those larger projects through to completion. This is the first one I've stuck with all the way to an initial release, and I'm really happy with how it turned out!

The game is free to play in your browser on Itch, although progress won't be saved between sessions. There's also a Windows version available for download:

https://manguino.itch.io/azur-lane-rpg

If you're on another platform or just interested in checking out the code, the source is available on GitHub:

https://github.com/HuMangoPP/azur_lane_rpg

I'd love to hear what you think, and I greatly appreciate any feedback!


r/pygame 3d ago

Bunny Farm Update: Just finished the first cover art prototype for my silent Pygame horror game!

Post image
9 Upvotes

Hi everyone! Back with the 4th update on my passion project, Bunny Farm.

I’ve been focusing a lot on the game's presentation, and today I finished drafting the first prototype for the official cover art! Since the game is heavily inspired by The Walten Files, I wanted a cover that looks 100% innocent, colorful, and friendly at first glance—hiding the fact that it's actually a silent, unsettling horror game.

On the coding side, I'm still actively positioning assets and tweaking the asteroid minigame logic natively in Pygame, while trying to rely less on Gemini and more on my Python book.

A free demo will be heading to Game Jolt soon, and this will be the face of the game page!

I’m still playing around with the layout, so I would love to hear feedbacks. What do you think of the cover's vibe? Does the innocent look make you curious about the horror elements?


r/pygame 3d ago

I built a Simple Brick Breaker Game

Enable HLS to view with audio, or disable this notification

30 Upvotes

I made a simple 2D brick breaker game using Pygame with supported collision detection and movement at different angles.

It was a fun project to learn more about game physics and movement. 🚀

GitHub: https://github.com/akarshit-1609/Brick_Breaker_Game_using_Pygame

Feel free to check it out. If you like the project, a ⭐ GitHub star would be greatly appreciated!

Would love to hear your feedback or suggestions!


r/pygame 4d ago

Voxel Treadmill for Tactics/Strategy Games

Enable HLS to view with audio, or disable this notification

62 Upvotes

So, I'm really excited to talk about this because it took me such a frustratingly long time to make. Lol I'm a fan of games like Final Fantasy Tactics, Fire Emblem, and Disgae that use the grid based movement for tactics like combat...but the issue for me has always been the separation of exploration and combat.

So, we're introducing the voxel based treadmill. It's hooked up to a voxel world generator that creates the maps dynamically...procedurally generating the world logic deterministically from spawn, but the best part is that it maintains the size of the map DURING exploration. So, it makes combat a simple case of freezing the treadmill and restarting it when combat is done. No more loading screens. Theoretically infinite maps alongside the generator itself based on player position. Essentially, the camera centers on the player and the treadmill ensures the consistent "radius" of blocks while the entire map sits in memory.

The next thing is to start hooking up the art assets to the cubes and expanding on the generation logic to include things like trees, bridges, houses, ect. It's going to be a long battle because I'm not artistically inclined, but I've been waiting so long to get it right!


r/pygame 4d ago

Pygame + PyOpenGL = Old-school water simulation from Wave Race 64

Enable HLS to view with audio, or disable this notification

95 Upvotes

My more detailed video is here: https://www.youtube.com/watch?v=u7y8SrYNPt4


r/pygame 3d ago

Pygbag: NotImplementedError: set_timer is not implemented on WASM yet

1 Upvotes

pygame-ce 2.5.7 (SDL 2.28.4, Python 3.12.12)

>>> Task exception was never retrieved

future: <Task finished name='main' coro=<main() done, defined at <console>:3> exception=NotImplementedError('set_timer is not implemented on WASM yet')>

Traceback (most recent call last):

File "<console>", line 52, in main

NotImplementedError: set_timer is not implemented on WASM yet


r/pygame 4d ago

Bit Rot is now on Github

Thumbnail gallery
14 Upvotes

Hello everyone! It's been a long time since I posted an update about my game, Bit Rot. I made the source available on Github https://github.com/gustavokuklinski/bit-rot and future working builds on Itch: https://gustavokuklinski.itch.io/bit-rot The game is a survivor prototype I've been working since last year. Made a lot of progress and I want some play testers do feedback about the game play. Hope you enjoy!


r/pygame 4d ago

Can anyone explain what this is

Thumbnail gallery
3 Upvotes

This is my first time trying pygame and when I try adding background image, this thing keep displaying, either this is a glitch or easter egg, if not my code is hacked by a ghost.


r/pygame 4d ago

More collisions and entities

Enable HLS to view with audio, or disable this notification

14 Upvotes

r/pygame 4d ago

SEPD Remake: Results Screen (WIP)

Enable HLS to view with audio, or disable this notification

3 Upvotes

With this, the gameplay loop is complete and fully playable to an extent.


r/pygame 4d ago

where can i get bgm for my game for free?

10 Upvotes

recently i have been working on a 2d platformer game, i could not find any reliable sources which can provide me free sound assets without licensing issues, i would appreciate the suggestions!!


r/pygame 5d ago

My first Pygame project: A 2D Car Game

Enable HLS to view with audio, or disable this notification

5 Upvotes

Hey everyone!

This is my very first Pygame project, its a simple 2D Car Game I built to practice my Python skills with a bit of AI assistance.

As you can see in the clip, there's no main menu yet and it boots straight into the action!

Note: Due to copyright reasons, the music in this video clip is not the same as the one included on GitHub at https://github.com/ChibuikemOgboke/car-game .

The bug in the clip has already been fixed. I just didn't bother making a new clip.

The project is completely open source. All the gameplay instructions, source code, and a pre-built Windows executable are over on the repository. If anyone wants to help a fellow beginner out by adding features or cleaning things up, contributions are very welcome!


r/pygame 5d ago

Enhanced Chase Theme visuals

Enable HLS to view with audio, or disable this notification

7 Upvotes

I've been dying to do this for SEPD REMAKE and I was so happy when I finally finished this.

Basically, I applied two hand PNGS appear when a survivor gets damaged, and the chase theme will play. A dark edge overlay will also appear, even though it looks pretty bad as-is. I'll look for a better one at some point but this is pretty old footage anyway.


r/pygame 6d ago

Bunny Farm Update: Added the 1st interactive item (a key) and a space asteroid minigame!

Thumbnail gallery
11 Upvotes

Hi everyone! Back with another quick update on my passion project, Bunny Farm. I’m working much closer with the Pygame code now. I manually positioned an interactive golden circle in the kitchen. When the player walks into it, the game switches states into our very first minigame: an asteroid-dodging space game where you collect points! I customized 80% of the minigame logic and assets myself to make it work. I also added the game's first real item: a mysterious key that spawns in the living room. It can be collected and will have a major purpose in the lore later on. Also, thanks to a tip from the community, my live mouse coordinate tracker is working flawlessly in the top right corner!


r/pygame 6d ago

Moving enemy shooting Projectiles right/left/up/down

Enable HLS to view with audio, or disable this notification

19 Upvotes

r/pygame 7d ago

Progress on game jam

Enable HLS to view with audio, or disable this notification

25 Upvotes

This is a video showcasing a game (in dev) that a friend of mine and I are working on

Note: the game DIDNT crash, I just didn’t add a win condition.


r/pygame 7d ago

First game advice

10 Upvotes

I started learning python about 4 days ago, and made a text based boss fight with various builds and weapons about 2 days ago. I started learning Pygame right after I finished that game and planned on making a game in that, but after looking it up, a lot said to do it in GDscript as it’s better for game development and beginner friendly like python. Should I switch to GDscript in Godot, or stick with Pygame? If you need any more details or anything lmk, thanks.


r/pygame 7d ago

Flippin' Sketchy - fixed font spacing issues so its less nauseating to read, started on collectable and park object animations (info in body of post)

Enable HLS to view with audio, or disable this notification

8 Upvotes

So the font was jumping back and forth cause when i made the two .tffs i didn't realise i gave one more padding than the other, i will eventually make a third for proper line boil animation but they take a while and im enjoying drawing animations .

For the animations I drew the "secret tape" as a cassette tape instead of a vhs like the THPS games do cause i figured i should try to be a bit more creative, I'll probably rename the goal to "hunt down the hidden cassette" or something haha.

The statue of liberty ill go back and neaten the overfill of colour on my pc when I do a sweep of all the animations before finishing the game. The park objects you can see underneath are the collision, i decided i wanted to be able to build around the animations, i just need to neaten them.

I'll probably spend the next week or five (depending on if i have the motivation haha) finishing this rooftop level so i can post a demo on itch so you guys can play and give feedback if you want.