A proof of concept game using the libGDX Java game library with JRuby.
Requirements
You need the following (please refer to their specific installation guidelines)
- Java SE Runtime Environment 1.6 or 1.7
- jruby 1.7.11 (I recommend to install it with rbenv or RVM)
- bundler gem
Then run:
bundle install
jruby main.rb
This is broken at the moment
You will need JRuby as a JAR before you can start building. You can get it with:
rawr install
Now you can build an executable JAR
rake rawr:jar
Or a Mac OSX app
rake rawr:bundle:app
Or a Windows executable
rake rawr:bundle:exe
Builds can be found in the build
directory.
In order to comply with the external materials used (see credits section below), this project is licensed under GNU GPL 3.0.
Kudos to the following, without which this project would not exist.
-
For providing the power of Java through the elegance of Ruby.
-
An awesome open-source Java gaming library.
-
Liberated Pixel Cup (CC BY-SA 3.0 / GNU GPL 3.0)
Cool sprite assets made available to everyone.
Also this great repository that compiles them up neatly: Universal LPC spritesheet.
-
Peter Cooper and his "Let’s Build a Simple Video Game with JRuby: A Tutorial" article that sparked the initial flame.