feat: castle sprite
This commit is contained in:
parent
409b7b5955
commit
ac57671737
13 changed files with 149 additions and 25 deletions
|
@ -1,8 +1,7 @@
|
|||
[gd_scene load_steps=15 format=3 uid="uid://ctytpqaed0yqx"]
|
||||
[gd_scene load_steps=17 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="Texture2D" uid="uid://fdqnc2qrrvn1" path="res://assets/sprites/icon.svg" id="3_tbgi4"]
|
||||
[ext_resource type="Resource" uid="uid://cnhwn6kfcbjl5" path="res://assets/outfits/hats.tres" id="4_85g3d"]
|
||||
[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"]
|
||||
|
@ -14,6 +13,9 @@
|
|||
[ext_resource type="PackedScene" uid="uid://tubxrqxjic6r" path="res://scenes/dragon_list/dragon_list.tscn" id="10_ya4ey"]
|
||||
[ext_resource type="Script" uid="uid://w60u0tg1hlvu" path="res://scenes/dragon_adder.gd" id="11_eb6dy"]
|
||||
[ext_resource type="PackedScene" uid="uid://oqa2ry73vqjf" path="res://scenes/dragon_adder/dragon_adder.tscn" id="12_trceg"]
|
||||
[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"]
|
||||
|
||||
[node name="Base" type="Node2D" node_paths=PackedStringArray("dragon_spots")]
|
||||
script = ExtResource("1_sugp2")
|
||||
|
@ -33,10 +35,10 @@ max_dragon_instantiation_time = 10.0
|
|||
anchors_preset = 1
|
||||
anchor_left = 1.0
|
||||
anchor_right = 1.0
|
||||
offset_left = -157.0
|
||||
offset_top = 50.0
|
||||
offset_right = -57.0
|
||||
offset_bottom = 150.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"
|
||||
|
@ -47,10 +49,10 @@ dragon_editor = ExtResource("5_tefeu")
|
|||
anchors_preset = 1
|
||||
anchor_left = 1.0
|
||||
anchor_right = 1.0
|
||||
offset_left = -156.0
|
||||
offset_top = 168.0
|
||||
offset_right = -56.0
|
||||
offset_bottom = 268.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"
|
||||
|
@ -59,10 +61,10 @@ text = "tanca"
|
|||
anchors_preset = 1
|
||||
anchor_left = 1.0
|
||||
anchor_right = 1.0
|
||||
offset_left = -156.0
|
||||
offset_top = 288.0
|
||||
offset_right = -56.0
|
||||
offset_bottom = 388.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"
|
||||
|
@ -73,29 +75,41 @@ dragon_list = ExtResource("10_ya4ey")
|
|||
anchors_preset = 1
|
||||
anchor_left = 1.0
|
||||
anchor_right = 1.0
|
||||
offset_left = -156.0
|
||||
offset_top = 407.0
|
||||
offset_right = -56.0
|
||||
offset_bottom = 507.0
|
||||
offset_left = -393.0
|
||||
offset_top = 14.0
|
||||
offset_right = -329.0
|
||||
offset_bottom = 45.0
|
||||
grow_horizontal = 0
|
||||
focus_mode = 0
|
||||
text = "afegeix"
|
||||
script = ExtResource("11_eb6dy")
|
||||
dragon_adder = ExtResource("12_trceg")
|
||||
|
||||
[node name="Icon" type="Sprite2D" parent="."]
|
||||
position = Vector2(576, 324)
|
||||
scale = Vector2(9, 5.0625)
|
||||
texture = ExtResource("3_tbgi4")
|
||||
[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(259, 450)
|
||||
position = Vector2(53, 249)
|
||||
|
||||
[node name="DragonSpot2" type="Node2D" parent="."]
|
||||
position = Vector2(557, 239)
|
||||
position = Vector2(142, 118)
|
||||
|
||||
[node name="DragonSpot3" type="Node2D" parent="."]
|
||||
position = Vector2(850, 360)
|
||||
position = Vector2(207, 252)
|
||||
|
||||
[connection signal="tree_entered" from="." to="." method="_on_tree_entered"]
|
||||
[connection signal="tree_exiting" from="." to="." method="_on_tree_exiting"]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue