feat: dragon animations
This commit is contained in:
parent
9f2b78c1bd
commit
787344e5e4
4 changed files with 46 additions and 19 deletions
|
@ -13,12 +13,17 @@
|
|||
[ext_resource type="Texture2D" uid="uid://b1w6y1qvetsaw" path="res://assets/sprites/environment/castle/DP_castle_front.png" id="17_0ld40"]
|
||||
[ext_resource type="Script" path="res://scenes/dragon_sharing.gd" id="17_muem4"]
|
||||
|
||||
[node name="Base" type="Node2D" node_paths=PackedStringArray("dragon_spots")]
|
||||
[node name="Base" type="Node2D" node_paths=PackedStringArray("dragon_spots", "dragon_start_spots")]
|
||||
script = ExtResource("1_sugp2")
|
||||
dragon_template = ExtResource("2_jyhfs")
|
||||
dragon_ingame = ExtResource("4_jyhfs")
|
||||
name_setter = ExtResource("4_trceg")
|
||||
dragon_spots = [NodePath("DragonSpot1"), NodePath("DragonSpot2"), NodePath("DragonSpot3")]
|
||||
dragon_start_spots = {
|
||||
NodePath("DragonSpot1"): NodePath("DragonSpot1/StartSpot"),
|
||||
NodePath("DragonSpot2"): NodePath("DragonSpot2/StartSpot"),
|
||||
NodePath("DragonSpot3"): NodePath("DragonSpot3/StartSpot")
|
||||
}
|
||||
min_dragon_instantiation_time = 2.0
|
||||
max_dragon_instantiation_time = 10.0
|
||||
|
||||
|
@ -82,13 +87,22 @@ position = Vector2(395, 159)
|
|||
texture = ExtResource("17_0ld40")
|
||||
|
||||
[node name="DragonSpot1" type="Node2D" parent="."]
|
||||
position = Vector2(53, 249)
|
||||
position = Vector2(106, 246)
|
||||
|
||||
[node name="StartSpot" type="Node2D" parent="DragonSpot1"]
|
||||
position = Vector2(296, 0)
|
||||
|
||||
[node name="DragonSpot2" type="Node2D" parent="."]
|
||||
position = Vector2(142, 118)
|
||||
position = Vector2(257, 94)
|
||||
|
||||
[node name="StartSpot" type="Node2D" parent="DragonSpot2"]
|
||||
position = Vector2(145, 152)
|
||||
|
||||
[node name="DragonSpot3" type="Node2D" parent="."]
|
||||
position = Vector2(207, 252)
|
||||
position = Vector2(207, 246)
|
||||
|
||||
[node name="StartSpot" type="Node2D" parent="DragonSpot3"]
|
||||
position = Vector2(195, 0)
|
||||
|
||||
[node name="HTTPRequest" type="HTTPRequest" parent="."]
|
||||
script = ExtResource("17_muem4")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue