This looks awesome! I have a brother-in-law who is 15 (gosh he's getting so old) and who is frighteningly intelligent. He spends most of his free time hooking up relays to a raspberry pi to control an array of Christmas lights. I'll forward this repo to him; I've been trying to get him to start experimenting with Racket. This might just be the ticket.
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.
Is anyone familiar with the stand-alone executable export[1] for Racket?
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.
raco exe will give you an executable that's dynamically linked, so you also need to run raco distribute [0] to get a folder full of the libs you'll need for a "standalone" distribution. (Unless you can depend on Racket being installed).
I've used the two to make Linux and Windows (via Wine) distributions without any issues. It's fairly painless.
Thanks. I am currently stuck at this step.
I did the raco pkg install csfml and apparently it was installed but i get the same error.
Also I tried downloading the csfml bindings but don't know what to do with it as the instructions assume prior knowledge or are too cryptic to me.
I'm giving up for now. Maybe I'll try again maybe not.
I've updated the README to point to a DEPENDENCIES.md file that details installation instructions of 3rd party libraries needed for each of the platforms. It needs some love for Linux, though, if anyone is up to the task.
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
I pasted the 'Hello, World' code after installing dependencies. It worked. Then I pasted the breakout example at https://github.com/massung/r-cade/blob/master/examples/break... and ... nothing. Just seems to hang in the terminal without opening an r-cade window. How can I debug this?
I love racket. Does anyone know of a Racket to Javascript compiler. Would love to be able to create Racket powered web games with this for educational purposes
Looks awesome! I’m currently teaching Racket in my undergraduate PL course and I was just looking for something graphical to show them. I’ll try this in a week or two!
In this case I’m all for it. There are 3 gifs, they are not huge while also clearly shows what the system is capable of. A general stance seems quite dogmatic, it depends on utility...
Take a look at music.rkt (the very end), there's an example of doing just that with the Tetris theme song. It's what I would use to test different sound waves, envelopes, note parsing, etc.
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.
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.