[HN Gopher] Show HN: R-cade, a simple arcade game engine for Racket ___________________________________________________________________ Show HN: R-cade, a simple arcade game engine for Racket Author : massung Score : 87 points Date : 2020-01-25 19:58 UTC (3 hours ago) (HTM) web link (github.com) (TXT) w3m dump (github.com) | ddrdrck_ wrote: | This seems really cool. | | 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 | mushufasa wrote: | at first i thought it would be a game engine built with R, which | would truly be a crazy hack! | ashton314 wrote: | 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. | azhenley wrote: | 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! | ArtWomb wrote: | Cool! Is there a way to dump the generated sound to wav / mp3 | file? And thanks for building ;) | massung wrote: | 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. | rcarmo wrote: | Very, very nice. I have been pondering getting into pico-8, and | this might be a way to do something similar _and_ have fun with | Racket. | danbolt wrote: | 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. | | [1] https://docs.racket-lang.org/raco/exe.html | slaymaker1907 wrote: | I think it is a lot easier now, particularly with the license | change to MIT. | gus_massa wrote: | You can create an executable from the menu in DrRacket | https://docs.racket-lang.org/drracket/create-exe.html I think | that not all the options are available, but it is easier. ___________________________________________________________________ (page generated 2020-01-25 23:00 UTC)