Pygame Core
Pygame-ce game-loop guidance for building and debugging 2D Python games, with headless testing.
- CCM score
- 57 of 100
- skills.sh installs
- 13.9K
- GitHub stars
- 12.1K
- last updated
- Nov 29, 2026
Own this skill? Claim it
What it does
- Covers the event-update-draw loop, delta-time scaling, Surfaces and Rects, Sprite groups, and headless test runs
- Includes a runnable loop template with
--framesand--shotflags, plus a Player sprite using pixels-per-second movement - Enforces a clamped
dtafter stalls and callsevent.get()each frame so the window stays responsive - Designed for projects importing pygame that hit speed, freezing, or pygame versus pygame-ce install conflicts
Install
$ npx -y skills add gamedev-skills/awesome-gamedev-agent-skills --skill pygame-core -yInstalls into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.
Files
pygame Core
Build and debug a pygame game. New code targets pygame-ce 2.5.8, the maintained
community fork; it installs as pygame-ce and imports as pygame. Legacy pygame 2.6
code mostly runs unchanged; pygame-ce-only APIs such as FRect and get_frect() need the
fork, which getattr(pygame, "IS_CE", False) detects.
When to use
- Starting a pygame game, or fixing its loop, speed, input, drawing, sprite groups, collision, audio or text.
- Any project with
import pygame, whichever package provides it.
When not to use: Python questions unrelated to pygame; 3D; portable design work owned by the related skills below.
Workflow
Details
- Repository
- github.com/gamedev-skills/awesome-gamedev-agent-skills
- Categories
- Game Development, Python
- First seen
- Nov 29, 2026
More from gamedev-skills/awesome-gamedev-agent-skills
All 69- Love2d Core13.8K
- Game Feel22.7K
- Game Ui Ux22.6K
- Level Design18.9K
- Audio Design18.4K
- Create Game Assets18.2K
- Game Ai18.2K
- Camera Systems18.1K
- Save Systems18.1K
- Input Systems17.6K
- Procedural Gen17.4K
- Shader Programming17.2K
- Physics Tuning17.1K
- Godot Ui Control16.9K
- Dialogue Systems16.8K
- Router16.8K
- Godot Animation16.7K
- Godot Gdscript16.5K
- Godot Nodes Scenes16.4K
- Godot Shaders16.4K
- Rpg16.1K
- Roblox Luau16.1K
- Godot Physics16K
- Prototype Fast16K
Similar to Pygame Core
More Game Developmentlove2d-coregamedev-skills/awesome-gamedev-agent-skills13.8K installslove2d core
game-enginegithub/awesome-copilot13.7K installsExpert skill for building web-based game engines and games using HTML5, Canvas, WebGL, and JavaScript. Use when asked to create games, build game engines, imple
unity-ecs-patternswshobson/agents12.8K installsMaster Unity ECS (Entity Component System) with DOTS, Jobs, and Burst for high-performance game development. Use when building data-oriented games, optimizing p
msw-generalmsw-git/msw-ai-coding-plugins-official11.6K installsFoundation skill for MSW (MapleStory Worlds). Read this FIRST before anything else in MSW.
msw-scriptingmsw-git/msw-ai-coding-plugins-official11.6K installsAuthoring MSW scripts (.mlua) plus integrated playtest and debugging. Covers mlua syntax, annotations (@Component/@Logic/@ExecSpace/@Sync), lifecycle, exec spac
msw-defaultplayermsw-git/msw-ai-coding-plugins-official11.6K installsMSW DefaultPlayer (character) management. Use the msw-general ModelBuilder to inspect/patch DefaultPlayer.model and Player.model, add/remove components, configu