Console module for bmax.
BlitzMax Forums/BlitzMax Module Tweaks/Console module for bmax.
| ||
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 :) |
| ||
nice :) good job filax ! |
| ||
I have update the console, redownload it Added : FPS counter and lisibility with alpha 1 now you can import your hown background image |
| ||
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 |
| ||
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. |
| ||
Good job filaxounet ! |
| ||
:) |
| ||
http://www.blitzbasic.com/Community/posts.php?topic=47768 |
| ||
Redownload it :) this module is compatible with : Mac Pc Linux |
| ||
Good job Filax ;) |