Rubinius support for rbSFML

After I finished the chapter deadline for the publisher I had some free time in the weekend. I spent some of it in making rbSFML compatible with the high performing Ruby implementation Rubinius. Sweet! Sure it required me to do a pull request to the Rubinius repository and do some fixes for them but it is now fully supported.

So if you want to do parallel tasks with rbSFML that should now be fully supported as well since Rubinius doesn’t have a GIL so using native threads there is actually worth it.

I’ve encountered a minor problem with it on Arch Linux. Somehow Rubinius gets it to crash inside Nvidia’s library libGL when the opengl context is being destroyed and I don’t understand why. But well I’ll track it down and fix it as soon as I get time. But it is still usable since the crash happens only when you are exiting the application and as it is destroying the last window created.


Me, holding a seminar at Skövde University College? Madness I say!

No I actually were lecturing at Skövde University College for their game development program. It’s kind of crazy, the students were mostly in my age range and I stood in front of them lecturing about games. Afterwards I had more of a casual discussion with the students and talked about the book I am writing as lead author for Packt Publishing. I wanted to know what they had problems with and what I could help them with. The book is called SFML Game Development but I covered a lot more topics than just SFML with the students. I also went around in the groups as they were working on their projects and helped them and gave them hints and tips on how to solve the specific problems they had.

I found it extremely enriching and fun to do. Although it was a bit cold for a southern Swede like me to venture that far north.


Making games in Ruby so far

Well I’ve been playing around in rbSFML now for a while and it’s been very satisfying to see how fast and easily your game evolves in Ruby. I recommend this language and I will try to give some tutorials for it.

Of course there are still some problems, like that every math operation is a heavy method call. Ruby truly embed the proverb for optimization:

The fastest code is the one never run.



rbSFML Logo

Well thought it would be nice with a logo that could be used in your projects. I had one made for me some long time ago but never put it up on a good place to be available. So here it is


Remember I am very much interested in anything you guys create so let me know. I already know of an old SFML user who will compete in Ludum Dare with the bindings.

Written by Groogy in: Projects,rbSFML | Tags: , , , ,

SFML 2.0-RC and rbSFML-RC

Since SFML 2.0 is getting a release candidate status now I will have to put out a release candidate for rbSFML as well. A tag has been put up on Groogy/rbSFML for the release candidate 1.0-rc.

Go ahead and use it and have fun coding in ruby! I am most interested in anything you have to show and especially if you find bugs or flaws in the design.

I was hoping to create documentation and RSpec specifications for the bindings but I don’t have the time currently. If anyone is interested to help me out and do some kind of tutorial or something like that please let me know.

Written by Groogy in: rbSFML | Tags: , , , , , ,

Signal and Subscription System for SFML

I’ve made a little add-on for SFML’s system. Though it’s almost independent and do not rely on the Window system of SFML. The system is made to get objects in C++ to “communicate” with each other. You can see it as an extension for SFML’s already in place event polling system which you can use it as, but that’s not the whole picture.

The project and how to use it can be found on SFML’s Wiki. Here’s a direct link to it.


Written by Groogy in: Projects | Tags: , , , ,

Powered by WordPress. Theme: TheBuckmaker