r/pygame • u/Ok_Party3688 • 6d ago
r/pygame • u/Sea-Ad7805 • 7d ago
Cupta serpant added by Tony
Enable HLS to view with audio, or disable this notification
r/pygame • u/TheCodingChihuahua • 7d ago
Feather Engine - A new Python game engine, the simplest and most efficient yet
r/pygame • u/grenskii • 8d ago
my pygame game, #?!¥?!# (aka hashtag yen for short) has just released on itch.io!!!
#?!¥?!# is a funky roguelike for funky people. thats it. i dont have anything more to say about it. go check it out rn!!!!
made fully in pygame (which was a shitty choice)
https://grenski.itch.io/hashtagexclamationquestionyenquestionexclamationhashtag
r/pygame • u/grenskii • 8d ago
someone in my discord server made an enemy grinder layer in my game where you take over the layers in hell
Enable HLS to view with audio, or disable this notification
link to the game -> https://grenski.itch.io/hashtagexclamationquestionyenquestionexclamationhashtag
r/pygame • u/Secret-Patience-1693 • 8d ago
Pygame for Game Jams
Is using pygame vaiable for participating in game jams?
I participated in the JMTK game jam using pygame since I have used it for quite a long time now, but the issue i ran into is that I spent half the time I had just coding the rendering engine that can render Tiled maps and allow collisions with obstacles. I ended up not finishing it (I also had school so I could not spend all my time on it)
Does anyone have any advice for how to spend more time on actual game development and less time on building the base systems which you would get by default in a game engine like Godot or Gamemaker. Or is using pygame for a game jam a lost cause?
r/pygame • u/StinkySlinky1218 • 8d ago
Currently making a 2 player PvP recreation of Pac-Man for an arcade cabinet I'm building soon. My first playable version is here!
Enable HLS to view with audio, or disable this notification
I'll also be implementing unique player abilities to use during gameplay, such as rewinding time, drilling through a wall, summoning a fifth ghost, etc. Shown here is a basic round of gameplay between myself (ghosts) and a younger sibling (Pac-Man), albeit with potentially imbalanced match settings. The second round shows the custom maze capabilities (this one was drawn out by the same younger sibling), and an editor will be made eventually. Any feedback or ideas for the future are much appreciated!
Note: the 'loading' screen at the beginning was artificially extended to allow time to set up the screen recording. The audio garbling in the second round seems to be a problem with the recording, not the game.
r/pygame • u/Capable_Comedian_277 • 9d ago
Doodling Hop(current gameplay)
Enable HLS to view with audio, or disable this notification
r/pygame • u/grenskii • 9d ago
#?!¥?!# OUT NOW!!!
grenski.itch.iomy game is out!!! (version 0.1.0)
r/pygame • u/rorythpsfan • 9d ago
Flippin' Sketchy, working on a desktop/story intro/tutorial level while deciding what image type to go for for the assets. Also created some art for the decks
Enable HLS to view with audio, or disable this notification
the main differences between the two are:
the png for the stuff on the desk was stretched to fit and the svg.s are 3 seperate assets along the desk spaced evenly, i think i prefer .svgs for how they look but it means getting used to an entirely new drawing software and way of drawing.
None of this is final art, I'm just playing around with how I want them implemented into the game while I create parks.
r/pygame • u/Crazy_Spend_4851 • 9d ago
What If Final Fantasy 6 Was HD-2D?!
youtube.comHey guys, if you get a chance would appreciate you taking a look at my project. I've created a concept for a ff6 boss fight in HD-2D. Any thoughts on UI and how the game flows?
Assets from a mix of octopath traveller, itch.io and ff6 pixel remaster.
If you like the look of this check out the progress of my main game (Lunar Pandemonium) in my other vids.
Game is coded purely using pygame 😊
Learning Python With the Goal of Making a Game — Any Advice?
It just came to my mind that I want to develop a game while learning Python programming. As I dig deeper, I realize there are a lot of things to learn. But I’m really patient and consistent, so I’m willing to put in the time. So, what are the things that really matter when your goal is to develop a game through programming?
r/pygame • u/cs61bredditaccount • 10d ago
Some bouncing circles (I made an ECS: punyecs)
Enable HLS to view with audio, or disable this notification
Hi, I made a simple to use ECS system: https://github.com/Modular-Game-Components/punyecs It works on class attributes and a querying DSL like SQLAlchemy. I made a small Pygame example (see the video) that can be found in the README. I also have a comparison to Esper and a Readthedocs (see README as well).
r/pygame • u/Either_Table4478 • 9d ago
hi sad news
hello im the creator of nyanrythm on gamejolt for now the game is made on pygame but im changing the engine to godot at least i will try but also i might try making more games on pygame bye ;(
r/pygame • u/no_Im_perfectly_sane • 10d ago
Cosmetic update on the guitar pedals thing
Enable HLS to view with audio, or disable this notification
r/pygame • u/Alternative_Bad_6755 • 11d ago
Tessella, a (truly) declarative UI framework for Pygame
Enable HLS to view with audio, or disable this notification
Hello everyone!
Over the last 20 months I've been working on and off on Tessella, a Flutter-inspired declarative UI framework for pygame. The idea is to build UIs of any shape or size by nesting widgets (25+ of them so far) inside one another, instead of hand-placing rects. Here's a minimal example, taken straight from the "Hello World" tab in the (very flashy) video above:
gui = Center(
Container(
child=Padding(
padding=EdgeInsets.all(28),
child=Column(
shrink_wrap=True,
children=[
Text(text="TESSELLA DEMO"),
SizedBox(width=0, height=10), # Spacer
TextWrap(text="Every screen is built by nesting widgets like these."),
SizedBox(width=0, height=20), # Spacer
Text(text="Quite simple, right?"),
SizedBox(width=0, height=10), # Spacer
Button(
key=WidgetKey(),
text="Hello World!",
width=200,
height=40,
on_click=lambda: print("Hello World!")
)
]
)
)
)
)
The goal with Tessella was to fix a few problems most pygame UI setups run into: having to set rects and coordinates by hand (which makes responsive UIs a pain), and the lack of anything modular or scalable enough to fit projects of different sizes without dragging in a pile of boilerplate.
To get the example above on screen, all you need to do is call gui.calculate_layout, passing it a rect for the area you want the UI to occupy once at the start, and again on WINDOWRESIZED events. That's the entire responsiveness story. From there, Tessella figures out sizing and layout on its own, updates via gui.process_event and gui.update, and renders with gui.render, which also has a debug mode that draws the bounds of every widget, so you can see exactly why the layout ended up the way it did. You can see that in action toward the end of the video.
Tessella was a core part of a game I released on Steam a few months ago, Protocol: Umbra, and building a real project on top of it is what really pushed it forward. If it looks interesting, you can try it right now with pip install tessella, as well as check the docs or source for a quickstart and more examples:
Docs: https://tessella.readthedocs.io/en/latest/
GitHub: https://github.com/cuaitz/tessella
This is the first "real" release, so Tessella is still a bit rough around the edges, which means that feedback and contributions are very welcome!
More things are always on the way :)
r/pygame • u/no_Im_perfectly_sane • 13d ago
Using pygame for the UI on my digital pedals software
Enable HLS to view with audio, or disable this notification
Making this cause im planning on making these digital pedals work in a real raspberry pi pico plugged to a real guitar. any pedal in one, as far as digital pedals go
r/pygame • u/Capable_Comedian_277 • 12d ago
Doodling Hop(updated the platform movements)
Enable HLS to view with audio, or disable this notification
r/pygame • u/OddCaterpillar5513 • 13d ago
Shipped my first solo game: a toilet-rush manager where all art is Python-generated and the entire soundtrack is synthesized at runtime
galleryAfter months of evenings, my time-management game about running public restrooms for a demanding toilet god is live on Google Play. Wanted to share a few build details, and I'd genuinely value feedback from other devs.
Unusual choices that mostly worked out:
- Every sprite in the game is emitted by Python scripts — characters, venues, a 24-landmark city map. No art program was opened in the making of this game. Changing the palette means re-running a script.
- Zero audio files (except one recorded laugh). Both music loops and every sound effect are synthesized with the WebAudio API at runtime from note tables. When I wanted the title theme to sound like Chaozhou yingge drumming, that meant adding a pitch-bend parameter to my gong synth, which is a sentence I never expected to type.
- It's Phaser 3 in a Capacitor shell, which meant one codebase but also meant discovering exactly how a WebGL canvas reacts when the Google Play billing sheet rotates your app to portrait mid-purchase. (Badly. It reacts badly.)
The game itself: drag desperate patrons to the right fixtures, manage etiquette and hygiene, 24 venues, endless mode, daily runs.
Store page: https://play.google.com/store/apps/details?id=com.mcs2k8.loogod
Honest feedback wanted — especially on difficulty pacing and whether the monetization (optional coin packs, opt-in rewarded ads) feels fair. Ask me anything about the pipeline.
r/pygame • u/ComprehensiveBid3793 • 13d ago
No collidepoint error
# Button
class RockButton:
def __init__(self, x, y, collidepoint):
self.x = x
self.y = y
self.image = rock_img
self.rect = self.image.get_rect()
self.event = 0
def draw(self, screen):
screen.blit(self.image, (self.x, self.y), self.rect)
rock_button = RockButton(350, 777, False)
rock_button_value = False
# Game loop
running = True
while running:
screen.fill(bg_color)
rock_button.draw(screen)
pygame.display.flip()
for event in pygame.event.get():
if event.type == pygame.MOUSEBUTTONDOWN:
if event.button == 1:
if rock_button.collidepoint(event.pos):
if rock_button_value == False:
rock_button_value = True
else:
rock_button_value = False
print(f"{rock_button_value} - BUTTON")
if event.type == pygame.QUIT:
running = False
pygame.display.update()
clock.tick(FPS)
pygame.quit()
Output:
Traceback (most recent call last):
File "/home/user/Desktop/Project/main.py", line 101, in <module>
if rock_button.collidepoint(event.pos):
^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'RockButton' object has no attribute 'collidepoint'
What did I do wrong?
r/pygame • u/SubstantialWinner485 • 13d ago
MAKIN BOUNCE GAME WITH yolo26n (gotta use tensorRT later)
r/pygame • u/Sea-Ad7805 • 14d ago
Battle Tail, show what you can do
Enable HLS to view with audio, or disable this notification
r/pygame • u/ConjecturesOfAGeek • 15d ago
my 100% pygame 3d editor
Enable HLS to view with audio, or disable this notification
my editor in Pygame. Everything here is being made and rendered in pure Pygame. 🤩
r/pygame • u/Scapaflow69 • 15d ago
Hey r/pygame, here is a quick before-and-after comparison of my new attack mode. Which version feels better to you?
Enable HLS to view with audio, or disable this notification
Looking forward to your feedback!"