Skip to content

Instantly share code, notes, and snippets.

@ChadyG
Created March 29, 2010 15:52
Show Gist options
  • Save ChadyG/347991 to your computer and use it in GitHub Desktop.
Save ChadyG/347991 to your computer and use it in GitHub Desktop.
Games in Ruby
- Why?
- prototyping
- learning/hobby
- commercial?
- What to look out for
- Distribution
- want a clean way to bundle + start apps for non-technical users
- rubyscript2exe (broken)
- ocra - windows only
- Gosu - OS X bundle
- other platforms?
- iPhone
- iphone-rubycocoa
- shinycocos2d
- several webapp to native app platforms available
- Android
- JRuby
- Windows Phone
- IronRuby?
- Consoles
- Limitations (library support)
- 2D libraries are only stable ones available
- 3D libraries are available, but are incomplete/unstable
- several frameworks available
- nearly any other ruby library can potentially be used
- How do I start?
- Frameworks/core libraries
- Gosu - minimal
- just gem install gosu
- Chingu
- game states, asset loading, reusable game object
- RubyGame - takes from pygame (1.9 compatible)
- requires SDL installation
- GameBox
- game actors, business logic, stages
- Others
- ffi-allegro
- ruby processing
- Ruby/SDL
- RUDL
- 3D - Ogre.rb, Shattered Ruby, Irr
- Ogre.rb currently imbued in C++/Ruby issues
- Additional Libraries
- Chipmunk
- RMagick (TexPlay Gosu variant)
- Polaris (A* pathfinding)
- anything, really
- Join communities!
Abstract
==========
Making games with Ruby is nothing new, O'Reilly had a piece several years ago (2007) on several aspects of
using Ruby to write games. During these years however, the libraries mentioned in that article have grown up
and/or stagnated leaving room for an updated look at building games with Ruby today. This talk will survey
the current state of game development using the Ruby language, taking a look at some of the problems associated
with choosing Ruby for development, what platforms you can develop for, and where to start.
Bio
==========
Chad Godsey is a Master's student at the University of Missouri in Columbia and a cofounder of the startup
independent game studio Blit This!. He has worked with the Center for eResearch developing in Rails for the
past few years helping to promote academic research through digital media. He started making games as a hobby
through gameplay scripting seven years ago and has since expanded into engine development, OpenGL/GLSL rendering,
and gameplay systems. You can find his blog at dev.chadgodsey.com and Twitter as @ChadyG.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment