Description

This adds a console to your game.

You can open it with ~ sign, and enter commands with arguments. Close with ~ or Esc.

Features:

  • you can define your own commands - as much as you need!
  • every command can get up to four arguments, optional or required
  • keyboard events are locked, so for example if you have platform game and you open menu with "M" key and have "music" command, writing it won't open menu
  • you can navigate trough history of 10 entered commands back/forward
  • every line can have it's own color
  • you can define number of lines to show, and changing font family/size will update console dimensions without any code changes!
  • supports LEFT/RIGHT for moving cursor/caret inside text, and HOME/END to go to start/end of current line!
  • ideal for special commands while you debug your game, or for players to enter passwords / cheats
  • works also under HTML5 !!!
  • sadly works only under PC (Win/Mac/Linux), as mobile doesn't support keyboard (but you can of course extend your GM and make it work also there).

Attached example show several commands, which you can display with "help" command.

CLICK TO SEE DEMO

More info

End User Licence Agreement (EULA).

Changes in 1.0.0

Initial version

Version 1.0.0. Published October 8, 2015

Created with GameMaker: Studio v1.4.1657

Age Rating: 4+

Average Rating

This asset hasn't received enough reviews yet.

Your review

You can only review assets you've bought.


Gravatar

Matthew S 01 February 2016

A very good console

This console is a great one for people to be able to insert into a project and go. It is very lightweight with only a few scripts which are easy enough to understand for intermediate users. Novices can jump right in to adding commands, however, which is good. Adding commands is relatively simple and you can insert pretty much what you want into the execution. The only downside is that it doesn't utilize data structures for some added functionality and flexibility.

What is the issue?

Back to Top