class_name Credits extends RichTextLabel func _read_file(path: String) -> String: return FileAccess.open(path, FileAccess.READ).get_as_text() func _ready() -> void: meta_clicked.connect(OS.shell_open) text = "\n".join([ "PROJECT by darkcanopy.", "Special thanks to:", "Godot Barn\n", "This game uses Godot Engine, available under the following license:", "[url=https://godotengine.org/license]godotengine.org/license[/url]\n", "Third Party Licenses:", _read_file("res://addons/programming_helper/LICENSE.txt"), _read_file("res://addons/game_maker/LICENSE.txt")) ])
or share this direct link: