Skip to content
← Back to Community
Pyxel, an 8bit retro gaming Python framework, on Repl.it
Profile icon
h
has Hacker Plan
amasad

Just in time for the Game Jam I'm excited to announce the addition of Pyxel -- an 8bit retro gaming framework for Python. Pyxel has everything you need to build an 8bit game, from the image editor to a music editor (Repl.it doesn't support sound yet).

It's also easy-to-use and fun to play around with. The following is a speed-up play-through of one of their examples running on Repl.it. I used their editor to change the player's hair color.

This file cannot be displayed: https://storage.googleapis.com/replit/images/1552708568394_6b4d71f281c0cf6735552ce6c6ddd468.gi

Here is the repl: https://repl.it/@amasad/jumper

Start building your game by creating a new repl and selecting "Pyxel". Or click here.

Let me know if you have any feedback.

Voters
Profile icon
Grei
Profile icon
Elijahcrider
Profile icon
DanyChavez
Profile icon
Ali-RezaReza9
Profile icon
GuadalupeBarrie
Profile icon
AmarF3
Profile icon
MosesKena
Profile icon
187ferdi
Profile icon
datboicatguy
Profile icon
IhitPuri1
Comments
hotnewtop
Profile icon
BoiKane

are there tutorials??

Profile icon
bendavis

Are there any plans to integrate sound? The ability to code games in Python in a web browser is huge for the education world. Most schools have chromebooks, and Javascript isn't quite so easy to teach to young students as Python.

Having the ability to play sound would make learning CS much more engaging for students. Are there any thoughts on how this might be implemented?

Profile icon
derpdizzzzy
Profile icon
amasad

@derpdizzzzy It looks like your file has been corrupted or something. Try opening an issue on the Pyxel GitHub https://github.com/kitao/pyxel/

Profile icon
derpdizzzzy

@amasad how did you fix the error not a gzipped file(b'/xlf/xef')

Profile icon
CODINGforLIFE

how did you do that could you teach me

Profile icon
Digin

help, when i try to run the editor it just doesn't output anything

Profile icon
derpdizzzzy

@amasad how do the fix the os error: not a gzipped file(b'/xlf/xef').i been waiting for 4 days for someone to teach me how to fix this error.

Profile icon
MaxIbel

@derpdizzzzy

looks like they replaced the zip file with the actual files in it with a gzip pickled string.

However, can't find the source for that as this should be done in a file called app.py line 321, which does not exist on github.