Once you install these files you can Install ruby 1.9.x and ruby gems packages.Īs there are many distros out there, each with their own installation method. Your system needs the following files before installing gosu: Gosu depends on multiple development libraries to work on Linux. This will install gosu on your system and you’re ready to go. After that just run the following command. After installing ruby, you need to download the rubygems package. Install latest version of ruby on your Mac. If all goes well, You’re ready to program. Once you install rubygems then installing gosu is very easy.
After the installation, you need to install ‘ rubygems‘ which makes it easier for you to download other development files. Go to ruby lang and download Windows installer. Start by installing Ruby on your computer. By installing visual studio, compiling the C++ and Ruby source files becomes easy. In order to build ruby based games on Windows, you need to use Visual Studio C++ Express (or Professional) edition IDE on your computer. I am going to quickly point you towards the installation instructions of three popular operating systems. Depending on the type of the operating system you have, the instructions will vary. There are few other libraries which are useful for the deployment of the game and for other use.īefore we start building games, you need to install Gosu and Ruby on your computer. There are few other extension libraries that you can use with Gosu like chipmunk, chingu, texplay and ashton for extended features. It is not a complete gaming engine but It gets the job done with most of it’s features. Gosu is a 2D game development library for the Ruby and C++. As ruby is very easy to learn, you will pick up the concepts pretty quickly and it won’t take much time to continue with this tutorial. If you are not comfortable with loops, classes and functions then I suggest you to take a few hours to learn ruby programming language. I assume you have some experience with coding in ruby programming language. In this tutorial, I am going to show you how to use Gosu 2D Ruby Game development library.