top | item 27599778

(no title)

coltnz | 4 years ago

Core code is here: https://github.com/ertugrulcetin/racing-game-cljs/blob/maste...

Looks pretty amenable to hacking with the boy.

I know we're using an engine, but still shocking how little code it is.

discuss

order

hatch_q|4 years ago

I wonder how maintainable this is even for clojure experts? Simple feature - add 'jump' control. How long would it take you?

dgb23|4 years ago

It looks quite familiar, it generates a plain data structure and reacts on a set of user inputs. I‘d have to look up how this communicates with threejs (which is done via a wrapper library) and what the semantics of that is, but otherwise the code looks clean and simple to me.

Edit: here https://github.com/pmndrs/react-three-fiber

pantulis|4 years ago

Same here, it's very concise, love it.

lrenn|4 years ago

323 lines.