My boilerplate

Ok so as I mentioned in a previous post, I’ll be writing my game in clojurescript.

I was originally planning to use the phzr library, but found that I actually prefer to simply use js interop in my clojurescript code. There’s some pretty nifty macros which make this painless.

I decided to go ahead and prepare a nice codebase to be able to start coding without hassle. Given that I don’t have that much experience in clojurescript development (I’ve been using mostly normal clojure for now), it turned out to be a very, very good idea – if you’re interested in clojurescript game development, or if are looking for a very minimal environment to start developing phaser games in clojurescript, then go ahead and find it here.

You’ll see that I’m using the awesome figwheel plugin to auto-reload any change to my code. This considerably speeds up development by doing away with the need to refresh (most of the time!).

And now, off to sleep!