fixed hp based plants
This commit is contained in:
parent
2295f52ba8
commit
f351e53a03
7 changed files with 261 additions and 36 deletions
|
|
@ -1,4 +1,4 @@
|
|||
[gd_scene load_steps=15 format=3 uid="uid://hhjbqkjqpt7x"]
|
||||
[gd_scene load_steps=16 format=3 uid="uid://hhjbqkjqpt7x"]
|
||||
|
||||
[ext_resource type="PackedScene" uid="uid://co11v3w8hbwgf" path="res://scenes/entities/Zombies/zombie.tscn" id="1_3dq4c"]
|
||||
[ext_resource type="Shader" uid="uid://d0eo5uuj222c4" path="res://assets/shaders/CG_color_blender.gdshader" id="2_2dq8e"]
|
||||
|
|
@ -20,6 +20,13 @@ shader_parameter/amount = 0.0
|
|||
|
||||
[sub_resource type="CircleShape2D" id="CircleShape2D_67t4t"]
|
||||
|
||||
[sub_resource type="Resource" id="Resource_011r0"]
|
||||
resource_local_to_scene = true
|
||||
script = ExtResource("4_qof5v")
|
||||
flat_value = 5.0
|
||||
percentage_value = 0.0
|
||||
mult_value = 1.0
|
||||
|
||||
[sub_resource type="Resource" id="Resource_b6mal"]
|
||||
resource_local_to_scene = true
|
||||
script = ExtResource("4_qof5v")
|
||||
|
|
@ -34,48 +41,53 @@ _armor = NodePath("Armor")
|
|||
material = SubResource("ShaderMaterial_sat5k")
|
||||
|
||||
[node name="RightUpperLeg" parent="CanvasGroup/basic_zombie_walk/Zombie/Butt" index="1"]
|
||||
scale = Vector2(0.999835, 0.999835)
|
||||
scale = Vector2(0.999832, 0.999832)
|
||||
|
||||
[node name="RightLowerLeg" parent="CanvasGroup/basic_zombie_walk/Zombie/Butt/RightUpperLeg" index="1"]
|
||||
scale = Vector2(0.999834, 0.999834)
|
||||
scale = Vector2(0.999835, 0.999835)
|
||||
|
||||
[node name="RightFoot" parent="CanvasGroup/basic_zombie_walk/Zombie/Butt/RightUpperLeg/RightLowerLeg" index="0"]
|
||||
scale = Vector2(0.999832, 0.999832)
|
||||
scale = Vector2(0.999836, 0.999836)
|
||||
|
||||
[node name="LeftUpperLeg" parent="CanvasGroup/basic_zombie_walk/Zombie/Butt" index="2"]
|
||||
scale = Vector2(0.999834, 0.999834)
|
||||
|
||||
[node name="LeftLowerLeg" parent="CanvasGroup/basic_zombie_walk/Zombie/Butt/LeftUpperLeg" index="1"]
|
||||
scale = Vector2(0.999835, 0.999835)
|
||||
scale = Vector2(0.999836, 0.999836)
|
||||
|
||||
[node name="LeftFoot" parent="CanvasGroup/basic_zombie_walk/Zombie/Butt/LeftUpperLeg/LeftLowerLeg" index="1"]
|
||||
scale = Vector2(0.99983, 0.99983)
|
||||
scale = Vector2(0.999828, 0.999828)
|
||||
|
||||
[node name="Body" parent="CanvasGroup/basic_zombie_walk/Zombie/Butt" index="3"]
|
||||
scale = Vector2(0.999829, 0.999829)
|
||||
|
||||
[node name="RightUpperArm" parent="CanvasGroup/basic_zombie_walk/Zombie/Butt/Body" index="0"]
|
||||
scale = Vector2(0.999826, 0.999826)
|
||||
scale = Vector2(0.99983, 0.99983)
|
||||
|
||||
[node name="RightLowerArm" parent="CanvasGroup/basic_zombie_walk/Zombie/Butt/Body/RightUpperArm" index="1"]
|
||||
scale = Vector2(0.999826, 0.999826)
|
||||
scale = Vector2(0.99983, 0.99983)
|
||||
|
||||
[node name="RightHand" parent="CanvasGroup/basic_zombie_walk/Zombie/Butt/Body/RightUpperArm/RightLowerArm" index="0"]
|
||||
scale = Vector2(0.99983, 0.99983)
|
||||
|
||||
[node name="Tie" parent="CanvasGroup/basic_zombie_walk/Zombie/Butt/Body" index="2"]
|
||||
rotation = 0.16518
|
||||
skew = -9.81092e-05
|
||||
rotation = -0.146474
|
||||
skew = -9.9659e-05
|
||||
|
||||
[node name="Head" parent="CanvasGroup/basic_zombie_walk/Zombie/Butt/Body" index="3"]
|
||||
scale = Vector2(0.999827, 0.999827)
|
||||
|
||||
[node name="Right_Eye" parent="CanvasGroup/basic_zombie_walk/Zombie/Butt/Body/Head/HeadParticle/Head" index="0"]
|
||||
position = Vector2(-16, -8.00001)
|
||||
position = Vector2(-16, -7.99999)
|
||||
scale = Vector2(1, 1)
|
||||
|
||||
[node name="Left_Eye" parent="CanvasGroup/basic_zombie_walk/Zombie/Butt/Body/Head/HeadParticle/Head" index="1"]
|
||||
position = Vector2(-4, -9)
|
||||
scale = Vector2(1, 1)
|
||||
|
||||
[node name="Jaw" parent="CanvasGroup/basic_zombie_walk/Zombie/Butt/Body/Head/HeadParticle/Head" index="2"]
|
||||
position = Vector2(-2.99036, 2.96833)
|
||||
rotation = 0.0171523
|
||||
position = Vector2(-2.8181, 2.56097)
|
||||
rotation = -0.102313
|
||||
scale = Vector2(0.999828, 0.999828)
|
||||
|
||||
[node name="Jaw" parent="CanvasGroup/basic_zombie_walk/Zombie/Butt/Body/Head" index="1"]
|
||||
|
|
@ -109,26 +121,29 @@ position = Vector2(1, -6)
|
|||
shape = SubResource("CircleShape2D_67t4t")
|
||||
|
||||
[node name="LeftUpperArm" parent="CanvasGroup/basic_zombie_walk/Zombie/Butt/Body" index="4"]
|
||||
scale = Vector2(0.999829, 0.999829)
|
||||
scale = Vector2(0.999827, 0.999827)
|
||||
|
||||
[node name="Left_Lower_Arm" parent="CanvasGroup/basic_zombie_walk/Zombie/Butt/Body/LeftUpperArm/HandProjectile" index="0"]
|
||||
rotation = 0.160346
|
||||
scale = Vector2(0.999999, 0.999999)
|
||||
rotation = -0.15525
|
||||
scale = Vector2(1, 1)
|
||||
|
||||
[node name="Left_Hand" parent="CanvasGroup/basic_zombie_walk/Zombie/Butt/Body/LeftUpperArm/HandProjectile/Left_Lower_Arm" index="0"]
|
||||
position = Vector2(-0.99983, 12.9978)
|
||||
rotation = -0.0733402
|
||||
scale = Vector2(0.999659, 0.999659)
|
||||
position = Vector2(-0.999828, 12.9978)
|
||||
rotation = -0.127972
|
||||
scale = Vector2(0.999657, 0.999657)
|
||||
|
||||
[node name="LeftLowerArm" parent="CanvasGroup/basic_zombie_walk/Zombie/Butt/Body/LeftUpperArm" index="2"]
|
||||
scale = Vector2(0.999829, 0.999829)
|
||||
scale = Vector2(0.99983, 0.99983)
|
||||
|
||||
[node name="LeftHand" parent="CanvasGroup/basic_zombie_walk/Zombie/Butt/Body/LeftUpperArm/LeftLowerArm" index="0"]
|
||||
scale = Vector2(0.999829, 0.999829)
|
||||
scale = Vector2(0.999827, 0.999827)
|
||||
|
||||
[node name="Eatbox" parent="." index="2"]
|
||||
_damage = SubResource("Resource_011r0")
|
||||
|
||||
[node name="Mover" parent="." index="4"]
|
||||
_speed = SubResource("Resource_b6mal")
|
||||
_speedControlMult = 1.48524
|
||||
_speedControlMult = 0.899509
|
||||
|
||||
[node name="Armor" type="Node" parent="." index="6"]
|
||||
script = ExtResource("3_5s7in")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue