Here's a sneak peek at a project/library I'm currently working on:
include Microsoft::Xna::Framework
include Microsoft::Xna::Framework::Graphics
include RubyXna
class FluxxGame < RubyXnaGame
def initialize
self.background_color = Color.black
end
def load(loader)
@font = loader.load_font("Title")
end
def render(renderer)
renderer.draw_text(@font, "Fluxx, v0.1", Vector2.zero, Color.white)
end
end
The combination of IronRuby and XNA Game Studio is proving to be pretty darn fun!