Project

reight

0.01
The project is in a healthy, maintained state
A Retro Game Engine for Ruby.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
 Dependencies

Runtime

~> 0.3.10, >= 0.3.10
~> 0.3.9, >= 0.3.9
~> 1.1, >= 1.1.13
~> 0.3.9, >= 0.3.9
~> 0.7.14, >= 0.7.14
~> 0.3.9, >= 0.3.9
~> 0.3.9, >= 0.3.9
 Project Readme

Reight - A Retro Game Engine for Ruby

Ask DeepWiki License Build Status Gem Version

Reight is an open-source Ruby library inspired by the powerful Processing API, designed to make creative coding accessible and enjoyable for everyone. With support for both Mac and Windows, this library brings the joy of visual programming to Ruby developers.

Features

  • Processing API Compatibility: Leverage the well-known Processing API to create stunning visuals, animations, and interactive applications using Ruby.
  • Cross-Platform: Works seamlessly on both macOS and Windows environments.
  • Ruby-Powered: Enjoy the elegance and simplicity of Ruby while crafting creative projects.
  • Extensible and Open: Modify and extend the library to fit your unique needs.

Installation

Install the gem via RubyGems:

gem install reight

Or add it to your Gemfile:

gem 'reight'

Then run:

bundle install

Getting Started

Here’s a simple example to get you started:

# Create a window and draw something
draw do
  background 0
  $sprites ||= project.maps.first.map(&:to_sprite)
  sprite $sprites
end

Run the script and watch your window come to life!

$ bundle exec r8 --edit .

You can find example projects in xord/reight-examples.

Documentation

Comprehensive documentation and guides can be found here.

License

This project is licensed under the MIT License.


Happy coding with Ruby and Processing!