Skip to content

Commit

Permalink
Merge branch 'master' of github.com:jwoertink/pcotm
Browse files Browse the repository at this point in the history
  • Loading branch information
jwoertink committed Jul 18, 2012
2 parents 4e10bd6 + a483a6d commit 53d752a
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 2 deletions.
10 changes: 10 additions & 0 deletions Gemfile.lock
@@ -0,0 +1,10 @@
GEM
remote: http://rubygems.org/
specs:
gosu (0.7.41-x86-mingw32)

PLATFORMS
x86-mingw32

DEPENDENCIES
gosu (= 0.7.41)
Binary file added assets/game-song.ogg
Binary file not shown.
Binary file added assets/title-screen.ogg
Binary file not shown.
2 changes: 1 addition & 1 deletion title_screen.rb
Expand Up @@ -6,7 +6,7 @@ def initialize(window)
@background = Gosu::Image.new(window, File.join(File.dirname(__FILE__), 'assets', 'title-screen.png'), true)
set_text!
@selector = OptionSelector.new(window, 160, 280, 3)
@title_song = Gosu::Song.new(window, File.join(File.dirname(__FILE__), 'assets', 'title-screen.mp3'))
@title_song = Gosu::Song.new(window, File.join(File.dirname(__FILE__), 'assets', 'title-screen.ogg'))
@title_song.play(true)
end

Expand Down
2 changes: 1 addition & 1 deletion window.rb
Expand Up @@ -12,7 +12,7 @@ def initialize
@score_font = Gosu::Font.new(self, Gosu.default_font_name, 26)
@game_in_progress = false
@title_screen = TitleScreen.new(self)
@game_song = Gosu::Song.new(self, File.join(File.dirname(__FILE__), 'assets', 'game-song.mp3'))
@game_song = Gosu::Song.new(self, File.join(File.dirname(__FILE__), 'assets', 'game-song.ogg'))
end

def update
Expand Down

0 comments on commit 53d752a

Please sign in to comment.