clojure-gamedev

2026-06-17T18:43:44.746639Z

I'm thinking of a hackathon with the spouse where we create some simple games, she’ll be doing python but I’ve been on a clojure kick lately and was wondering what options I have for 2D stuff? Don’t need all the bells and whistles but what are your goto libs? Sorry if it’s a dumb or recurring question, it’s just been my experience that clojure has too much choice and I get paralyzed easily lmao.

2026-06-18T04:39:40.597929Z

What are your requirements?

2026-06-18T05:20:43.467239Z

Hmm I guess I don’t want to run it in a browser so basic graphics + asset management and then maybe state management and stuff like keybinds etc.

plexus 2026-06-18T11:29:40.744839Z

here's a fairly old list with some options, would be great to do an updated version https://gist.github.com/plexus/417ce44177cde159ad040411d5d6997e

plexus 2026-06-18T11:32:26.934679Z

for basic 2D stuff Quil or even Clojure2D is a good starting point, but they're not really game engine, so depending on what you want to do you may find them too low level, although you can get quite far, especially combined with a physics engine

plexus 2026-06-18T11:33:28.783359Z

on the Java side there's libGDX and LWJGL, I think for each there have been more than one attempt at a clojure wrapper

plexus 2026-06-18T11:35:57.548569Z

of course you don't have to stick to the JVM, you got Arcadia which is ClojureCLR+Unity (https://arcadia-unity.github.io/), there are game engines for Dart, Go, etc, all accessible via clojure dialect implementations

plexus 2026-06-18T11:37:43.381409Z

I find with these things a lot of it is a matter of taste, especially when it comes to clojure wrappers for underlying engines, it all depends if the author of the wrapper has similar games in mind as the ones you are planning to make, and if the way they think about organising code and state matches how you think about it... spend half an hour each trying a few out and as soon as something seems to click you run with it.

🙇 1
2026-06-18T11:54:06.344699Z

Thanks a lot! Still relatively new to clojure so it’s hard to evaluate stuff still. I don’t think I need a full engine but if the ergonomics are there without needing to install a lot of stuff to get started I won’t mind it.

2026-06-18T12:09:34.532529Z

I have some experience with Libgdx for the action rpg 2 d I am working on (https://GitHub.com/damn/moon) It gives you lots of power but then you have a 140K LoC dependency

plexus 2026-06-18T12:11:05.783099Z

yeah and IIRC it does take some rather gnarly java interop to use it directly

🫣 1
2026-06-18T12:13:57.933879Z

But it's also quite powerful, like full scenegraph and user interface, TiledMap loading etc I am thinking about trimming it and porting stuff into simple clojure functions