BuildTube Preview About
Back to the feed

Pyxel: Make retro pixel-art games in Python, with art and music editors

Added · Updated

Pyxel is a game engine for making small retro-style games in Python, deliberately limited like an old console: 16 colours and 4 sound channels.

It comes with its own editors for pixel art, tile maps, sound effects and music, so the art, audio and code of a game all come from one tool. The engine is written in Rust underneath, and games run on Windows, macOS, Linux and in a web browser. This is an established project, not a new one: one developer has built it since 2018, and it has over 18,000 GitHub stars.

What it does

A Pyxel game is a short Python script: set the window size with init, then run with an update function and a draw function. The pyxel command runs scripts, reloads them as you edit, opens the built-in resource editor for images, tile maps, sounds and music, and packages a finished game as a single file, a desktop program or a web page. Games work with keyboard, mouse and gamepad. Without installing anything, Pyxel Code Maker lets you write and run games in the browser, and a shared link can launch a Pyxel game hosted on GitHub straight in a browser. There is also a VS Code extension, a Pyxel MML Studio for writing chiptunes, and an MCP connector and skill for AI coding assistants. The creator posted it to Show HN on 1 October 2026; it is MIT licensed.

You could use it to…

  • Draw sprites and write music for a small game in one tool
  • Write a short Python game that runs in a web browser
  • Package a finished game as a single file, a desktop program or a web page

Getting started

Browser demo · source checked 2026-10-21 · Source page (opens in a new tab)

  1. Open the Jump game example from the source’s showcase pictures.
  2. Play it in the browser page.
  3. Then open the image editor or sound editor showcase to see the built-in art and music tools.
Try with
Start with the Jump game, then try the Platformer or Megaball examples linked from the project's documentation.
What to expect
A small retro game running in the browser page; the source shows more examples and editors in the same showcase.
Access note
Opens in a browser. The source does not state sign-in needs or how to install Pyxel to build your own game.
Play the Pyxel Jump game (opens in a new tab)

Can I use this?

Runs in your browser, or with Python on your computer

You'll need A web browser, or Python 3.11+ on Windows, Mac or Linux

Worth knowing The 16-colour, 4-channel limits are the point, so it suits small 2D games rather than modern 3D ones. It is maintained by one person. The creator does not recommend its Rust internals as a way to learn Rust.

Why it's here

Not trending this week

Last on the BuildTube front page on 8 October 2026. It stays on BuildTube so you can still find it.

  • 18,572 people have starred it on GitHub.
  • Shown on Hacker News (Show HN) on 1 October, with 105 points.

Numbers checked on 8 November 2026; not refreshed since.

Behind it

View source

BuildTube has not run or verified this project. Everything above is written from what the creator published.

Made this?

Quick questions

What is Pyxel?
A Pyxel game is a short Python script: set the window size with init, then run with an update function and a draw function.
What can I use Pyxel for?
Draw sprites and write music for a small game in one tool; Write a short Python game that runs in a web browser; Package a finished game as a single file, a desktop program or a web page
Can I run Pyxel on my computer?
No install needed: it runs in your web browser.
What do I need to use Pyxel?
A web browser, or Python 3.11+ on Windows, Mac or Linux
What license does Pyxel use?
The source lists the MIT license (MIT), an OSI-approved open-source license. Read the license file on the source page for the full terms.

More from this week

Explore by topic

Post this

A ready-made picture of this card for X, LinkedIn or a group chat. Link to this page alongside it.

Share image for PyxelDownload share image

For makers

Made this? Show it’s on BuildTube — add the badge to your README or embed the card on your site.

Featured on BuildTube

README badge (Markdown)

[![Featured on BuildTube](https://buildtube.app/badge/gh-kitao-pyxel.svg)](https://buildtube.app/p/gh-kitao-pyxel/)

Embed card (HTML)

<iframe src="https://buildtube.app/embed/gh-kitao-pyxel/" width="560" height="240" style="border:0;max-width:100%" loading="lazy" title="Pyxel on BuildTube"></iframe>

Back to the feed