by Lucariatias
A "command-line" that runs GML commands. I have added a few extra variables you can edit:
"text_color" sets the colour of the text
"title" sets the title. If you use the normal room_caption it will switch the caption back, so using title will append the room caption.
"log_string" will allow you access to the display
"cmd" can switch the application from command-line to gui. It is automatically switched upon use of "execute_file" because most GML scripts will use a GUI, but the command line will still run invisibly behind the script.
if you wish to make a script that runs in command line, make sure to add "cmd = true" at the start, else the application will assume it requires a GUI.
"bar" is switched every half a second between "|" and "" so unless you use object_event_add to add a step event to an instance that sets obj_cmd.bar to something else, the bar that appends the text in the command bar will keep flashing.
dropy is how far up the text is moved, if it goes further than the screen. It is reset every time enter is released.
basically everything else is normal GML, so if you are a competent GML user you should have no problems. Also be aware that execute_file will not switch the working directory, but opening a file with the program will. I recommend that you use GMLRunner for running GML files.
The application comes with the GM Printing, Windows Dialogs and room transitions pre-installed, so you can make use of functions from them.
Alright, have fun!
Tags: gml, cmd, command, line, prompt, shell, batch, var, variables, game, maker, pro, extension, printing, windows, dialogs, room, transitions, console, konsole
DownloadReleased | 2011-12-19 |
Category | Other |
Rating | 3.0 (by 1 users) |
Downloads | 67 |
Version | 3 |
ID | 191195 |
Slug | gmlcmd |