clojure-gamedev 2024-05-10

Hi, Game Jam 2024 is coming so I wrote down a “starter guide” for Clojure Dev. I hope I didn’t forgot about any nice library 🙂. https://flexiana.com/2024/05/lisp-game-jam-2024-a-starter-guide-for-clojure-devs

🤩 5

Why did you put raylib-clj in white?

Also… links to everything would be really great 🙂

@emil0r Ok, I will add links to everything (even what is not mentioned in the article). I put Raylib-clj in white, because according to the description on Github I found it too complicated compared to janet or fennel. And considering the binding mechanism, I have no idea what kind of performance it has, but I guess not that good?

You can write a game in Clojure2d too, here is the example: https://github.com/Clojure2D/clojure2d-examples/tree/master/src/games/the_king

👍 2

@tsulej I didn’t know about this library! Let me add it.

Yay! Thanks!

@tsulej Would you say that some interop (java) knowledge is a must or you can code the game in a plain Clojure?

With Clojure2d i mean..

No. All Java/Java2d stuff is wrapped into thicker layer with some processing-like abstraction.

👍 1

But it's pure JVM based library.

Note that both play-clj and play-cljs were kinda superseded by play-cljc by the same author.

@p-himik Yes, this is why i didnt make them green. But they are different so there is still use case for Play-clj theoretically.

Ah, gotcha. I just woke up so I didn't even see that there's play-cljc in there already, after looking twice. :) Heh, if you decide to make that image an SVG, it will be searchable (there's probably something similar to image maps that can achieve the same with regular images, but I don't know).

👍 1

I will try 😉.

awesome post 🎖️ here’s a good resource to expand on "some js library" node https://www.webgamedev.com/engines-libraries/web-game-engines-libraries

👍 1

@pt.roterski thanks! Eventually we'll turn on comments, it would be useful for similar contributions. And there is always something to add, i just found out about GodotLisp for example.

🙌 1