O'Reilly logo

Learn Game Programming with Ruby by Mark Sobkowicz

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Packaging for OS X

To package the game, you download a wrapper from the Gosu website. This is a complete application, written with Ruby and Gosu. It doesn’t do much, but has the whole environment needed to run the game. Then you’ll replace the application inside the wrapper with your game. Finally, you’ll make a few changes to a file called Info.plist. Then you can share it with your friends.

Get the Wrapper Application

The authors of Gosu have provided an application wrapper so you can make an OS X app from your Ruby/Gosu game. Using your browser, go to https://github.com/gosu/ruby_app/releases/.

images/packaging/releases.png

From that site, download the latest Ruby.app.zip ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required