• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Tim Cooke
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Liutauras Vilda
Sheriffs:
  • Rob Spoor
  • Junilu Lacar
  • paul wheaton
Saloon Keepers:
  • Stephan van Hulst
  • Tim Moores
  • Tim Holloway
  • Carey Brown
  • Scott Selikoff
Bartenders:
  • Piet Souris
  • Jj Roberts
  • fred rosenberger

Ruby on Gaming

 
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Is Ruby good in developing games?...
 
author
Posts: 11962
5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
author
Posts: 50
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
author
Posts: 26
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
pie. tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
reply
    Bookmark Topic Watch Topic
  • New Topic