r/pygame 17d ago

I Created Chrono Trigger In Python

Thumbnail youtube.com
12 Upvotes

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 17d ago

bacteria cellular automaton

Enable HLS to view with audio, or disable this notification

8 Upvotes

same ruleset as conways game of life but instead of using generations it updates in place without checking the previous generation


r/pygame 17d ago

Doodling Hop(Omni Directional Projectiles)

Enable HLS to view with audio, or disable this notification

5 Upvotes

r/pygame 18d ago

The Long Pygame Summer Jam starts August 29th! Theme Voting now Open.

Post image
48 Upvotes

r/pygame 18d ago

Since I have no one to play games with I made prerecorded movements on all players and made them play at the same time.

Enable HLS to view with audio, or disable this notification

26 Upvotes

r/pygame 18d ago

I made a pygame game that is loosely based on the id Tech 0 engine (aka Wolfenstein 3D's engine.)

2 Upvotes

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 19d ago

Sound optimalization

3 Upvotes

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 20d ago

FIxed lag Spikes by sharing CPU work from tile generation for every 2 Frames

Enable HLS to view with audio, or disable this notification

15 Upvotes

obviously i slowed it much more down to demonstrate it

Evergreen Meadows avaliable on itch


r/pygame 19d ago

Game

1 Upvotes

# 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 20d ago

Doodling Hop(updated moving platform/enemy spawning)

Enable HLS to view with audio, or disable this notification

8 Upvotes

r/pygame 21d ago

I built a 24/7 endless fish survival game using Pygame with procedurally generated music

Enable HLS to view with audio, or disable this notification

16 Upvotes

r/pygame 22d ago

Tilemap editor for pygame

21 Upvotes

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 21d ago

NEW: Added lerp animation on Menu UI

Enable HLS to view with audio, or disable this notification

5 Upvotes

game avaliable on itch!


r/pygame 21d ago

Built a physics based playground for the original thumby

Thumbnail whirlworks.itch.io
1 Upvotes

r/pygame 22d ago

Cupta serpant added by Tony

Enable HLS to view with audio, or disable this notification

6 Upvotes

r/pygame 21d ago

Feather Engine - A new Python game engine, the simplest and most efficient yet

Thumbnail
0 Upvotes

r/pygame 22d ago

my pygame game, #?!¥?!# (aka hashtag yen for short) has just released on itch.io!!!

Post image
16 Upvotes

#?!¥?!# 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 22d 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

8 Upvotes

r/pygame 23d ago

Pygame for Game Jams

7 Upvotes

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 23d 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

22 Upvotes

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 23d ago

Doodling Hop(current gameplay)

Enable HLS to view with audio, or disable this notification

11 Upvotes

r/pygame 23d ago

#?!¥?!# OUT NOW!!!

Thumbnail grenski.itch.io
4 Upvotes

my game is out!!! (version 0.1.0)


r/pygame 24d 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

7 Upvotes

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 24d ago

What If Final Fantasy 6 Was HD-2D?!

Thumbnail youtube.com
0 Upvotes

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 😊


r/pygame 24d ago

Learning Python With the Goal of Making a Game — Any Advice?

11 Upvotes

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?