/RGSS3

Ruby implementation of RGSS3.

Primary LanguageRubyMIT LicenseMIT

RGSS3

An attempt to maintain https://github.com/CaptainJet/RM-Gosu.

NOT READY TO USE!

Ruby 2.3 or above is required.

Depend on:

  • rmagick
  • gosu

It is recommended to use a Q8 version of ImageMagick 6.

Installation

gem install rgss3

Usage

require 'rgss3'
RGSS3.run do
  # TODO: Add your code here
  # loop { Graphics.update }
end

Or with more options:

require 'rgss3'
RGSS3.run(width: 544, height: 416, frame_rate: 60, fullscreen: false, title: 'Game', rtp: 'path/to/rtp') do
  # TODO: Add your code here
  # loop { Graphics.update }
end

Development

After checking out the repo, run bin/setup to install dependencies. You can also run bin/console for an interactive prompt that will allow you to experiment.

To install this gem onto your local machine, run bundle exec rake install. To release a new version, update the version number in version.rb, and then run bundle exec rake release, which will create a git tag for the version, push git commits and tags, and push the .gem file to rubygems.org.

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/taroxd/rgss3.

License

The gem is available as open source under the terms of the MIT License.