Games::ConsoleGames::Console Perl module provide a 2D quake style in-game console. | |
Download |
Games::Console Ranking & Summary
Advertisement
- License:
- Perl Artistic License
- Price:
- FREE
- Publisher Name:
- Tels
- Publisher web site:
- http://search.cpan.org/~tels/
Games::Console Tags
Games::Console Description
Games::Console Perl module provide a 2D quake style in-game console. Games::Console Perl module provide a 2D quake style in-game console.SYNOPSIS use Games::Console; my $console = Games::Console->new( font => $font_object, background_color => , background_alpha => 0.4, text_color => , 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 backbuffer_size => 100, # keep so many messages prompt => ' >', cursor => '_', ); $console->screen_width($width); $console->screen_height($height); $console->toggle($current_time); $console->message('Hello there!'); $console->input('a');This package provides you with a quake-style console for your games. The console gathers messages and let's you scroll trough them. It also can display a command line.This package is just a base class setting up everything, but doesn't actually render anything.See Games::Console::SDL and Games::Console::OpenGL for subclasses that implement the actual rendering to the screen via SDL and OpenGL, respectively.Requirements:· Perl
Games::Console Related Software