Console module for bmax.

BlitzMax Forums/BlitzMax Module Tweaks/Console module for bmax.

Filax(Posted 2005) [#1]
Hi :)

This is a little console module for help you to debug or use your
software. It's very easy to use :)

Installation :

Extract 'console.mod' from the zip to you 'mod/pub' directory
use the test.bmx program for test the console.

http://www.blitz3dfr.com/console_projet/console.zip

Note :

In the test code, the line :
RefreshConsole(9)

9 is the keycode ... you can use another keycode :)

If you try only :
RefreshConsole()

The default key for show/hide console is the TAB key.

Enjoy :)


seyhajin(Posted 2005) [#2]
nice :) good job filax !


Filax(Posted 2005) [#3]
I have update the console, redownload it

Added : FPS counter and lisibility with alpha 1
now you can import your hown background image


Filax(Posted 2005) [#4]
Update redownload :

Internal command added

$help : This help
$cls : Clear console buffer
$version : Console version
$mem : Display current memory
$time : Display current time
$date : Display current date
$mouse : Display current mouse position X,Y,Z

You can now repeat the last command with KEY UP and DOWN


Filax(Posted 2005) [#5]
The command list :

' Init the console
InitConsole(Title:String="Console",NumLine:Int=20,Red:Byte=0,Green:Byte=128,Blue:Byte=192,Alpha:Float=0.5,Background:String="")

' Refresh the console
Console_Refresh(KeyCode)

' This line reset the console command
Console_Flushcmd()

'Send a message to the console
Console_AddString("")

' Clear the console buffer
Console_Clear()

The var :
Console_IsOpen (True or False)

If you ask this var you can know if the console is open or not
but if you modify this var you can open or close the console from
your code.


- SPOKE -(Posted 2005) [#6]
Good job filaxounet !


Filax(Posted 2005) [#7]
:)


Filax(Posted 2005) [#8]
http://www.blitzbasic.com/Community/posts.php?topic=47768


Filax(Posted 2005) [#9]
Redownload it :) this module is compatible with :

Mac
Pc
Linux


Progi1984(Posted 2005) [#10]
Good job Filax ;)