July 7th, 2024

Pyxel: A retro game engine for Python

The GitHub page for Pyxel, a retro game engine for Python, includes specifications, installation guidelines, examples, API references, and application development details. It covers resource utilization, input management, graphics, audio, and advanced APIs. Additionally, it offers insights on contributing, issue submission, testing, and pull requests. Users can access licensing info, sponsor recruitment, Q&A, user examples, and the developer's Twitter.

Read original articleLink Icon
Pyxel: A retro game engine for Python

The GitHub page for Pyxel, a retro game engine for Python, offers comprehensive details on specifications, installation guidelines, examples, API references, and application development using Pyxel. It covers resource utilization, input management, graphics, audio, and advanced APIs. The page also provides insights on contributing to the project, issue submission, manual testing, and pull request procedures. Users can find information on licensing, sponsor recruitment, and access Q&A, user examples, and the developer's Twitter account through the page.

Link Icon 12 comments
By @krp - 3 months
A few years back I made some pyxel snippets for students in a class I was teaching, to help get them up to speed on using it: https://github.com/kris-classes/pyxel-snippets

They may be useful to someone here if not too much has changed with pyxel since then.

By @halfcat - 3 months
These retro game engines are so much fun. Takes me back to the days of mode 13h.

Pyxel is (I think) unique among Python game engines in that it can run on the web.

Some others I’ve played with are PyGame and Arcade, mostly geared toward 2D, but you can see some impressive 3D examples on the youtube channel DaFluffyPotato.

Ursina is another that’s more 3D, fairly expressive, and runs fairly well for being Python.

I do feel like I’m going to be forced to cross over into something more powerful to build a real game though. Either Godot or Unity.

By @erremerre - 3 months
I made my first video game with it. A pong game you can play, but it has not been polished. While the menu works, is yet unable to show the selected option. And the IA to play against are either too easy or brutal.

https://blog.rmrubert.eu/miniproyectos/rpong/rpong.html

By @999900000999 - 3 months
Looks very cool.

I absolutely love that it uses a language I actually know instead of some niche thing or a DSL.

I'll have to check it out when I have some spare time.

By @Razengan - 3 months
I really wish there was a modern "computer console" like the Commodore 64 or Sinclair Spectrum of old, where you could boot straight into a programming environment.

Something comparable to the Nintendo SNES or DS's hardware capabilities, which seemed like the perfect sweet spot between artistic freedom and "helpful" limitations which actually improved creativity by lowering complexity.

By @marksbrown - 3 months
An absolutely fantastic engine in my experience. I've used it with students (rather than pygame) due to its bare bones nature. I love how with a simple class structure of update and draw, students can gain a tangible grasp of oop concepts as well as implementing their own ideas. 10/10
By @dinozarw - 3 months
pico-8: Python Edition
By @VagabundoP - 3 months
This is a thing of beauty. Might try and make a little game with my teen kid.
By @extrabajs - 3 months
I feel like there’s way too much color for this to be ‘retro’. It seems you are limited to using 16 colors at once, but those colors are drawn from a 24-bit palette unless I’m missing something.
By @ilikehurdles - 3 months
Finally, a python game engine capable of running at 60fps ;)
By @AinoSpring - 3 months
Someone needs to make a python game engine counter
By @LarsDu88 - 3 months
Python AND Rust so it doesn't run like total shiite