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,18 @@
@icon("ldtk-level.svg")
@tool
class_name LDTKLevel
extends Node2D
@export var iid: String
@export var world_position: Vector2
@export var size: Vector2i
@export var fields: Dictionary
@export var neighbours: Array
@export var bg_color: Color
func _ready() -> void:
queue_redraw()
func _draw() -> void:
if Engine.is_editor_hint():
draw_rect(Rect2(Vector2.ZERO, size), bg_color, false, 2.0)