Fixnum.org

Latest update: Please wait, fetching tweets ...

GameR: A ruby game development kit

Written on Saturday 06/01/2007 at 00:00

In the little spare time I have these days, I have been playing around with C to create a decent, object oriented SDL binding for Ruby, and the way it's going it could well become a full featured game development kit for Ruby. My main goal is simplicity, and a close second is efficiency, but only if it doesn't make life more complicated for the developer. Everything is written in C, and it currently depends on SDL and SDL_gfx. I've implemented all primitives supported by SDL_gfx so far. I've also made sure that the user can't do anything wrong unless he really tries hard. Here's a little screenshot: "Click for the entire image"If you click it you'll see my entire screen, which also shows you the source code that created this example. Looks really simple, right? Next on my todo-list are the Image class, event handling and a timer interface. I've also worked on my article about mixing Ruby and C, which is coming along quite nicely. It will cover most of the aspects of Ruby extensions I have come across so far, which is adequate for most purposes. I hope you will like it!

blog comments powered by Disqus