Check out our latest project ✨ OpenChapter.io: free ebooks the way its meant to be 📖

Developer Console (Godot 3.x Version)

An asset by jitspoe
The page banner background of a mountain and forest

Quick Information

No ratings yet
Developer Console (Godot 3.x Version) icon image
jitspoe
Developer Console (Godot 3.x Version)

A simple console toggled with the ~ key that lets you quickly test features in your game, as seen in games like Quake.Example:func _ready(): Console.add_command("map", self, "load_level", 1)func load_level(level_name : String): # Do your level loading stuff here

Supported Engine Version
3.1
Version String
1.1
Support Level
community
Modified Date
11 months ago
Git URL
Issue URL
Download ZIP

godot-console

Dev console addon for Godot engine.

Simply drop the addons directory into your godot project, go to the project settings, plugins, and enable "Console".

After you've done that, you can add console commands from any class.

Example:

func _ready():
  Console.add_command("hello", self, "my_hello_function")

func my_hello_function():
  Console.print_line("Hello, world!")

You can also specify up to 3 parameters, which will be passed in as strings:

  Console.add_command("param_test", self, "param_test_function", 1) # 1 specifies 1 parameter

func param_test_function(param1 : String):
  Console.print_line("Param passed in: %s" % param1)

The "quit"/"exit" command is implemented by default.

A simple console toggled with the ~ key that lets you quickly test features in your game, as seen in games like Quake. Example: func _ready(): Console.add_command("map", self, "load_level", 1) func load_level(level_name : String): # Do your level loading stuff here

Reviews

0 total reviews
No ratings yet

Your Rating

How do you rate this asset?
Headline must be at least 3 characters but not more than 50
Review must be at least 5 characters but not more than 500
Please sign in to add a review

Quick Information

No ratings yet
Developer Console (Godot 3.x Version) icon image
jitspoe
Developer Console (Godot 3.x Version)

A simple console toggled with the ~ key that lets you quickly test features in your game, as seen in games like Quake.Example:func _ready(): Console.add_command("map", self, "load_level", 1)func load_level(level_name : String): # Do your level loading stuff here

Supported Engine Version
3.1
Version String
1.1
Support Level
community
Modified Date
11 months ago
Git URL
Issue URL
Download ZIP

Open Source

Released under the AGPLv3 license

Plug and Play

Browse assets directly from Godot

Community Driven

Created by developers for developers