Initial field spawns

This commit is contained in:
Rendo 2025-07-18 03:36:49 +05:00
commit 12b7435d19
28 changed files with 197 additions and 98 deletions

View file

@ -95,6 +95,7 @@ node_connections = [&"TimeScale", 0, &"Tree", &"output", 0, &"TimeScale"]
size = Vector2(22, 32)
[node name="Aloe" instance=ExtResource("1_n25yi")]
internal_id = "aloe"
MaxHP = 30.0
[node name="Sprite2D" parent="." index="0"]

View file

@ -28,23 +28,6 @@ _data = {
&"RESET": SubResource("Animation_n1xkd")
}
[sub_resource type="Animation" id="Animation_ig0op"]
length = 0.666675
loop_mode = 2
step = 0.0833333
tracks/0/type = "value"
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/path = NodePath("Sprite2D:frame")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/keys = {
"times": PackedFloat32Array(0, 0.166667, 0.333333, 0.5, 0.666667),
"transitions": PackedFloat32Array(1, 1, 1, 1, 1),
"update": 1,
"values": [10, 11, 12, 13, 14]
}
[sub_resource type="Animation" id="Animation_d45iq"]
length = 0.833342
step = 0.0833333
@ -75,6 +58,23 @@ tracks/1/keys = {
}]
}
[sub_resource type="Animation" id="Animation_ig0op"]
length = 0.666675
loop_mode = 2
step = 0.0833333
tracks/0/type = "value"
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/path = NodePath("Sprite2D:frame")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/keys = {
"times": PackedFloat32Array(0, 0.166667, 0.333333, 0.5, 0.666667),
"transitions": PackedFloat32Array(1, 1, 1, 1, 1),
"update": 1,
"values": [10, 11, 12, 13, 14]
}
[sub_resource type="AnimationLibrary" id="AnimationLibrary_n1xkd"]
_data = {
&"attack": SubResource("Animation_d45iq"),
@ -124,6 +124,7 @@ height = 48.0
size = Vector2(26, 600)
[node name="Cucumber" instance=ExtResource("1_65f4u")]
internal_id = "cucumber"
MaxHP = 30.0
[node name="Sprite2D" parent="." index="0"]

View file

@ -60,6 +60,7 @@ node_connections = [&"TimeScale", 0, &"Tree", &"output", 0, &"TimeScale"]
size = Vector2(32, 29)
[node name="Garlic" instance=ExtResource("1_5i0e6")]
internal_id = "garlic"
MaxHP = 200.0
[node name="Sprite2D" parent="." index="0"]

View file

@ -26,57 +26,6 @@ _data = {
&"RESET": SubResource("Animation_ga4vy")
}
[sub_resource type="Animation" id="Animation_yxvnw"]
length = 1.16668
loop_mode = 2
step = 0.0833333
tracks/0/type = "value"
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/path = NodePath("Sprite2D:frame")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/keys = {
"times": PackedFloat32Array(0, 0.166667, 0.333333, 0.5, 0.666667, 0.833333),
"transitions": PackedFloat32Array(1, 1, 1, 1, 1, 1),
"update": 1,
"values": [0, 1, 2, 3, 4, 5]
}
[sub_resource type="Animation" id="Animation_o12iv"]
length = 1.16668
loop_mode = 2
step = 0.0833333
tracks/0/type = "value"
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/path = NodePath("Sprite2D:frame")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/keys = {
"times": PackedFloat32Array(0, 0.166667, 0.333333, 0.5, 0.666667, 0.833333, 1),
"transitions": PackedFloat32Array(1, 1, 1, 1, 1, 1, 1),
"update": 1,
"values": [7, 8, 9, 10, 11, 12, 13]
}
[sub_resource type="Animation" id="Animation_6e60l"]
length = 1.16668
loop_mode = 2
step = 0.0833333
tracks/0/type = "value"
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/path = NodePath("Sprite2D:frame")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/keys = {
"times": PackedFloat32Array(0, 0.166667, 0.333333, 0.5, 0.666667, 0.833333, 1),
"transitions": PackedFloat32Array(1, 1, 1, 1, 1, 1, 1),
"update": 1,
"values": [14, 15, 16, 17, 18, 19, 20]
}
[sub_resource type="Animation" id="Animation_v7ffp"]
length = 0.500008
step = 0.0833333
@ -107,6 +56,36 @@ tracks/1/keys = {
}]
}
[sub_resource type="Animation" id="Animation_6a4q1"]
length = 0.500008
step = 0.0833333
tracks/0/type = "value"
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/path = NodePath("Sprite2D:frame")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/keys = {
"times": PackedFloat32Array(0, 0.0833333, 0.166667, 0.25, 0.333333, 0.416667),
"transitions": PackedFloat32Array(1, 1, 1, 1, 1, 1),
"update": 1,
"values": [35, 36, 37, 38, 39, 40]
}
tracks/1/type = "method"
tracks/1/imported = false
tracks/1/enabled = true
tracks/1/path = NodePath("Hurtbox")
tracks/1/interp = 1
tracks/1/loop_wrap = true
tracks/1/keys = {
"times": PackedFloat32Array(0.416667),
"transitions": PackedFloat32Array(1),
"values": [{
"args": [],
"method": &"ReturnAllDamage"
}]
}
[sub_resource type="Animation" id="Animation_rb7ob"]
length = 0.500008
step = 0.0833333
@ -137,8 +116,9 @@ tracks/1/keys = {
}]
}
[sub_resource type="Animation" id="Animation_6a4q1"]
length = 0.500008
[sub_resource type="Animation" id="Animation_yxvnw"]
length = 1.16668
loop_mode = 2
step = 0.0833333
tracks/0/type = "value"
tracks/0/imported = false
@ -147,24 +127,44 @@ tracks/0/path = NodePath("Sprite2D:frame")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/keys = {
"times": PackedFloat32Array(0, 0.0833333, 0.166667, 0.25, 0.333333, 0.416667),
"times": PackedFloat32Array(0, 0.166667, 0.333333, 0.5, 0.666667, 0.833333),
"transitions": PackedFloat32Array(1, 1, 1, 1, 1, 1),
"update": 1,
"values": [35, 36, 37, 38, 39, 40]
"values": [0, 1, 2, 3, 4, 5]
}
tracks/1/type = "method"
tracks/1/imported = false
tracks/1/enabled = true
tracks/1/path = NodePath("Hurtbox")
tracks/1/interp = 1
tracks/1/loop_wrap = true
tracks/1/keys = {
"times": PackedFloat32Array(0.416667),
"transitions": PackedFloat32Array(1),
"values": [{
"args": [],
"method": &"ReturnAllDamage"
}]
[sub_resource type="Animation" id="Animation_6e60l"]
length = 1.16668
loop_mode = 2
step = 0.0833333
tracks/0/type = "value"
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/path = NodePath("Sprite2D:frame")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/keys = {
"times": PackedFloat32Array(0, 0.166667, 0.333333, 0.5, 0.666667, 0.833333, 1),
"transitions": PackedFloat32Array(1, 1, 1, 1, 1, 1, 1),
"update": 1,
"values": [14, 15, 16, 17, 18, 19, 20]
}
[sub_resource type="Animation" id="Animation_o12iv"]
length = 1.16668
loop_mode = 2
step = 0.0833333
tracks/0/type = "value"
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/path = NodePath("Sprite2D:frame")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/keys = {
"times": PackedFloat32Array(0, 0.166667, 0.333333, 0.5, 0.666667, 0.833333, 1),
"transitions": PackedFloat32Array(1, 1, 1, 1, 1, 1, 1),
"update": 1,
"values": [7, 8, 9, 10, 11, 12, 13]
}
[sub_resource type="AnimationLibrary" id="AnimationLibrary_pddnl"]
@ -252,6 +252,7 @@ radius = 24.0
size = Vector2(73, 48)
[node name="Nerdus" instance=ExtResource("1_8ui1h")]
internal_id = "nerdus"
MaxHP = 200.0
[node name="Sprite2D" parent="." index="0"]

View file

@ -73,6 +73,7 @@ resource_local_to_scene = true
size = Vector2(20, 44)
[node name="Peashooter" instance=ExtResource("1_pyk3o")]
internal_id = "peashooter"
MaxHP = 30.0
[node name="Sprite2D" parent="." index="0"]

View file

@ -78,6 +78,7 @@ size = Vector2(15, 27)
size = Vector2(22, 19)
[node name="Potato mine" instance=ExtResource("1_dj7ul")]
internal_id = "potatomine"
MaxHP = 20.0
[node name="Sprite2D" parent="." index="0"]

View file

@ -63,6 +63,7 @@ node_connections = [&"TimeScale", 0, &"Tree", &"output", 0, &"TimeScale"]
resource_local_to_scene = true
[node name="Snowpea" instance=ExtResource("1_lp85e")]
internal_id = "snowpea"
[node name="Sprite2D" parent="." index="0"]
texture = ExtResource("2_ytrm0")

View file

@ -36,6 +36,7 @@ node_connections = [&"TimeScale", 0, &"Tree", &"output", 0, &"TimeScale"]
size = Vector2(49, 38)
[node name="Spikeweed" instance=ExtResource("1_vmbvr")]
internal_id = "spikeweed"
MaxHP = 30.0
[node name="Sprite2D" parent="." index="0"]
@ -54,9 +55,8 @@ tree_root = SubResource("AnimationNodeBlendTree_63okc")
parameters/TimeScale/scale = 1.0
parameters/Tree/blend_position = 0
[node name="Behaviour" type="Node" parent="." index="3" node_paths=PackedStringArray("_tree")]
[node name="Behaviour" type="Node" parent="." index="3"]
script = ExtResource("3_uhpn7")
_tree = NodePath("../AnimationTree")
[node name="Hitbox" parent="." index="4"]
collision_layer = 4

View file

@ -66,12 +66,14 @@ node_connections = [&"TimeScale", 0, &"Tree", &"output", 0, &"TimeScale"]
size = Vector2(26, 48)
[node name="Sunflower" instance=ExtResource("1_bikjn")]
internal_id = "sunflower"
MaxHP = 30.0
[node name="Sprite2D" parent="." index="0"]
texture = ExtResource("2_fwcda")
hframes = 9
vframes = 2
frame = 3
[node name="AnimationPlayer" parent="." index="1"]
libraries = {

View file

@ -135,6 +135,7 @@ resource_local_to_scene = true
resource_local_to_scene = true
[node name="Threepeater" instance=ExtResource("1_muntu")]
internal_id = "threepeater"
[node name="Sprite2D" parent="." index="0"]
position = Vector2(6, -13)

View file

@ -38,13 +38,14 @@ node_connections = [&"TimeScale", 0, &"Tree", &"output", 0, &"TimeScale"]
size = Vector2(33, 46)
[node name="Wallnut" instance=ExtResource("1_fluxn")]
internal_id = "wallnut"
MaxHP = 600.0
[node name="Sprite2D" parent="." index="0"]
texture = ExtResource("2_o5tda")
hframes = 12
vframes = 3
frame = 9
frame = 10
[node name="AnimationPlayer" parent="." index="1"]
libraries = {