Skip to content
A Clojure and ClojureScript game library
Branch: master
Clone or download
Latest commit b10a08f Mar 22, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
dev-resources
docs
src/play_cljc Coerce args Mar 21, 2019
target
template Increment version number Mar 21, 2019
.gitignore Initial import Feb 24, 2019
README.md Link to screencast Mar 22, 2019
UNLICENSE
deps.edn
dev.clj
dev.cljs.edn
figwheel-main.edn
prod.clj
project.clj

README.md

Introduction

A library for making games that run in both OpenGL and WebGL. There's no black box wasm trickery going on here; just good old fashioned cljc files, some macro magic, and absolutely zero social life. Every coffee shop barista near me agrees that this game library is basically the greatest one ever. Other game libraries? Total disasters! Everyone agrees. Believe me.

Getting Started

You can generate a new project with the The Clojure CLI Tool:

clj -Sdeps '{:deps {leiningen {:mvn/version "2.9.0"}}}' -m leiningen.core.main new play-cljc hello-world

This will start you off with a little platformer. It will contain a README with all the commands you need to use. To make music, edna is a good companion library, and the template above is preconfigured with it.

Documentation

Development

  • Install the Clojure CLI tool
  • To develop the web version with figwheel: clj -A:dev dev.clj
  • To develop the native version: clj -A:dev -J-XstartOnFirstThread dev.clj native
  • To install the release version: clj -A:prod prod.clj install

Licensing

All files that originate from this project are dedicated to the public domain. I would love pull requests, and will assume that they are also dedicated to the public domain.

You can’t perform that action at this time.