r/Python • • Jan 20 '19

Asteroids pyxel game! timbledum/asteroids on github

481 Upvotes

30 comments sorted by

View all comments

28

u/timbledum Jan 20 '19 edited Jan 20 '19

Hey all! Game here.

Just wanted to share my game but also wanted to highlight pyxel as a python game library. If you haven't heard of it, it's a really cool, easy to use retro game library.

If you have heard of it but haven't checked it out for a while, have another look. Kitao has been absolutely slaying it, and pyxel now has a really nice editing tool that covers images, tiles, sounds, and music. It also has some stubs and type annotations so everything works smoothly with your IDE.

There are a bunch of user made games listed here.

5

u/Please_Not__Again Jan 20 '19

Just curious on how long it would take the average person to make a simple game like snake or the dinasour running e.t.c. how long did it take you to make this?

3

u/timbledum Jan 20 '19

I didn’t make the dinasour one, but snake was fairly quick and has relatively little code. It took me a Sunday afternoon, then about the same time again for the music / sound effects.

2

u/Please_Not__Again Jan 20 '19

Really cool, have you always wanted to make games? Or is this just a little side project?

2

u/timbledum Jan 20 '19

Nah - not really. I’m an accountant by trade and I only use python from time for automating data transformations or producing documents or reports and the like. Quite different from this stuff.

I just saw this library and thought I’ld have a go at a simple game to test my python chops and it was funner than I expected!

2

u/Please_Not__Again Jan 20 '19

Thanks for the answer and good luck.