pygame

For making games, fart animations & robot controllers. I've had this joypad in my mouth for twenty four years. Someone please fix my eyes. Us/them.

pygamepygame
2024-09-30

Python 3.13 is almost out, and there’s a for that.

github.com/pygame/pygame/relea

pygamepygame
2024-06-25

python -m pip install -U pygame==2.6.0

pygamepygame
2024-06-23

🎮 🛸 - - - - 💥👾

A pre-release only for testing
github.com/pygame/pygame/issues

python -m pip install pygame==2.6.0.dev2

pygamepygame
2024-05-19

A new contribution of compilation instructions for by jgf-osu

pygame.org/wiki/CompilationFed

pygamepygame
2024-05-15

Here’s a screenshot of a little demo made to illustrate an edge case bug in one of the line drawing routines. But it looks pretty cool!

pygamepygame
2024-05-15
pygamepygame
2024-05-15

This PyDPainter demo shows off some of what it can do.

m.youtube.com/watch?v=GGfsSvbr

pygame boosted:
Alexandre B A Villares 🐍villares@ciberlandia.pt
2024-05-15
pygame boosted:
kianryan ☑️🐙🏳️‍🌈kianryan@oldbytes.space
2024-05-15

This is what's been keeping us busy for the past few weeks. @leigh_hackspace has been building 5 portable arcade cabinets for #devoxxuk2024 and took them down to London yesterday.

They're running Pi 4s with 23" screens, the electronics are in separate removable cases, and the cabinet flat packs for travel and storage.

They're running custom PyGame games for this event, but are also very capable of running RetroPie.

#arcade #make #makerspace #hackspace #pygame

People playing arcade cabinets at Devoxx UK.Arcade cabinets at Devoxx UKElectronics case for arcade cabinet
pygame boosted:
2024-05-15

ADVENT: Twisty Passages, All Alike

A pirate stole our treasure! Time to steal it BACK. But first, we have to find our way through one of the most notorious mazes of all time...

chasingdings.com/2024/05/09/ad

#Adventure #TextAdventureGame #ColossalCave #ColossalCaveAdventure #pygame

An adventurer confronting a pirate deep in a cavern canyon. There is treasure!
pygame boosted:
赛博红兔hongtuzi@m.cmx.im
2024-05-15

和我一起做3A游戏《归乡之路》(三) 大家好,我是赛博红兔。欢迎来到《和我一起做3A游戏》第三集!这个系列是对pygame这个Python的游戏库的所有主要功能的介绍。通过这个教程,你应该能掌握制作任何2D游戏的工具,今天我们继续来做《归乡之路》这个打字游戏。那么今天,我们就在这个代码基础上继续做游戏。我们最后要完成的任务是创建背景的花草树木Trees和家House的类,毕竟小猫还需要回家。最后还要加上游戏BGM一首轻松愉快的背景音乐。今天,我们最主要要学习的核心是处理精灵之间的碰撞。
cyberhongtu.com/2024/05/10/%e5 #Pygame, #Python, #Python教学, #游戏制作

pygamepygame
2024-05-15
pygamepygame
2024-05-15

Imperial Ambitions 3K Is a turn based strategy game by WuxiaScrubdoing alpha releases now.

pygame.org/project/5660/8228

Written using and

pygame boosted:
2024-01-01

PyPy has moved its development efforts to GitHub. Read more about it pypy.org/posts/2023/12/pypy-mo

pygamepygame
2023-12-17

Another porting for old games.

has a cache of small numbers so the objects are actually the same. So the identity comparison works for small numbers.

a = 768
b = 768
a is b == False

a = 76
b = 76
a is b == True

You might encounter this when comparing “e.type is KEYDOWN”. This worked with pygame 1.9.6… because the numbers used were lower. pygame 2 uses larger numbers causing the comparison to fail.

Tip: avoid using “is” when “==“ will do (which is almost always).

pygamepygame
2023-12-10

Python the Third porting tip for . When cutting up a number into little pieces, be aware. Your single sword / is not enough. You need double sword //. Because the Second kept your numbers as int with single sword. But its heir leaves numbers floating unless you // them.

TLDR; use double sword // with Python the Third.

pygamepygame
2023-12-03

🏍️ 😼 0.2.4 is out.

How to play?

python3 -m pip install stuntcat -U --user
python3 -m stuntcat

pygame.org/project/4266/8230

pygamepygame
2023-10-29

solarwolf 1.6.0 is out. It's one of the earliest games released. A spin on an old arcade game. If you like these arcade games where you can just play immediately, this one is for you.
pygame.org/project/5658/8224

How to play?

python3 -m pip install solarwolf -U --user
python3 -m solarwolf

Screen shot of the solarwolf game.

Client Info

Server: https://mastodon.social
Version: 2025.04
Repository: https://github.com/cyevgeniy/lmst