the small

This commit is contained in:
Lilith Schier 2026-09-09 15:58:20 +02:00
parent 3109bdc44a
commit aff18ec43c
82 changed files with 6436 additions and 630 deletions

View file

@ -0,0 +1,19 @@
@tool
extends EditorPlugin
var ldtk_plugin
var config = ConfigFile.new()
func _enter_tree() -> void:
ldtk_plugin = preload("ldtk-importer.gd").new()
add_import_plugin(ldtk_plugin)
var config = ConfigFile.new()
var err = config.load("res://addons/ldtk-importer/plugin.cfg")
var version = config.get_value("plugin", "version", "0.0")
print_rich("[color=#ffcc00]█ Godot-LDtk-Importer █[/color] %s | [url=https://gleeson.dev]@gleeson.dev[/url] | [url=https://github.com/heygleeson/godot-ldtk-importer]View on Github[/url]" % [version])
func _exit_tree() -> void:
remove_import_plugin(ldtk_plugin)
ldtk_plugin = null