r/pygame • • May 29 '26

My 16-year-old daughter made a Lord of the Rings + Mario platformer for her school project. We turned it into 50 levels in Python.

1 Upvotes

It started as her high-school final project.

She had the idea, and she wrote the first version of the code herself, by hand, with no AI. A little platformer that mixed Super Mario with Lord of the Rings.

I took what she built and kept going. With a lot of help from AI, we grew it into 50 levels across 5 worlds: the Shire, Rivendell, Moria, Helm's Deep, and Mount Doom.

Built in Python with pygame (pygame-ce).

What's in it:

  • The One Ring: hold Shift for speed and a higher jump, but Sauron's gaze drains your timer twice as fast.

  • Orcs you can stomp, Mario style.

  • Lembas for time, Athelas for lives.

  • 50 levels stored as JSON, so they're easy to mod.

It's free and non-commercial (a LOTR fan project).

I'm not here to farm downloads. I'd love feedback from people who actually build pygame games. What feels off? Where would you take it next?

Game: https://ssagi2000gmailcom.itch.io/mount-doom-the-quest

Happy to talk about how it's built.


r/pygame • • Feb 28 '20

Alternatives to pygame.

0 Upvotes

yea pygame is good, easy to learn and has a large community but its goddamn slow, what are some
to alternatives to pygame which are not as slow and has good documentation or large community

thanks


r/pygame • • Apr 19 '26

I made a module which can provide a simple graphing grid along with graph rendering after using it in a script. I am 14 btw

0 Upvotes

Uses class Grapher to store it and use it in a whole new script as a module


r/pygame • • Mar 06 '25

boob physics?

0 Upvotes

ok so this is weird, but i want to apply boob physics on a character. basically when you touch the booobs they bounce/ stretch and move. im completely lost. any tips? or should i move to unity?


r/pygame • • Mar 24 '22

how to install pygame on Mac

Thumbnail
youtube.com
0 Upvotes

r/pygame • • Apr 17 '26

I hate classes

0 Upvotes

Ive never done oop much, just a couple times before in JS, right now I tried it for a game im thinking of and I can confidently say that I hate using clases(in any way) I miss just having a file full of functions so much :,v

Ya'll ever have the same feeling when dealing with classes for the first time, like seriously dealing with them? Am I the only one who misses my functions? :sob:


r/pygame • • Apr 01 '26

Pygame personal assistant

6 Upvotes

Using google speech recognition and then minstrel for LLM replies. Based on previous post “talking avatar”


r/pygame • • Jan 24 '25

How to remove the "ball count" window/screen when I start my pygame project?

Post image
0 Upvotes

r/pygame • • Aug 18 '25

i cant install pygame!!!

Post image
1 Upvotes

ive tried many times using the official command for my mac but the same error keeps popping up! “Failed building wheel for pygame” how can i fix this?


r/pygame • • Mar 05 '25

LLMs?

1 Upvotes

Do any of you use LLMs to help you code with Pygame?
I've been trying to write a GUI with pygame ce and pygame_gui, and all LLMs (Grok3, o3, Claude, Gemini Code Assist, Cursor, and Augment AI) have all been unable to help me with simple tasks:

  1. Make the game window resizable

  2. Make a simple, scrollable text box


r/pygame • • Dec 01 '17

Pygame documentation should be more specific with their API.

0 Upvotes

I've recently completed OOP in python, after a dreadful amount of time, effort, sweat and dedication learning OOP, testing different codes and practicing your own ones - hours of taking notes until I've reached a point where I'm confident enough to say I understand and know how to write in OOP.

After intense learning, I thought I was good enough to do whatever is gonna be thrown at me, or perhaps even exceed the expectations needed to do pygame. So I gave pygame, my first library a try.

And boy I was wrong, I was struggling like hell, it was not because I did not understand the code - it was because the poor explanation given by nearly every tutorial. The explanations were very vague and each tutorial does it differently to others, some contradicting to each other's point. The whole thing is a mess! All the explanation given, including the documentation itself is rather too vague for anyone to learn.

I've spent 4-5 days learning pygame and I'm still on the basic, trying to make my own test and filling in the holes that the tutorial did not explain. To name a few:

  1. When you create a display as follows "pygame.display.set_mode((500,200))", a window appeared - but I was not able to close it, and the moment I try to - it became unresponsive. And tell you what, I've only seen ONE tutorial that has mentioned the above experience - it caused me to think that there was an installation problem and I spent hours researching on the wrong thing only to discover about event queues later

  2. The event queue are poorly explain, the concept was poorly explained and they did not even define what is exactly meant by "event". A proper tutorial would first mention that events queues are a list containing all types of interaction on the display, including hovering the mouse or clicking on it. NOT EVEN A SINGLE TUTORIAL MENTIONED THIS, I HAD TO DEDUCT THIS MYSELF AFTER HOURS OF TESTING. I'm surprised this was not mentioned considering how important it is to know it's a list, this is what you need the user to know to be able to manipulate the events later on.

  3. The second one just stagnates everything, without knowing what the hell an event queue actually is - how would one be able to even understand the methods "event.get()" and "event.poll()". I had to deduce all these missing holes myself starting from nowhere and asking help outside.

The vagueness of these tutorial is what caused me to have progressed so slowly. The documentation did not help at all and it only mentions what the function does and what the argument does, does not tell us what type of data is being returned or where specifically the action is taking place.

My most recent struggle was trying to make sense out of this: "pygame.event.poll()¶ get a single event from the queue poll() -> EventType instance Returns a single event from the queue. If the event queue is empty an event of type pygame.NOEVENT will be returned immediately. The returned event is removed from the queue."

  • Python Documentation

It did not specify WHICH EVENT is being taken from the queue - I first interpreted it to be taking the event at the end of the queue where that line of code is executed - because that's what all the tutorial seems to be pointing at. After hours of aimless testing was I able to discover that the poll() method is actually taking queues at the start of the queue for each iteration.

Please mods, do something about it - I tried to define my struggle as best as I can. I cannot be simply like others who follows the tutorial writing the exact same code, thinking they know much when they actually don't. I'm a kinetic learner and cannot simply aimless follow, if I have a spot of knowledge missing in my head - I would immediately stop following and try to find other sources which doesn't seem to have much effect.

Much Appreciation

  • Blueboy


r/pygame • • Dec 04 '25

HeLp

0 Upvotes

Hello everyone, It's been 2 weeks since i started learning pygame and i made the classic snake game with chat gpt helping me around. Can you guys suggest me things to learn and work on


r/pygame • • May 26 '24

Video system not initialized error

Post image
0 Upvotes

I am still new, and i am following a tutorial. However, when i run this code It exits the video system not initialized even if i have done pygame.init() at the start. Ant suggestion?


r/pygame • • Sep 01 '24

De cuánto es el tamaño de un pixel en pygame?

Thumbnail
gallery
0 Upvotes

tengo un proyecto que hacer en mi universidad de hacer un videojuego usando pygame, y en mi equipo los que se van a encargar de los diseños me estuvieron preguntando eso, cuál es el tamaño que tiene un pixel en pygame (y tilesmap que es pa herramienta que usaré para gran parte del proyecto) para así poder así ellos hacer los diseños con una buena calidad ya que según yo solo se puede de 32x32 pero tengo esa duda, además tambien la duda de si es obligatorio que el personaje controlable mida 1x1 pixel para hacerlo funcionar ya que en la mayoría de tutoriales que eh encontrado de pygame eso miden los personajes jugables.


r/pygame • • Jul 18 '22

need help, please and thank you

Thumbnail
gallery
1 Upvotes

r/pygame • • Nov 16 '25

pyOS demo is out

0 Upvotes

r/pygame • • Sep 27 '18

pygame infects stdout in 1.9.4

5 Upvotes
>>> import pygame
pygame 1.9.4
Hello from the pygame community. https://www.pygame.org/contribute.html
>>>

Anything written which uses pygame, infects stdout with this. Unacceptable behavior for a library.


r/pygame • • Jun 26 '25

Should I care about optimization?

0 Upvotes

I am planing to make drawing app with pygame. I want 60 fps, can I just update the whole screen each frame, or it would be slow?


r/pygame • • Nov 01 '25

How to make this game/program without using game engine

Post image
0 Upvotes

r/pygame • • Feb 15 '24

How do i download?

0 Upvotes

I don't get how to download it. I think I might of and I tried the code it says to se if it works, it made a game. How do I make my own games though?

Also I think I might of got a tiny virus trying to install it.


r/pygame • • Oct 15 '24

jumping

0 Upvotes

Jumping

player_y += y_change

if in_air:

y_change += gravity

if player_y <= -200:

player_y = -200

y_change = 0

in_air = False

mode = 0

when i jump in the air i fall through the floor. why and how?


r/pygame • • Sep 12 '24

animation with os.path join

0 Upvotes

cant i animate a sprite with os.path join? i was trying to implement it in a range loop. kinda tedious to do a simple tree with 38 frames, ya know?


r/pygame • • May 30 '19

What are you guys using to get NPC AI on your games?

0 Upvotes

Are you doing it all from scratch every time or are you using some sort of library? I'm not interested in knowing the techniques you are using but rather if there would be any interest in an AI library for pygame developers.


r/pygame • • Jun 02 '21

pygame not working (Emergency)

0 Upvotes

I am currently trying to complete a project and pygame has stopped working on me. whenever i try to run my project i get this error.

Traceback (most recent call last):

File "D:\Project v2.py", line 8, in <module>

import pygame, sys

ModuleNotFoundError: No module named 'pygame'

it was working before and just stopped, i have tried to install as i had before and it tells me that it is up to date and installed on my system but suddenly it does not work. Please if anyone knows how to help and resolve this issue as it is fairly urgent due to deadlines. i am also fairly new to pygame and my knowledge of python is limited, so eli5 if you have to

Thanks in advance

EDIT: FIXED THANK YOU,

Uninstalling and reinstalling python from my system seem to fix it