Games::Console::OpenGL - provide a 2D quake style in-game console via OpenGL
use Games::Console::OpenGL; my $console = Games::Console::OpenGL->new( font => Games::OpenGL::Font::2D->new( file => 'font.bmp' ), background_color => [ 1,1,0], background_alpha => 0.4, text_color => [ 1,1,1 ], text_alpha => 1, speed => 50, # in percent per second height => 50, # fully opened, in percent of screen width => 100, # fully opened, in percent of screen ); $console->toggle($current_time); $console->message('Hello there!', $loglevel);
Exports nothing on default.
This package provides you with a quake-style console for your games. The console can parse input, log to a logfile, and gather messages.
This package renders the console via OpenGL. Please see Games::Console for a full documentation.
(c) 2003 Tels <http://bloodgate.com/>