Games::Console::OpenGL - provide a 2D quake style in-game console via OpenGL


Games-Console documentation  | view source Contained in the Games-Console distribution.

Index


NAME

Top

Games::Console::OpenGL - provide a 2D quake style in-game console via OpenGL

SYNOPSIS

Top

	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

Top

Exports nothing on default.

DESCRIPTION

Top

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.

KNOWN BUGS

Top

None yet.

AUTHORS

Top

(c) 2003 Tels <http://bloodgate.com/>

SEE ALSO

Top

Games::3D, SDL:App::FPS, and SDL::OpenGL.


Games-Console documentation  | view source Contained in the Games-Console distribution.