Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Ruby on Gaming

 
Philip Gutierrez
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is Ruby good in developing games?...
 
Lasse Koskela
author
Sheriff
Posts: 11962
5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Well, as far as I know (not being in the game development industry myself), practically every single 3D action shooter is implemented with a bunch of core libraries written in C, C++ or assembly language and the game logic is written with a scripting language like Python or Lua.

In other words, what needs to be blazing fast is implemented with something that can get really close to the hardware but everything else is implemented in a language that's easy to write, easy to read, and easy to change.

But, again, this is coming from someone who's only observed the game industry from a distance.
 
Prabhakar Chaganti
author
Ranch Hand
Posts: 50
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
There are a few Ruby gaming libs. Check these links:

http://raa.ruby-lang.org/cat.rhtml?category_major=Library;category_minor=Game
http://www.raschke.de/julian/gosu/

If you are not particular that the scripting be in Ruby, Python has some good gaming libs.
 
David Berube
author
Greenhorn
Posts: 26
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Assuming you mean graphic intensive games, RubySDL looks promising:

http://rubyforge.org/projects/rubysdl/

I do know that many, many games use dynamic or functional languages as scripting; I've personally seen Python a few times.

Take it easy,

Dave
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic