Skip to content

Instantly share code, notes, and snippets.

Created December 29, 2015 19:10
Show Gist options
  • Save anonymous/227aff962d9e8c0868c5 to your computer and use it in GitHub Desktop.
Save anonymous/227aff962d9e8c0868c5 to your computer and use it in GitHub Desktop.
require 'io/console'
Kernel.load('Auspice/Auspice.rb')
module Auspice
class SplashScreen
def initialize
@win = Screen.new
#@sin = Gosu::Image.new(@win, Surface.new(64,64,[100,100,100,100]),false)
@words = BottomFeeder.new 24,800,400
#@gl = OpenGLInjection.new
#@win.addent(@gl)
@win.addent(@words)
@win.addent(Sprite.new)
Thread.new{
while a = STDIN.getch
puts a.class
puts a.length
@words.in << a
sleep 0.001
end
}
@win.show
end
end
end
$s = Auspice::SplashScreen.new
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment