• 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • Paul Clapham
  • Devaka Cooray
  • Bear Bibeault
Sheriffs:
  • Junilu Lacar
  • Knute Snortum
  • Liutauras Vilda
Saloon Keepers:
  • Ron McLeod
  • Stephan van Hulst
  • Tim Moores
  • Tim Holloway
  • Piet Souris
Bartenders:
  • salvin francis
  • Carey Brown
  • Frits Walraven

Ruby on Gaming

 
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is Ruby good in developing games?...
 
author
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.
 
author
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.
 
author
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
 
Because those who mind don't matter and those who matter don't mind - Seuss. Tiny ad:
Thread Boost feature
https://coderanch.com/t/674455/Thread-Boost-feature
    Bookmark Topic Watch Topic
  • New Topic