Ruby for game programming

J

James Gray

Is anyone using Ruby for game programming?

I have used Ruby for game programming multiple times.

To clarify though, I build turn-based strategy games that don't have
very complex needs. I don't do any realtime rendering or 3D graphics.

For my needs, Ruby is excellent. I can speak for the other cases
though.

James Edward Gray II
 
M

Matthew Moss

To clarify though, I build turn-based strategy games that don't have =A0
very complex needs. =A0I don't do any realtime rendering or 3D graphics.

What games, James? I like TBS. =3D)
 
A

Adam Sanderson

Absolutely, if you're interested in 2d game programming, check out
libraries like Gosu
http://code.google.com/p/gosu/
If you want to do 3d programming, take a look at Shattered Ruby, I
think there are also Ogre3D bindings for ruby as well.

Current implementations of Ruby aren't exactly the fastest, but
they're great for getting started.
 
J

James Gray

What games, James? I like TBS. =)

I've made a couple of little projects in the past that some friends of
mine have played around with. Nothing big or public so far.

However, I do have a turn-based strategy game in development now that
is intended for public release. I need probably a few more months
before it will be fully ready to show, but it's moving along.

My game is one of the primary reasons I decided it was time to let
Ruby Quiz move on. I want to give myself the time to finish it up
right.

James Edward Gray II
 
J

Joseph Lenton

t3chn0n3rd said:
Is anyone using Ruby for game programming?

I made this game in Ruby:
http://www.socoder.net/index.php?showcase=5792

I've tried to make others too, and I do love programming in Ruby, but
it's just too slow. I've made some things which will run perfectly fine
in say C#, but terribly slow in Ruby. Personally I wouldn't recommend
using Ruby.

I used OpenGL to the graphics for my game above, but when I've used it I
have really liked Rubygame:
http://sourceforge.net/projects/rubygame/
 
J

Jesús Gabriel y Galán

I've made a couple of little projects in the past that some friends of
mine have played around with. Nothing big or public so far.

However, I do have a turn-based strategy game in development now that
is intended for public release.

One of my plans has always been to build online turn based strategy games,
but I never have the time to do so properly. I mean not developing the games
per se, but just taking board games and making an online site to play them.
Right now I have nearly finished an Alhambra
(http://www.boardgamegeek.com/game/6249)
implementation, but just the engine with a CLI. My plan was to develop some
simple games like that one or Citadels (http://www.boardgamegeek.com/game/478)
and based on that experience, then build a framework to develop online games
easily.

I was also developing a Diplomacy Adjudicator, but that was in Java before
I started learning Ruby, and never finished it either :-(
I need probably a few more months
before it will be fully ready to show, but it's moving along.

I don't have too much time now (two little kids take away any hope of sitting
at the computer for more than 5 minutes), but if you need a hand for some
simple tasks I might be able to help...

Jesus.
 
F

F. Senault

Le 4 février 2008 à 09:45, Jesús Gabriel y Galán a écrit :
One of my plans has always been to build online turn based strategy games,

Same here. I find that using Ruby on Rails for the "interface" and pure
ruby for the backend can be a powerful cocktail : since I have strictly
no artistical talent whatsoever, every time I tried to write a game in
any language (and I've been trying for, mh, 20 years, now), the
interface part just discouraged me. OTOH, with HTML (and a bit of
Ajax), I can manage to get something that looks rather nice.

Now, I just need to find the time and motivation to finish it... :)

Fred
 
J

Jesús Gabriel y Galán

Le 4 f=E9vrier 2008 =E0 09:45, Jes=FAs Gabriel y Gal=E1n a =E9crit : es,

Same here. I find that using Ruby on Rails for the "interface" and pure
ruby for the backend can be a powerful cocktail : since I have strictly
no artistical talent whatsoever, every time I tried to write a game in
any language (and I've been trying for, mh, 20 years, now), the
interface part just discouraged me.

I came to Ruby when somebody showed me Rails, but I immediately
dropped Rails and focused on the language. My approach then was:
let's build some CLI games like Alhambra, no graphics at all, just the
engine of the game, basically to learn Ruby and to model some games.
Then I would follow that with decoupling the interface from the engine,
then building a web interface with Rails or whatever, then step back
and build framework for the whole stuff so that building the next
game is a simple thing.

Still stuck on step 1 of the process. If you are familiar with Alhambra,
I'm missing just the check of not being able to build a tile if you leave
a set of surrounded empty tiles. Then of course, since I have learnt
some more Ruby in the meantime, I would like to rewrite the whole thing fro=
m
scratch !!! this always happens to me :)
OTOH, with HTML (and a bit of
Ajax), I can manage to get something that looks rather nice.

Now, I just need to find the time and motivation to finish it... :)

Motivation high here, time low :-(

Jesus.
 
J

James Gray

J

James Gray

I don't have too much time now (two little kids take away any hope =20
of sitting
at the computer for more than 5 minutes), but if you need a hand for =20=
some
simple tasks I might be able to help...

Thanks for the offer of help.

For now, I'm trying to get all of my ideas in there. When that's =20
ready though, I may be ready to take on help.

James Edward Gray II=
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,580
Members
45,054
Latest member
TrimKetoBoost

Latest Threads

Top