Permalink
Browse files

doc and theroom closes old window before opening anew

  • Loading branch information...
Florian Hufsky
Florian Hufsky committed Apr 21, 2008
1 parent dde154e commit 509d4280eed20fe58e995c87a99426b0a47ef406
Showing with 9 additions and 12 deletions.
  1. +5 −3 spaceinvaders/spaceinvaders.rb
  2. +1 −0 theroom/theroom.rb
  3. +3 −9 volleyball/volleyball.rb
@@ -1,6 +1,8 @@
-# a super mega massive awesome space invaders clone LOL !!!!111eleven
-# code (cc) oneup
-# graphics (cc) kingpepe
+# Space Invaders
+# a super mega massive awesome space invaders clone LOL !!!!111eleven
+#
+# code (cc) oneup <hello@geeq.at>
+# graphics (cc) kingpepe
class Spaceinvaders < Game
attr_accessor :player
View
@@ -23,6 +23,7 @@ def button_down id
when Gosu::Button::KbUp
@selected_game_nr -= 1
when Gosu::Button::KbReturn
+ close
selected_game.run
end
View
@@ -1,8 +1,6 @@
-# entry for LD11
-#require 'gl'
-#require 'glu'
-#include Gl
-#include Glu
+# Puit Volley
+# entry for LD11
+# 2008 (cc) hello@geeq.at
class Fixnum
def px
@@ -31,10 +29,6 @@ def setup
end
def draw
- #glTexParameteri(self.texture.target,
- # GL_TEXTURE_MAG_FILTER, GL_NEAREST)
- #glTexParameteri(self.texture.target,
- # GL_TEXTURE_MIN_FILTER, GL_NEAREST)
"volleyball/background".img.draw()
super
end

0 comments on commit 509d428

Please sign in to comment.