Agent skill · Media & Video

pyxel-patterns

Pyxel retro game engine patterns - pixel art, game loops, sprite/tilemap, MML audio, resource management, and web deployment

vibeevalgithub.com/vibeevalGitHub ↗
claude-codeMIT
Install
npx skills add vibeeval/vibecosystem --skill pyxel-patterns --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 1
SKILL.md size: 7 KB
Bundled scripts: none
Path: skills/pyxel-patterns/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 521
Language: C#

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# Pyxel Patterns Patterns and best practices for building retro-style games with [Pyxel](https://github.com/kitao/pyxel) — a Python game engine with deliberate retro constraints. ## When to Use - Building retro/pixel art games with Python - Prototyping game mechanics quickly - Creating browser-playable games (WASM export) - Teaching game development fundamentals ## Retro Constraints Pyxel enforces retro limitations by design: | Constraint | Limit | |-----------|-------| | Colors | 16-color palette (customizable) | | Screen | Default 256x256 (configurable) | | Image banks | 3 banks (0-2), 256x256 each | | Tilemaps | 8 maps, 256x256 tiles each | | Sound channels | 4 simultaneous | | Sound/Music | 64 user-definable sounds, 8 musics | | Input | Keyboard + Mouse + Gamepad (up to 2) | These constraints are features, not bugs. They force creative solutions and authentic retro aesthetics. ## Game Loop Pattern ```python import pyxel class App: def __init__(self): pyxel.init(160, 120, title="My Game") # Load resources pyxel.load("assets.pyxres") # Initialize game state self.player_x = 72 self.player_y = 56 self.score = 0 # Start game loop pyxel.run(self.update, self.draw) def update(self): "

What's inside
Steps it walks through
  1. When to Use
  2. Retro Constraints
  3. Game Loop Pattern
  4. Input Handling
  5. Drawing API
  6. Sprite Animation
  7. Collision Detection
  8. Sound & Music (MML)
  9. Resource Management
  10. Scene Management
  11. Packaging & Distribution
  12. Performance Tips
  13. Common Game Patterns
  14. Particle System
Commands it runs
Package as standalone executable
pyxel package APP_DIR STARTUP_SCRIPT
Convert to executable
pyxel app2exe APP.pyxapp
Convert to HTML (browser-playable via WASM)
pyxel app2html APP.pyxapp
The HTML output uses Pyodide/Emscripten WASM
Works in modern browsers without Python installed
More from vibecosystem
All skills →
About this skill
What does the pyxel-patterns skill do?

Pyxel retro game engine patterns - pixel art, game loops, sprite/tilemap, MML audio, resource management, and web deployment

How do I install it?

Run `npx skills add vibeeval/vibecosystem --skill pyxel-patterns --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.

Where does this skill come from?

From vibeeval/vibecosystem, a repository with 521 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.

Is a popular skill a good skill?

Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.

Keep going