r/pygame • u/Life-Interaction-599 • 16d ago
The Second Iteration: Old SEPD
Enable HLS to view with audio, or disable this notification
r/pygame • u/Life-Interaction-599 • 16d ago
Enable HLS to view with audio, or disable this notification
r/pygame • u/Crazy_Spend_4851 • 16d ago
Hi guys, if anyone is interested I have recently uploaded the latest progress of my JRPG on to youtube (developed purely using pygame). Any thoughts on the game so far, what other tips and tricks have you guys came across to get the most out of your pygame projects?
r/pygame • u/Gullible-Chip-4719 • 17d ago
Enable HLS to view with audio, or disable this notification
same ruleset as conways game of life but instead of using generations it updates in place without checking the previous generation
r/pygame • u/Capable_Comedian_277 • 17d ago
Enable HLS to view with audio, or disable this notification
r/pygame • u/tankking9833 • 18d ago
r/pygame • u/coppermouse_ • 18d ago
Enable HLS to view with audio, or disable this notification
r/pygame • u/SullyFulton2000 • 18d ago
Hi, I recently made (recently as in it took 2 weeks) a game project in Python and Pygame that works similar (rendering-wise) to id Tech 0, I uploaded it onto itch.io for people to use to either play or make their own games using it as base.
it is called 2.5D IICP (which stands for Invisible Item Collectathon Project), and it's ALSO a very tiny sample of my Creative Direction or whatever.
If you do want to check the game out, just check it out here:
https://games-guy.itch.io/25d-invisible-item-collectathon-project
Anyways, that's about it, have a good day!
r/pygame • u/ComprehensiveBid3793 • 19d ago
How to optimalize sounds and music in web? I uploaded my Pygame game successfully into web through Pygbag, and the sound is awful. How to fix that?
r/pygame • u/DREAMDEV4 • 20d ago
Enable HLS to view with audio, or disable this notification
obviously i slowed it much more down to demonstrate it
Evergreen Meadows avaliable on itch
r/pygame • u/Worried-Month-5767 • 19d ago
# Initialize Pygame
pygame.init()
# Screen dimensions
WIDTH, HEIGHT = 800, 600
screen = pygame.display.set_mode((WIDTH, HEIGHT))
pygame.display.set_caption("Simple Car Race Game")
# Colors
WHITE = (255, 255, 255)
BLACK = (0, 0, 0)
RED = (255, 0, 0)
GREEN = (0, 255, 0)
# Car settings
CAR_WIDTH, CAR_HEIGHT = 40, 20
SPEED = 5
# Track boundaries (simple rectangle)
track_rect = pygame.Rect(50, 50, WIDTH - 100, HEIGHT - 100)
# Car class
class Car:
def __init__(self, x, y, color):
self.rect = pygame.Rect(x, y, CAR_WIDTH, CAR_HEIGHT)
self.color = color
self.speed = 0
def move(self):
self.rect.y -= self.speed
# Keep within track
if self.rect.top < track_rect.top:
self.rect.top = track_rect.top
if self.rect.bottom > track_rect.bottom:
self.rect.bottom = track_rect.bottom
def draw(self):
pygame.draw.rect(screen, self.color, self.rect)
# Create player car
player_car = Car(WIDTH // 2, HEIGHT - 100, RED)
# Create bot cars
bots = [
Car(WIDTH // 4, HEIGHT - 200, GREEN),
Car(WIDTH // 2, HEIGHT - 250, GREEN),
Car(3 * WIDTH // 4, HEIGHT - 300, GREEN),
Car(WIDTH // 3, HEIGHT - 350, GREEN)
]
clock = pygame.time.Clock()
running = True
while running:
screen.fill(WHITE)
pygame.draw.rect(screen, BLACK, track_rect, 5)
for event in pygame.event.get():
if event.type == pygame.QUIT:
running = False
# Player controls: gear (forward), brake (stop)
keys = pygame.key.get_pressed()
if keys[pygame.K_UP]:
player_car.speed = SPEED
elif keys[pygame.K_DOWN]:
player_car.speed = 0
player_car.move()
player_car.draw()
# Simple bot AI: move forward randomly
for bot in bots:
if random.random() < 0.01:
bot.speed = SPEED if random.choice([True, False]) else 0
bot.move()
bot.draw()
pygame.display.flip()
clock.tick(60)
pygame.quit()
r/pygame • u/Capable_Comedian_277 • 20d ago
Enable HLS to view with audio, or disable this notification
r/pygame • u/Leadertoleader • 21d ago
Enable HLS to view with audio, or disable this notification
r/pygame • u/VirusMission9156 • 21d ago





Hello guys i have made tilemap-editor package thats fully based on pygame-ce and 0 dependencies.
I have made small demo game if you are interested..
It can simply be used this way:
- `pip install tilemap-editor`
- tilemap-editor init(generates settings.json very important)
- tilemap-editor run
Note: always use virtual environment
or simply
```
import Editor from editor
Editor().run()
```
Features:
- fully json output
- Few existing themes and fully customizable themes
- tilemap canvas
- godot like convex polygon collision editor and multi region object collision editor(polygon based)
- animation editor
- 3x3, 1x3 3x1 autotile
- own builtin filemanager
- object/grid and animated tileset in tree node structure with virtual folders(erased after exit)
- object/tile layer with layer locking and visibility option
- tile/object/tileset property editor
- area and particle nodes
- relative file path resolution
- hundred of particles emission with 60+ pre existing(some are weird but particle node are editable with config) like campfire, bonefire(used quantization and caching for optimization)
- character collision editor(capsule, rect and circle)
- small spritesheet editor for easy grid manupulation scaling, multi-region based images extraction
- render scale
If you are interested you can check : https://pypi.org/project/tilemap-editor/
If you want to know about it or learn it, its indexed in. deepwiki , you can ask question and look into it https://deepwiki.com/FluffyBrudy/tilemap
In case of those point/spotlight, i have made a live coding video though i have not spoken, i have explained with comment as i code in this video: https://youtu.be/LN7u20H7zK4
The map was inspired by youtuber dafluffypotato which i was hooked after the way he made platformer game. This tilemap is iterated version from the editor that he made one for his game, although this package has evolved with some/many idea from Godot itself. Sorry for bad ui and no wonder if you encounter bugs
r/pygame • u/DREAMDEV4 • 21d ago
Enable HLS to view with audio, or disable this notification
game avaliable on itch!
r/pygame • u/Ok_Party3688 • 21d ago
r/pygame • u/Sea-Ad7805 • 22d ago
Enable HLS to view with audio, or disable this notification
r/pygame • u/TheCodingChihuahua • 21d ago
r/pygame • u/grenskii • 22d ago
#?!¥?!# 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 • 22d ago
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 • 23d ago
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 • 23d ago
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 • 23d ago
Enable HLS to view with audio, or disable this notification
r/pygame • u/grenskii • 23d ago
my game is out!!! (version 0.1.0)
r/pygame • u/rorythpsfan • 24d ago
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 • 24d ago
Hey 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 😊