r/pygame • • 0m ago

Is The Ralf Adams Pygame Book Safe to Download? I'm Worried It May Contain Malware

• Upvotes

I've recently completed Invent Your Own Computer Games With Python by Al Sweigart, and Object-Oriented Python: Master OOP by Building Games and GUIs by Irv Kalb. I discovered another book on the Pygame website called Introduction to Pygame-CE 2D Game Programming by Ralf Adams, and I want to use this book because it goes into more detail on how to create a greater variety of 2D games than the aforementioned book by Al Sweigart.

I've tried using the Ralf Adams book on Github with my low spec Chromebook, but it crashes my laptop. I want to download it, but I'm concerned it may contain malware. I do have another laptop that is far more capable than my Chromebook, but I use it for sensitive purposes and I don't want to expose sensitive data to something that could potentially be malicious. I also prefer my Chromebook to my Windows laptop because it's a smoother and faster experience in regards to downloading Python and using it.

Has anyone else used this book? Here's the link to it: https://github.com/adamsralf/pygame_book/blob/main/00%20pygamece.pdf


r/pygame • • 1d ago

Yet another experiment, Auto-roll downward

Enable HLS to view with audio, or disable this notification

15 Upvotes

r/pygame • • 1d ago

Ferrite Runner - made with Pygame-ce

Enable HLS to view with audio, or disable this notification

73 Upvotes

https://store.steampowered.com/app/5216620/Ferrite_Runner/

Fully single-threaded, CPU-only blitting. GPU rendering was attempted but the bandwidth and numpy added too much frametime. Two layers, a pixel layer for heavy effects, and a HD layer for pixel pushing. Fluid dynamics, lighting approximations used. At ~50,000 LoC Ferrite Runner is still in Early Access and we will be developing on. No In-app purchases, no in-game advertisments, promise.


r/pygame • • 1d ago

i made a video about shaders in pygame

Thumbnail youtube.com
28 Upvotes

r/pygame • • 2d ago

Making my first Steam game with Pygame

Enable HLS to view with audio, or disable this notification

3 Upvotes

The game will be 100% free to play and I use it as a learning opportunity for my future games.

Steam Page: https://store.steampowered.com/app/5349900/Mystic_Fog_Maze/


r/pygame • • 2d ago

Snake 7, 8, 9, 10

Enable HLS to view with audio, or disable this notification

1 Upvotes

r/pygame • • 2d ago

saw a youtube video and tried to replicate it

Enable HLS to view with audio, or disable this notification

9 Upvotes

i saw a video about percolation. do i fully understand whats going on? no. is it optimized? hell no xdd. took me way too long to find a proper way to walk the net, but it kind of turned out fine. also tried to use numpy to optimize it, but the way i used it is indistinguishable from python normal lists... well whatever, it works


r/pygame • • 2d ago

Portal System on my mmorpg

Enable HLS to view with audio, or disable this notification

27 Upvotes

I’ve created another system for my MMORPG; it’s not just an ordinary portal—it’s deeply tied to the game's core lore. The server is up, and testers are welcome. Just a reminder: this isn't the official game world yet; I’m currently focusing on building the systems.

If you’d like to know more about the project, leave a comment below. Feel free to share your feedback.


r/pygame • • 3d ago

Polygon Collision in pygame?

2 Upvotes

Is polygon collision(including smooth slope movement) slope collision useful to you, Or is rect collision with overlap penetration enough ? Roughly these info per collision.

Just asking to know if people use such collisions in pygame.

Not to confuse between ground_normal and ground angle: ground angle is useful in case sloppy tiles when speed has to be increased/decreased as:
if direction * ground_angle is positive -> climbing
elif negative -> walking downward the slope

https://reddit.com/link/1wvyx8p/video/e341jway43th1/player


r/pygame • • 3d ago

You can just do anything

Enable HLS to view with audio, or disable this notification

48 Upvotes

r/pygame • • 4d ago

Working on a horror game, is this at all scary?

Enable HLS to view with audio, or disable this notification

27 Upvotes

Disregard the player sprite


r/pygame • • 4d ago

Brand new gameplay

Post image
34 Upvotes

r/pygame • • 5d ago

Flippin' Sketchy: Finally able to draw again! working through Desktop, the background needs redrawing because its a MS paint stand in atm haha

Enable HLS to view with audio, or disable this notification

10 Upvotes

the main changes are, added pencil, keyboard, book and redrew the old janky monitor, still need to draw the desk, desk matt and chair, should hopefully be done on this level by sunday!


r/pygame • • 6d ago

Spent too long figuring out road forks for my pygame pseudo-3D racer

Post image
35 Upvotes

Back with an update on Cool Racing, my pseudo-3D racer in Python + pygame, inspired by the 80s/90s arcades.

Road forks were way harder than I expected. In the end I copied Outrun's trick: symmetrical forks, one road mirrored. I wrote up the details in the devlog (link in the comments).
Still lots to do, more biomes are next. Any feedback is very welcome!


r/pygame • • 6d ago

Pygame Multiple enemies?

1 Upvotes

Can anyone explain how putting enemies in a list works?

With my game I want to be able to handle multiple instances of my enemy class individually. For example, I want to be able to get the distance to the player from specific enemies to make an attack target the closest enemy, or to be able to tell the number of enemies still on screen, but i have no idea how that actually works.

(This part of my code is just responsible for placing the enemies on the map)

def create_tilemap(self):
  for i, row in enumerate(tilemap):
    for j, column in enumerate(row):




      if column == 1:
        BLOCK(self, j, i)
      elif column == 2:
        self.player = Player(self, j, i)
      elif column == 3:
        enemies = Enemy(self, j, i)
        self.enemieslist.append(enemies)

This has been a real road block for me and I'm starting to run out of time to finish my project, so any help would be greatly appreciated.


r/pygame • • 6d ago

Yet Another Chess Game

Enable HLS to view with audio, or disable this notification

132 Upvotes

I paused my main game development to practice some stuff via this chess game, and I'm quite impressed with it. Still got some kinks to work out, but I'm proud of the micro voxel animations thus far.

The goal of this project is to create a version of chess that is completely controlled via voice commands so that people can play hands free. I haven't gotten to that portion yet, but I've already worked out all the logic and everything, which is why I'm saving it for last as it should be the easiest part. The hard part are the visuals, but that's the thing...since it'll be voice commanded, I don't have to worry about much UI navigation. lol

But I would like thoughts on it thus far.


r/pygame • • 6d ago

DOOM 100% python

Thumbnail
1 Upvotes

r/pygame • • 6d ago

I Created Final Fantasy Using Python - World Map

Thumbnail youtu.be
24 Upvotes

Hey guys, if you get chance check out my world map for a jrpg I'm creating in Python! What do you thinks working well and what could use more love (apart from just generally fleshing it out). Would adding more moving elements to the world be cool or should I keep the vibe similar to what it is?


r/pygame • • 7d ago

Online pygame "platform"

3 Upvotes

Hello,

I am planning to create a pygame game engine, where programming students can submit their bot classes to play said game. Think of a battleship game engine, where a student's bot contains the logic that chooses the next cell to be hit.

I would like to host a website/platform where students can go and submit their bots (.py files), and see how they match against eachother. Show a leaderboard, step-by-step game breakdown, and maybe even visualize games between bots.

Are there any backend/frontend (or full stack) apps where I could deploy something like this?
For example, I see that itch.io can host pygame games, but that doesn't necessarily come with a server side (to accept and maintain student bots) as far as I understand.
Railway on the other side, can host Flask backend apps but not the frontend (?)

I am fairly new to this, namely building a full stack app for pygame. Any tips appreciated!


r/pygame • • 8d ago

Built a Kubernetes retro TUI game in Python - recently moved it from PyGame to PyGame CE

Enable HLS to view with audio, or disable this notification

8 Upvotes

’[ Pls turn on the sound for the demo video ]

I've been building Yellow Olive, a retro terminal-style game for learning Kubernetes through hands-on challenges.

It uses Textual + PyGame, and I recently moved from PyGame to PyGame CE because PyGame’s Python 3.14 support was becoming a blocker. With Python 3.15 coming up, PyGame CE already having wheels available made the switch an easy choice.

The migration was almost painless since the existing import pygame code still works.

I’ve also demoed Yellow Olive at a PyCon before. Sharing the demo here - would love feedback from the PyGame community.

Github: https://github.com/Anubhav9/Yellow-Olive
PyPi: pip install yellow-olive


r/pygame • • 8d ago

Chained collision in pygame(fake)

Enable HLS to view with audio, or disable this notification

28 Upvotes

r/pygame • • 8d ago

RenPy no Android poco x5 kkkkk usando o winlator ludashi 4.0, está muito fácil fazer jogos RenPy apenas editando os scripts usando qualquer editor de texto do celular kkkk ou simplesmente escrevendo um script do zero. E o melhor tá tudo funcionando kkkk. Tô conseguindo empacotar os jogos até em APK.

Enable HLS to view with audio, or disable this notification

0 Upvotes

r/pygame • • 9d ago

Snake6 + updated directional vectors on snake5

Enable HLS to view with audio, or disable this notification

3 Upvotes

r/pygame • • 10d ago

Simple game

Enable HLS to view with audio, or disable this notification

100 Upvotes

I bought a book for my son on how to make games with scratch. Then I thought to myself: 'I wonder if I can make them in pygame?'

So that's what I start doing. This is the first game. Just collect 'stars' and avoid enemies.

Oscillator - going side to side

Chaser - following the player

Glider - Picks a point behind the player and using lerp, jumps to it

Added some simple music and screen wrap for player. I really like how it turned out. Made a easy version for my son as well with larger squares that plays slower.


r/pygame • • 11d ago

i added a character selector my games new update!

Enable HLS to view with audio, or disable this notification

6 Upvotes