Gamedev in Lisp. Part 2: Dungeons and Interfaces

awkravchuk | 257 points

This is what all technical tutorials should look like. Well-composed and generally free of grammatical errors, spends just the right amount of time explaining each new topic as it is introduced, comes with full code samples, and includes visual samples of what the code does. Also, lengthy enough to treat the material in depth, while still being sufficiently self-contained that I can follow along -- without having read part 1 and without more than a few months of Common Lisp under my belt from a couple years back (tho I've done a decent amount of Clojure and Emacs Lisp.)

Bravo, awkravchuk/Andrew :^)

(Crossposted from https://mxjn.me/2024/10/17/1)

maxwelljoslyn | 9 hours ago

Few (tech) things pull at the heart string more than great projects/articles about Common Lisp. Man what a treat!

Read the first part when it came back, really excited to read this one. Kudos to the author!

fredrikholm | 13 hours ago

This is a very good read. I’m developing a multiplayer, third-person, spell-based shooter game using Lisp (ClojureScript). It’s a 3D web-based game. I’ll also be writing a blog post about my journey, including the tools and abstractions I created for the project. If you’re interested, here’s a demo link: https://wizardmasters.io

ertucetin | 9 hours ago

Tiled is great. I really wish there was an SVG equivalent though. Inkscape is alright but custom data parameters are really annoying to deal with, and ultimately the tool is built around drawing things to paper.

rtpg | an hour ago
[deleted]
| 2 hours ago

Wow! Your package.sh and in general managing builds for three operating systems is a master class in itself - reading through the GitHub repo was a good learning experience.

I usually build command line Common Lisp apps in SBCL or LispWorks, but I might do the next one in ECL because having builds for both macOS and Linux would be cool, and it would be fun to try something new.

mark_l_watson | 11 hours ago

Nice, just this week I started developing a roguelike in Python, but Lisp might be cool as well.

dunefox | 13 hours ago

This is super solid, but the setup in Part 1 (CL itself, Python, C, lots of steps) I think is indicative of why CL is not super popular, especially with young programmers. Which is a shame. Would be awesome if someone felt like putting in the work to make the language more approachable (installation wise).

xixixao | 8 hours ago

I feel tricked. I came to learn to make a simple game, ended up learning tons about computing.

Love it!

0xEF | 10 hours ago

I was only looking back over Part 1 yesterday! What timing!

sourcepluck | 13 hours ago

I didn't know that bit of history about A* and Lisp! All roads lead to Lisp, it seems.

As mentioned at the end of the article, the next Lisp Game Jam starts next week on the 25th. Join in here: https://itch.io/jam/autumn-lisp-game-jam-2024

davexunit | 11 hours ago

The event loop is brilliant example for how much `loop` is a full blown iteration DSL... love it or hate it ;)

Guthur | 12 hours ago

I like the SICP references.

zelphirkalt | 12 hours ago

This reminds me of "Caves of Clojure": https://stevelosh.com/blog/2012/07/caves-of-clojure-01/

edem | 8 hours ago

[dead]

the_gorilla | 12 hours ago