https://github.com/xord/reight
A Retro Game Engine for Ruby
https://github.com/xord/reight
2d game gameengine retro ruby
Last synced: 17 days ago
JSON representation
A Retro Game Engine for Ruby
- Host: GitHub
- URL: https://github.com/xord/reight
- Owner: xord
- License: mit
- Created: 2024-10-30T16:49:19.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2025-04-08T15:12:47.000Z (about 1 year ago)
- Last Synced: 2025-04-08T16:25:43.156Z (about 1 year ago)
- Topics: 2d, game, gameengine, retro, ruby
- Language: Ruby
- Homepage:
- Size: 217 KB
- Stars: 14
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: ChangeLog.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
README
# Reight - A Retro Game Engine for Ruby
[](https://deepwiki.com/xord/reight)



Reight is an open-source Ruby library inspired by the powerful [Processing](https://processing.org/) 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:
```bash
gem install reight
```
Or add it to your Gemfile:
```ruby
gem 'reight'
```
Then run:
```bash
bundle install
```
## Getting Started
Here’s a simple example to get you started:
```ruby
# 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!
```bash
$ bundle exec r8 --edit .
```
You can find example projects in [xord/reight-examples](https://github.com/xord/reight-examples).
## Documentation
Comprehensive documentation and guides can be found [here](https://www.rubydoc.info/gems/reight/).
## License
This project is licensed under the [MIT License](LICENSE).
---
Happy coding with Ruby and Processing!