Fork me on GitHub
#clojure-gamedev
<
2024-05-10
>
Akiz08:05:59

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
emil0r08:05:11

Why did you put raylib-clj in white?

emil0r08:05:06

Also… links to everything would be really great 🙂

Akiz08:05:19

@U0545PBND 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?

genmeblog08:05:27

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
Akiz08:05:16

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

genmeblog08:05:11

Yay! Thanks!

Akiz09:05:36

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

Akiz09:05:56

With Clojure2d i mean..

genmeblog09:05:21

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

👍 1
genmeblog09:05:42

But it's pure JVM based library.

p-himik09:05:12

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

Akiz09:05:28

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

p-himik09:05:27

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
Akiz09:05:04

I will try 😉.

Piotr Roterski23:05:33

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