Show HN: R-cade, a simple arcade game engine for Racket
github.com
github.com
I think Racket is a wonderful language for education, and this library will certainly help a lot more kids find interest in learning Racket. When I first started programming, I wrote a lot of games with ASCII art in Perl. They were not fast, but I learned a bunch! If I had had this, I would have picked up a LISP much sooner.
I did a Ludum Dare and browsed a submission where a child had spent a lot of time and effort making a project in PyGame, but found it hard to distribute because he didn’t have the technical know how of converting it to something like a windows `.exe` file at the time. If this helps youngsters learn and explore programming the way the Commodore 64 had a nice BASIC->6502 ramp alongside distribution via floppy/cassette, I’d be super excited about this.
I've used the two to make Linux and Windows (via Wine) distributions without any issues. It's fairly painless.
http://ludumdare.com/compo/ludum-dare-34/?action=preview&uid...
First, is this supposed to run from DrRacket? I installed the r-cade succesfully but when I run this, I get error:
ffi-lib: couldn't open "csfml-audio-2.dll" (The specified module could not be found.; errid=126)
The "no external asset" goal reminds me of another very cool game engine, still actively maintained, but unfortunately totally under the radar : amulet. There is even an online editor, you can check "defenders of the weeping quasar" it is quite impressive and totally retro : http://www.amulet.xyz/editor.html
Seems like a fun project to dig into. Busy these days, but might have to give it a go.
Edit: I was thinking of pulling the RIFF/WAV code out into its own package. Let me know if this is something you'd find useful.