feat: basic dragon instantiating

This commit is contained in:
Gerard Gascón 2025-04-03 17:40:27 +02:00
parent a0bb24464d
commit 9e153b63ac
6 changed files with 76 additions and 1 deletions

24
dragon.tscn Normal file
View file

@ -0,0 +1,24 @@
[gd_scene load_steps=3 format=3 uid="uid://c7nfcgjxqeg7l"]
[ext_resource type="Texture2D" uid="uid://fdqnc2qrrvn1" path="res://icon.svg" id="1_ixu8j"]
[ext_resource type="Script" uid="uid://bmlkcni4km614" path="res://scripts/dragon.gd" id="1_n6spy"]
[node name="Dragon" type="Window"]
disable_3d = true
transparent_bg = true
position = Vector2i(0, 36)
size = Vector2i(128, 128)
unresizable = true
borderless = true
transparent = true
[node name="DragDropDetector" type="Control" parent="."]
layout_mode = 3
anchors_preset = 0
offset_right = 40.0
offset_bottom = 40.0
script = ExtResource("1_n6spy")
[node name="Icon" type="Sprite2D" parent="."]
position = Vector2(64, 65)
texture = ExtResource("1_ixu8j")