why doesn't this work?
text = "Hello"
text.class
=> String
$hud = Sprite.new
$hud.x = 36
$hud.y = 36
$hud.bitmap = Bitmap.new(36, 36)
$hud.bitmap.draw_text(0, 0, 36, 36,
$text)
It's wierd not sure I completely understand the way to set the variable type, or how to call it.
I can understand the .to_s as converting to a string.. but why not a int? how is a int declared?
Indigo, try