Ruby + Ogre, fun and simple.

A place for users of OGRE to discuss ideas and experiences of utilitising OGRE in their games / demos / applications.
garcia
Gnoblar
Posts: 19
Joined: Sat Apr 02, 2005 5:49 pm
Location: Texas

Ruby + Ogre, fun and simple.

Post by garcia »

Hey everybody. I managed to get ruby and ogre playing nice together, and the overhead from using Ruby is negligible.
Here's a screenshot from a sample app I was playing with. If any of you are familiar with warsong (or langrisser) for the old genesis, it is similiar to that.
Image

Each one of these units has it's logic updated from ruby and it's view in c++. With 200 on the screen I still got 100+ frames a second :).
If you can't tell, it's a sword versus a shield. Yeah I know I'm working on being a better artist :-P
Nvidia geForce 5200 fx
Athlon 64-bit 3000
Gentoo linux

If anyone wants any more info/source I'll post more.

Note: I did not wrap Ogre using Ruby, instead I wrapped small parts of vector, and used facade classes in c++ to load meshes/etc.
User avatar
_mental_
OGRE Retired Team Member
OGRE Retired Team Member
Posts: 419
Joined: Mon Jan 27, 2003 11:51 pm
Location: The Woodlands, TX

Post by _mental_ »

Very cool. I'm sure ruby fans would be interested in using this.
User avatar
Ramirez
Gnoblar
Posts: 19
Joined: Wed Feb 09, 2005 2:19 pm
Location: Germany - Düsseldorf

Post by Ramirez »

cool.. i'm interested using this.
garcia
Gnoblar
Posts: 19
Joined: Sat Apr 02, 2005 5:49 pm
Location: Texas

Post by garcia »

Linux version/source release has been uploaded to the wiki.

http://www.ogre3d.org/wiki/index.php/BattleField