Created
December 29, 2015 19:10
-
-
Save anonymous/227aff962d9e8c0868c5 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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