25 lines
907 B
Text
25 lines
907 B
Text
[gd_scene load_steps=4 format=3 uid="uid://c7nfcgjxqeg7l"]
|
|
|
|
[ext_resource type="Script" uid="uid://bmlkcni4km614" path="res://scenes/window/dragon.gd" id="1_ctdir"]
|
|
[ext_resource type="Script" uid="uid://ch7d3wo8ucskb" path="res://scenes/window/draggable.gd" id="2_2r6si"]
|
|
[ext_resource type="PackedScene" uid="uid://baa8gpicw2yg0" path="res://scenes/dragons/dragon_sprite.tscn" id="3_ctdir"]
|
|
|
|
[node name="DragonPopup" type="Window" node_paths=PackedStringArray("dragon")]
|
|
disable_3d = true
|
|
transparent_bg = true
|
|
size = Vector2i(128, 128)
|
|
unresizable = true
|
|
borderless = true
|
|
transparent = true
|
|
script = ExtResource("1_ctdir")
|
|
dragon_speed = 100.0
|
|
dragon = NodePath("Dragon")
|
|
|
|
[node name="DragDropDetector" type="Control" parent="."]
|
|
layout_mode = 3
|
|
anchors_preset = 0
|
|
offset_right = 40.0
|
|
offset_bottom = 40.0
|
|
script = ExtResource("2_2r6si")
|
|
|
|
[node name="Dragon" parent="." instance=ExtResource("3_ctdir")]
|