JSLove is a port of the LÖVE 2D game engine which uses JavaScript as its primary language instead of Lua. It's still a native binary that runs on the desktop, not an implementation that runs inside of a browser.
Combining LÖVE with JavaScript also sets the stage for some interesting possibilities in the future:
-
A more direct path for deploying LÖVE games on the web. Currently, the LÖVE WebPlayer project must convert Lua game code into JavaScript.
-
Support for other languages that were actually intended to target JavaScript, from Dart to CoffeeScript.
This project is a very early proof-of-concept; although it can run a couple of very simple examples, many parts of the LÖVE API have not been exposed yet. OS X is the only platform supported at this time.
JSLove has the same external dependencies as LÖVE. To build from source, you must install:
The included Xcode project assumes that these libraries have been installed via the Homebrew package manager (i.e., in /usr/local
).