Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
17 lines (12 sloc) 281 Bytes
require 'gosu'
class TextExample < Gosu::Window
def initialize
super 640, 480
self.caption = "Text Example"
@font = Gosu::Font.new(32, name: "Nimbus Doggo L")
end
def draw
@font.draw("Otter.Tech Rocks My Socks!", 10, 20, 0)
end
end
window = TextExample.new.show