Survival mode ready
This commit is contained in:
parent
0fff33d196
commit
7614b12076
50 changed files with 586 additions and 81 deletions
|
|
@ -1,4 +1,4 @@
|
|||
[gd_scene load_steps=13 format=3 uid="uid://b7innrovtmf5u"]
|
||||
[gd_scene load_steps=14 format=3 uid="uid://b7innrovtmf5u"]
|
||||
|
||||
[ext_resource type="PackedScene" uid="uid://dy41q1kxray5t" path="res://scenes/entities/plants/peashooter.tscn" id="1_lp85e"]
|
||||
[ext_resource type="Texture2D" uid="uid://cu0651pvvkmvm" path="res://assets/sprites/atlases/plants/snow_pea.png" id="2_ytrm0"]
|
||||
|
|
@ -22,7 +22,7 @@ tracks/0/keys = {
|
|||
|
||||
[sub_resource type="AnimationLibrary" id="AnimationLibrary_djmlc"]
|
||||
_data = {
|
||||
"RESET": SubResource("Animation_pephc")
|
||||
&"RESET": SubResource("Animation_pephc")
|
||||
}
|
||||
|
||||
[sub_resource type="AnimationNodeAnimation" id="AnimationNodeAnimation_dv2ad"]
|
||||
|
|
@ -49,6 +49,9 @@ states/snowpea_shoot/node = SubResource("AnimationNodeAnimation_ptach")
|
|||
states/snowpea_shoot/position = Vector2(682, 100)
|
||||
transitions = ["snowpea_shoot", "snowpea_idle", SubResource("AnimationNodeStateMachineTransition_8spty"), "Start", "snowpea_idle", SubResource("AnimationNodeStateMachineTransition_lshcr"), "snowpea_idle", "snowpea_shoot", SubResource("AnimationNodeStateMachineTransition_ihul0")]
|
||||
|
||||
[sub_resource type="SegmentShape2D" id="SegmentShape2D_3oyhk"]
|
||||
resource_local_to_scene = true
|
||||
|
||||
[node name="Snowpea" instance=ExtResource("1_lp85e")]
|
||||
|
||||
[node name="Sprite2D" parent="." index="0"]
|
||||
|
|
@ -56,8 +59,8 @@ texture = ExtResource("2_ytrm0")
|
|||
|
||||
[node name="AnimationPlayer" parent="." index="1"]
|
||||
libraries = {
|
||||
"": SubResource("AnimationLibrary_djmlc"),
|
||||
"snowpea": ExtResource("4_jvx5y")
|
||||
&"": SubResource("AnimationLibrary_djmlc"),
|
||||
&"snowpea": ExtResource("4_jvx5y")
|
||||
}
|
||||
autoplay = "snowpea/idle"
|
||||
|
||||
|
|
@ -66,3 +69,6 @@ tree_root = SubResource("AnimationNodeStateMachine_qdmro")
|
|||
|
||||
[node name="Shooter" parent="." index="3"]
|
||||
_projectile = ExtResource("5_bv86m")
|
||||
|
||||
[node name="CollisionShape2D" parent="Eysight" index="0"]
|
||||
shape = SubResource("SegmentShape2D_3oyhk")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue