Icon

SimpleConsole

Kanelbull3 Studios

You must be logged in to obtain assets

Description

SimpleConsole is a easy to modify and easy to use extension. You can easily specify how you want to write your console commands. With the ability to specify "splitters", you can make SimpleConsole feel personal!

Let's say we have a script called "scr_print" we want to call when you write "Hello World!" into the console. We add that command with this line: ConsoleAddCommand("Hello World!", scr_print);

//In scr_print: show_message("Hello world!");

Now when we write Hello World! into the console, we will see a message popping up saying "Hello world!".

But what if we want to add arguments to the command? Well, we can take the example script that comes with SimpleConsole, "SetColor". SetColor is a command that will execute the script "ConsoleSetTextColor". This scripts wants three numbers to set the text color. So, when we write our command in the console, we write like this:

SetColor: 255, 255, 255

The script will recieve a ds_list from the ConsoleExecuteCommand script with all the arguments in it. This makes it so the command can take unlimited amount of arguments!

Hope you are convinced to why you should use this console!

End User Licence Agreement (EULA).

Age Rating: None

Version

GMS1 - Version 1.0.1. Published March 30, 2016

Added comments.

Changed script names to match the Game Maker standard

Loading, please wait

Package contents

Loading, please wait

What is the issue?

Loading, please wait