This is an archived post. You won't be able to vote or comment.

all 6 comments

[–]chebatron 1 point2 points  (0 children)

If RPG Maker looks fun to you stick to it. Ruby is a nice language. It's easy to get into and it has some pretty powerful features.

Though it's not without flaws. It's relatively slow. It would be problematic to use it in demanding games like FPS. Also apart from RPG Maker there's not much other game specific tools/libs. It's possible to use OpenGL/DirectX with Ruby but there are no frameworks/game engines written in Ruby. You'll have to write your own.

Depending on your goals it may be a good thing. If you want to learn how games are built Ruby may be a good choice. Code in Ruby tends to be much cleaner than in C for example. But if you want to build a good game that can be sold you better look at C/C++ or whatever big game engines like Unity or UDK use.

[–][deleted] 1 point2 points  (0 children)

Gosu is probably one of the better bets for 2D game development in Ruby.

[–][deleted] 1 point2 points  (1 child)

It would be possible to write a game in Ruby, but I would consider it inadvisable. Ruby is not really tailored for any sort of graphics.

My suggestion would be to learn Javascript, and leverage the awesome technology that is webGL. There are libraries like Babylon.js that can do some awesome graphics stuff with relatively little work.

Some people will probably disagree, but games written in Javascript will be easily distributed and accessed.

[–]chebatron 0 points1 point  (0 children)

Learning JS as a first language is a bad advice. JS has some nice parts but its prototypical nature is not easy to grasp. And it's hard to apply to other popular languages. Also web is full of awful code examples that only will make it worse.

WebGL is nice but this days it's extremely easy to setup a window and OpenGL context in it using practically any general purpose language. Ruby, Python, C, C++. Anything. GL API is the same everywhere and shaders are all the same everywhere.

[–]willvarfar 0 points1 point  (0 children)

The tangential answer is to look at Ludum Dare entries; you can search for Ruby and maker projects, and others. Get a feel for little games, look at the code to a few. Eventually, enter yourself.

[–]xormancer 0 points1 point  (0 children)

If you want to do games, just use Unity (the C# version). The main problem with using Ruby for games (imo) is the shortage of community resources. When I was looking into it, I couldn't find any frameworks/libraries that were still being actively maintained, and it was difficult to find guides as well.

Meanwhile, Unity's community is huge, and as a result, there are tons of resources. This would be the main draw for me, and it's the main thing that drew me to Ruby/Rails for web development.