Quote:Original post by Bearhugger
Ruby sounds like a very heavy scripting language, unlike Lua and Python. Not very suited to be embedded into a game. If you just need to make cutscenes, triggers, or enemy AI, you probably don't need the ability to create classes and singletons.
In RPG Maker XP it was a good idea to embed Ruby because it is basically just an engine and the entire game is built on top of it in Ruby. If your project is similar (ie: just a base engine with drawing and audio functions), I'd say go ahead and use Ruby, otherwise, as much as I like Ruby, I'd consider something else.
Yeah, I did plan to have a basic engine that handles drawing, audio and a bunch of utilities. ( and maybe some things that need C++'s speed, such as physics and such ) That's why I thought Ruby was perfect for it; that and its great support for functional programming.
After researching on how to embed it into my game, it doesn't seem so different from other scripting languages, and I've had some experiance with Lua, so it shouldn't be a problem. So I think I'll try my hand at using SWIG to embed it into my engine.
Thanks for the help guys.