class GameWindow < Gosu::Window
def initialize
super(1000,650,false)
self.caption = $system.title
@music = Gosu::Song.new(self, "Resources/Despondent.mp3")
@music.play
end
end
>ruby Game.rb
C:/Ruby192/lib/ruby/gems/1.9.1/gems/gosu-0.7.43-x86-mingw32/lib/gosu/patches.rb:36:in initialize': File contains data in an unknown format. (RuntimeError)
from C:/Ruby192/lib/ruby/gems/1.9.1/gems/gosu-0.7.43-x86-mingw32/lib/gosu/patches.rb:36:in
initialize'
from Game.rb:18:in new'
from Game.rb:18:in
initialize'
from Game.rb:31:in new'
from Game.rb:31:in
<main>'
>Exit code: 1
Powered by mwForum 2.29.7 © 1999-2015 Markus Wichitill