feat: create and destroy dragons
This commit is contained in:
parent
9e153b63ac
commit
c75800aaa8
7 changed files with 57 additions and 32 deletions
|
@ -1,7 +1,8 @@
|
|||
[gd_scene load_steps=3 format=3 uid="uid://c7nfcgjxqeg7l"]
|
||||
[gd_scene load_steps=4 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"]
|
||||
[ext_resource type="Script" uid="uid://bmlkcni4km614" path="res://scripts/dragon/dragon.gd" id="1_n6spy"]
|
||||
[ext_resource type="Script" uid="uid://ch7d3wo8ucskb" path="res://scripts/dragon/draggable.gd" id="2_qxdfn"]
|
||||
|
||||
[node name="Dragon" type="Window"]
|
||||
disable_3d = true
|
||||
|
@ -11,13 +12,14 @@ size = Vector2i(128, 128)
|
|||
unresizable = true
|
||||
borderless = true
|
||||
transparent = true
|
||||
script = ExtResource("1_n6spy")
|
||||
|
||||
[node name="DragDropDetector" type="Control" parent="."]
|
||||
layout_mode = 3
|
||||
anchors_preset = 0
|
||||
offset_right = 40.0
|
||||
offset_bottom = 40.0
|
||||
script = ExtResource("1_n6spy")
|
||||
script = ExtResource("2_qxdfn")
|
||||
|
||||
[node name="Icon" type="Sprite2D" parent="."]
|
||||
position = Vector2(64, 65)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue