What's the leading clojure game development platform would you say?
I'm using quil to prototype out some stuff but is there something more fully featured?
I haven't used the 'cljs' version, but I used a similar library to LibGDX w/Java in the past and have so far quite enjoyed using the first link posted.
My work in progress above uses play-clj.
oh cool. thanks.
quil is also based on processing
I used quil once, to provide an example of generating a 'pixel-ship'. Incidentally, they're from Dave Bollinger's work, which has sadly left the web. He used 'processing' a lot.
do you organize it any different to separate the draw phase from the update state phase?
organize what different from what? 🙂
ambiguous references 😉
play-clj has a very explicit life cycle model
I don't know/remember enough about quil
if those are the two things you refer to.
sorry, yeah I'm very vague when I want specific answers lol.
so I saw that you are updating the state in the main draw function in play-clj
whereas quil has a setup hook that has a function that is the state reducer
while the main is just a consumer
and passes the last state into it. It's more functional rather than updating an atom
It's not really a "main draw" function in play-clj
it's the main game loop
so you really should update all things in there each time, ending (usually) with a render
but it does go by :on-render so I can see why you're asking
yeah, I need to look into it when I get home
essentially that's the function that will be called each game loop
cool thanks for clarification. I was going to look into arcadia but the whole Unity on linux thing I couldn't get working
but this seems like a good start
Yeah, it's working quite well for the old-school 2d arcade things I like to do. I've never tried 3d, not likely to either 🙂
yeah, the barrier to 3d I'd like to at least mix with 2d. have an idea for a mario 3d styled game dungeon roguelike