Clojurians
#clojure-gamedev
<
2018-02-23
>

This page is not created by, affiliated with, or supported by Slack Technologies, Inc.

ivanreese19:02:22

@iwannaseethelight If you want to hit a steady 60hz, you're going to need to be very conscious about how much work you're giving the GC to do. Even when writing in C#, maintaing 60hz in Unity requires staying on top of your garbage.

ivanreese19:02:45

A common pattern for doing 60hz work with Clojure is to use Clojure to manage the broad logic of the game, and then for anything that requires lots of little changes every frame (physics, rendering), you handle that using your host language.

the2bears19:02:47

play-clj, https://github.com/oakes/play-clj, uses that approach. It wraps libgdx so you have (among other things) a wrapper around OpenGL and Box2D.