Skip to content

CptnRoughnight/Console

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Console

Console Addon for Godot

Screenshot_20231003_142725

Installation

Download this repo, copy the folders in "addon" and the Folder "Console" to you project. Start Godot. Load your project, activate the RoughCon-Addon in the project settings (this activate an autoload)

Usage

Add the "Console/Console.tscn" to your scene. In the _ready method you can now setup up the autoload with your Vars and Consts.

Screenshot_20231003_115249

In the inspector there are some options. Section Commands let's you setup a script file and the methods you want to enable for the console.

Section Settings: [Activate Key] - Input Action for activating/deactivating the console [Save Log File] - Save the log file to res://logs/log[timestamp].txt [Log Save Time] - Time for auto saving the log [Paus On Activate] - Pauses the game on activation

Screenshot_20231003_142553

Add commands of the script to the console by adding in the command name in the array.

Demo Project

https://github.com/CptnRoughnight/ConsoleDemo

About

Console Addon for Godot

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published