Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Ruby library/gem for game graphics?

I am creating a simple Blackjack game in Ruby, and I have finished all the game logic stuff (finally!) and currently have it running through the command line. It is all working, so now I need a library or gem that will make the whole graphics side of things easier. Any ideas? Thanks.

like image 572
bennybdbc Avatar asked Nov 09 '09 08:11

bennybdbc


People also ask

Can you use Ruby for games?

Ruby2D and Gosu are both free game development libraries for Ruby! Both are well documented with numerous video tutorials to get your feet wet in game development with Ruby. This means you don't have to start completely from scratch, someone has already built some foundations for you!

What is GOSU Ruby?

Gosu is a 2D game development library for Ruby and C++. It's available for macOS, Windows, Linux, and iOS. Gosu is focused, lightweight and has few dependencies (mostly SDL 2). It provides: a window and a main loop.

What is a library in Ruby?

The Ruby Standard Library is a series of modules & classes that come with Ruby but are not part of the language itself. These classes offer a variety of utilities like: Base64 encoding. Prime number generation. DNS resolution.


1 Answers

As well as Gosu, mentioned elsewhere, there's Rubygame which also appears to be regularly updated.

No opinion on either, suggested as an alternative for comparison.

UPDATE: New(-ish?) kid on the block: Ray. Fairly graphically-oriented, it would appear.

like image 96
Mike Woodhouse Avatar answered Sep 28 '22 11:09

Mike Woodhouse