Fork me on GitHub

Nightmod

Free Download (Version 1.3.2)

Java 7 or above required. Get it for Windows/Mac or Linux.

What is it?

Nightmod is a tool for making live-moddable games. You can view a game's code while it's running and inject changes by simply hitting "Save". With the powerful Clojure programming language, you'll see your game come to life as you type.

Join the discussion on /r/playclj and read the source code.

Who is it for?

Nightmod is meant for beginner and intermediate programmers. It's harder than point-and-click tools, but easier than professional tools. If you've never coded before, Clojure makes a great first language. If you get stuck, try asking a question on /r/playclj.

How do I get started?

When you run Nightmod, you'll see several game templates: Platformer, Orthogonal, Isometric, Arcade, and Barebones. Each will start you off with a simple game that you can begin modifying. Check out the tutorial to learn the basics.

How does it work?

Nightmod is built on top of play-clj, a Clojure game library based on libGDX. Think of it as a Clojure game IDE. With that focus, it eliminates a lot of complexities compared to a normal IDE.

With that simplicity comes limitations. Nightmod games are not standalone Leiningen projects, and have no access to namespaces. Furthermore, they are sandboxed via clojail so you can safely play games made by others.

Can I collaborate with others?

There is built-in support for git. To take advantage of it, create a git repository in your game's folder (located inside ~/Nightmod) and upload it somewhere. Others can then easily download it by copying the ".git" address and clicking "Download" on Nightmod's home screen.