ruby_rpg is an OpenGL based game engine written in Ruby.
It is designed to be easy to use and easy to extend.
It is still in the early stages of development, but it is already capable of rendering both 2D and 3D graphics.
You can find full instructions on th wiki.
You can find docs and guides on the wiki. For a basic example to get you up off the ground take a look at hello_ruby_rpg. For some more complex examples you can take a look in the samples folder of this repo.
If you're working on the engine itself, you'll need to compile the native extensions:
bundle install
bundle exec rake compileThen you can run the samples:
bundle exec ruby samples/cubes/cubes.rbbundle exec rspec # run all tests
bundle exec rspec --tag '~system' # skip system tests (faster)
bundle exec rspec spec/path/to_spec.rb # run specific testSystem tests launch the engine and render frames, so they're slower. Use --tag ~system for quicker feedback during development.
- Fork it
- Create your feature branch (
git checkout -b my-new-feature) - Commit your changes (
git commit -am 'Add some feature') - Push to the branch (
git push origin my-new-feature) - Create new Pull Request
- I'll get to reviewing it as soon as I can!