Category Archives: rubycube

RubyCube on Ubuntu 7.10

I spent a few minutes on my new laptop with RubyCube. Since it uses GLUT as a foundation it was simple to port the extconf.rb to build on Ubuntu. I’m going to have to wait until after we ship TR … Continue reading

Posted in ruby, rubycube, ubuntu | Leave a comment

RubyCube 0.2.1 released to RubyForge

A new windows binary and source distribution is ready on ruby forge with inital support for sprites.  I also took this opportunity to fix a few small bugs and update the documentation. This also marks the first public upload of … Continue reading

Posted in game programming, programming, ruby, rubycube | Leave a comment

RubyCube on Mac OS X

I’ve been making small incremental progress. First problem I ran into was: objc: failed objc_getClass(NSObject) for GLUTApplication->isa->isa objc: please link appropriate classes in your program Trace/BPT trap This was pretty easily fixed by making sure to pass ‘-framework Foundation’ to … Continue reading

Posted in macos, ruby, rubycube | Leave a comment

RubyCube 0.1.1 Released

I just released the initial distribution of RubyCube locally. RubyCube 0.1.1 I’m in the process of getting a new ruby forge project setup to host the project files, mirror the source depot and manage bugs. I’m very happy with the … Continue reading

Posted in game programming, ruby, rubycube | Leave a comment

Profile Based Optimization and Test Driven Development

Modern video games can be about as hard to tame as a large fire breathing dragon. It’s usually not until around when the marketing budget is finalized, traditionally around 6 months before release that people start talking about bringing the … Continue reading

Posted in coding, game programming, ruby, rubycube | Leave a comment

RubyCube progress

I got some more time to hack on RubyCube so from my original almost ready post I got the following done: Finished the stress test Finished first pass of documentation (rubydoc) More test cases for basic functionality Perspective transform is … Continue reading

Posted in game programming, ruby, rubycube | 1 Comment

Conway’s Life in Ruby(Cube)

Inspired by the animated patterns in a stress test I put together an implemetation of the original cellular automaton program ‘life’ using ruby and the extension I’ve been hacking on lately. It’s a simple idea but it can produce some … Continue reading

Posted in ruby, rubycube | Leave a comment

RubyCube stress test

Downloading 2+ gig through a VPN link is not very fun so to pass the time I’m doing some stress related tests for RubyCube: For some reason the garbage collector still kicks in and starts reclaiming the shapes even if … Continue reading

Posted in game programming, ruby, rubycube | 1 Comment

RubyCube is almost ready for release

Since I’ve not had a lot of time for home-hack projects lately I’ve been focusing on getting RubyCube ready for release. It’s a small, well contained project, it’s easy to make good progress with only 30 minutes of invested time. … Continue reading

Posted in c++, game programming, ruby, rubycube | 4 Comments

mkmf versus mkrf round 1

So in trying to cleanup a ruby extension (rubycube) for release I revisited the build system trying to get a good cross platform build going. The extconf.rb file that I had created was a thing of ugly and in looking … Continue reading

Posted in ruby, rubycube | 2 Comments