Skip to content

Instantly share code, notes, and snippets.

@domgetter
Forked from anonymous/gist:227aff962d9e8c0868c5
Created December 29, 2015 19:11
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save domgetter/a4f7aa1f99ed1df07373 to your computer and use it in GitHub Desktop.
Save domgetter/a4f7aa1f99ed1df07373 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