1. Computing

Smooth Motion: Tweening in Gosu with Ruby

By

2 of 4

Install the Tween Gem
Smooth Motion: Tweening in Gosu with Ruby

To start using tweens, install the tween gem. It has no dependencies (though the included demo needs Gosu, installation instructions here), and is all native Ruby code. This article uses the 0.1 version of the tween gem, so be sure to install the correct version.


$ gem install tween --version 0.1

©2014 About.com. All rights reserved.