[gd_scene load_steps=13 format=3 uid="uid://ctytpqaed0yqx"] [ext_resource type="Script" uid="uid://3kyt3shje5r1" path="res://scenes/main.gd" id="1_sugp2"] [ext_resource type="PackedScene" uid="uid://c7nfcgjxqeg7l" path="res://scenes/window/dragon_popup.tscn" id="2_jyhfs"] [ext_resource type="PackedScene" uid="uid://bj5ptaniasaaj" path="res://scenes/clock/clock.tscn" id="4_a8y0u"] [ext_resource type="PackedScene" uid="uid://miutbdsgccd1" path="res://scenes/dragons/dragon.tscn" id="4_jyhfs"] [ext_resource type="Script" uid="uid://cj4l3a6a8ro0r" path="res://scenes/create_button.gd" id="4_tbgi4"] [ext_resource type="PackedScene" uid="uid://fut42ruut302" path="res://scenes/dragon_editor/dragon_editor.tscn" id="5_tefeu"] [ext_resource type="Script" uid="uid://oc6mw86npbii" path="res://scenes/list_button.gd" id="9_choun"] [ext_resource type="PackedScene" uid="uid://tubxrqxjic6r" path="res://scenes/dragon_list/dragon_list.tscn" id="10_ya4ey"] [ext_resource type="Texture2D" uid="uid://bc2lykc3gwykh" path="res://assets/sprites/environment/castle/DP_castle_back.png" id="15_muem4"] [ext_resource type="Texture2D" uid="uid://o1e8lge2vuqu" path="res://assets/sprites/environment/castle/DP_castle_mid.png" id="16_dp3eg"] [ext_resource type="Texture2D" uid="uid://b1w6y1qvetsaw" path="res://assets/sprites/environment/castle/DP_castle_front.png" id="17_0ld40"] [ext_resource type="Script" uid="uid://bg58e3dobon4j" path="res://scenes/dragon_sharing.gd" id="17_muem4"] [node name="Base" type="Node2D" node_paths=PackedStringArray("dragon_spots")] script = ExtResource("1_sugp2") dragon_template = ExtResource("2_jyhfs") dragon_ingame = ExtResource("4_jyhfs") dragon_spots = [NodePath("DragonSpot1"), NodePath("DragonSpot2"), NodePath("DragonSpot3")] clock = ExtResource("4_a8y0u") min_dragon_instantiation_time = 2.0 max_dragon_instantiation_time = 10.0 [node name="CanvasLayer" type="CanvasLayer" parent="."] [node name="Create" type="Button" parent="CanvasLayer"] anchors_preset = 1 anchor_left = 1.0 anchor_right = 1.0 offset_left = -585.0 offset_top = 11.0 offset_right = -543.0 offset_bottom = 42.0 grow_horizontal = 0 focus_mode = 0 text = "crea" script = ExtResource("4_tbgi4") dragon_editor = ExtResource("5_tefeu") [node name="Close" type="Button" parent="CanvasLayer"] anchors_preset = 1 anchor_left = 1.0 anchor_right = 1.0 offset_left = -525.0 offset_top = 12.0 offset_right = -474.0 offset_bottom = 43.0 grow_horizontal = 0 focus_mode = 0 text = "tanca" [node name="List" type="Button" parent="CanvasLayer"] anchors_preset = 1 anchor_left = 1.0 anchor_right = 1.0 offset_left = -456.0 offset_top = 14.0 offset_right = -411.0 offset_bottom = 45.0 grow_horizontal = 0 focus_mode = 0 text = "llista" script = ExtResource("9_choun") dragon_list = ExtResource("10_ya4ey") [node name="Castle" type="Node2D" parent="."] [node name="DpCastleBack" type="Sprite2D" parent="Castle"] z_index = -1 position = Vector2(395, 159) texture = ExtResource("15_muem4") [node name="DpCastleMid" type="Sprite2D" parent="Castle"] z_index = -1 position = Vector2(395, 159) texture = ExtResource("16_dp3eg") [node name="DpCastleFront" type="Sprite2D" parent="Castle"] z_index = 1 position = Vector2(395, 159) texture = ExtResource("17_0ld40") [node name="DragonSpot1" type="Node2D" parent="."] position = Vector2(53, 249) [node name="DragonSpot2" type="Node2D" parent="."] position = Vector2(142, 118) [node name="DragonSpot3" type="Node2D" parent="."] position = Vector2(207, 252) [node name="HTTPRequest" type="HTTPRequest" parent="."] script = ExtResource("17_muem4") [connection signal="tree_entered" from="." to="." method="_on_tree_entered"] [connection signal="tree_exiting" from="." to="." method="_on_tree_exiting"] [connection signal="button_up" from="CanvasLayer/Create" to="CanvasLayer/Create" method="_on_button_up"] [connection signal="pressed" from="CanvasLayer/Close" to="." method="_on_close_pressed"] [connection signal="pressed" from="CanvasLayer/List" to="CanvasLayer/List" method="_on_pressed"]