Show HN: Pyxel – A Python retro game engine with built-in art and sound editors (github.com)

49 points by kitao a day ago

4 comments:

by gregkb 10 hours ago

had such a great time with Pyxel! was great fun to recreate some of the demo scene effects from my childhood. easy to setup and get coding and make some pixels "move" quickly. it has some inherit limitations (eg. how colours and bitmaps are organised) which gives you some satisfying challenges. just enough to satisfy your 8-16bits assembly nostalgia. maybe I should go back add a few more parts to my demo: https://github.com/greg76/megademo

by krapp a day ago

It looks cool. I have two questions.

1) What's your AI policy?

2) How is this different from PyGame?

by jhbadger 4 hours ago

To follow up on kitao's response, with its editor system allowing you to interactively edit sprites and sounds, pyxel is more like a "fantasy console" like PICO-8 and TIC-80 if you are familar with those.

by kitao 19 hours ago

On AI, I have two goals. First, I want Pyxel's simple API to make programming and game creation enjoyable for people writing code themselves, without AI.

On the other hand, I also think its simple, focused design makes it a useful library for AI-assisted development, including vibe coding. I've published Pyxel MCP (https://github.com/kitao/pyxel-mcp) and Pyxel Skill (https://github.com/kitao/pyxel-skill) to support that use.

Compared with Pygame, which is more general-purpose, Pyxel deliberately narrows its scope and specifications. It also includes pixel art, tilemap, sound, and music editors. The focus is on helping beginners start making games without having to make lots of decisions about tools and low-level details. Those retro, old-school constraints also appeal to experienced game developers.

Data from: Hacker News, provided by Hacker News (unofficial) API