Statistics done

This commit is contained in:
Rendo 2025-07-26 04:06:35 +05:00
commit e9f230d4cc
17 changed files with 218 additions and 153 deletions

View file

@ -1,4 +1,4 @@
[gd_scene load_steps=60 format=3 uid="uid://co11v3w8hbwgf"]
[gd_scene load_steps=61 format=3 uid="uid://co11v3w8hbwgf"]
[ext_resource type="Script" uid="uid://dildme6epx8l4" path="res://scripts/entities/zombies/RuntimeZombieData.cs" id="1_qq3f1"]
[ext_resource type="Material" uid="uid://jr0vpg030jqv" path="res://assets/ZombieMaterial.tres" id="2_b51fx"]
@ -9,6 +9,7 @@
[ext_resource type="Texture2D" uid="uid://dacgbwohpmeed" path="res://assets/sprites/zombies/basic.png" id="6_xnora"]
[ext_resource type="Script" uid="uid://c3cfnrmnnuqms" path="res://addons/floatmodifiers/FloatModifiers.cs" id="7_b3p4o"]
[ext_resource type="Script" uid="uid://dt5uj25u0g6y3" path="res://scripts/particles/FallParticle.cs" id="7_dn8ha"]
[ext_resource type="Script" uid="uid://dw7v3s4kbu7ma" path="res://scripts/entities/EatingStatistics.cs" id="8_b51fx"]
[ext_resource type="AnimationNodeStateMachine" uid="uid://dj0blope85bg7" path="res://assets/animations/zombies/basic_zombie_tree.tres" id="8_ckb7n"]
[ext_resource type="Script" uid="uid://dau0tfmlfiqmo" path="res://scripts/entities/EntityHPObserver.cs" id="8_mc1kl"]
[ext_resource type="Texture2D" uid="uid://dri70dxyks7xh" path="res://assets/sprites/zombies/hobo.png" id="9_b51fx"]
@ -949,7 +950,6 @@ metadata/_edit_lock_ = true
[node name="Tie" type="Bone2D" parent="CanvasGroup/basic_zombie_walk/Zombie/Butt/Body"]
position = Vector2(-9, -21)
rotation = 0.066195
skew = -0.000473261
rest = Transform2D(1, 0, 0, 1, -9, -21)
auto_calculate_length_and_angle = false
@ -987,22 +987,21 @@ offset = Vector2(-20, -24)
metadata/_edit_lock_ = true
[node name="Right_Eye" type="Sprite2D" parent="CanvasGroup/basic_zombie_walk/Zombie/Butt/Body/Head/HeadParticle/Head"]
position = Vector2(-16, -8)
position = Vector2(-16.0072, -8.007)
texture = SubResource("AtlasTexture_vcc72")
centered = false
offset = Vector2(-2, -2)
metadata/_edit_lock_ = true
[node name="Left_Eye" type="Sprite2D" parent="CanvasGroup/basic_zombie_walk/Zombie/Butt/Body/Head/HeadParticle/Head"]
position = Vector2(-4, -9)
position = Vector2(-5.00342, -9.00735)
texture = SubResource("AtlasTexture_kto0i")
centered = false
offset = Vector2(-2, -2)
metadata/_edit_lock_ = true
[node name="Jaw" type="Sprite2D" parent="CanvasGroup/basic_zombie_walk/Zombie/Butt/Body/Head/HeadParticle/Head"]
position = Vector2(-3.00081, 2.99862)
rotation = 0.00642401
position = Vector2(-3, 3)
scale = Vector2(0.999831, 0.999831)
texture = SubResource("AtlasTexture_x5uj2")
centered = false
@ -1076,7 +1075,7 @@ minTorque = -45.0
maxTorque = 45.0
[node name="Left_Lower_Arm" type="Sprite2D" parent="CanvasGroup/basic_zombie_walk/Zombie/Butt/Body/LeftUpperArm/HandProjectile"]
rotation = 0.0622378
rotation = 1.5708
scale = Vector2(1, 1)
texture = SubResource("AtlasTexture_auqeq")
centered = false
@ -1085,8 +1084,7 @@ metadata/_edit_lock_ = true
[node name="Left_Hand" type="Sprite2D" parent="CanvasGroup/basic_zombie_walk/Zombie/Butt/Body/LeftUpperArm/HandProjectile/Left_Lower_Arm"]
show_behind_parent = true
position = Vector2(-0.99983, 12.9978)
rotation = -0.0274679
position = Vector2(-2.00154, 13.0058)
scale = Vector2(0.999663, 0.999663)
texture = SubResource("AtlasTexture_vlvtp")
centered = false
@ -1129,6 +1127,10 @@ libraries = {
&"basic": ExtResource("9_y6afe")
}
[node name="EatingStatistics" type="Node" parent="CanvasGroup/basic_zombie_walk/AnimationPlayer"]
script = ExtResource("8_b51fx")
animationName = "basic/eating"
[node name="Hitbox" type="Area2D" parent="."]
collision_layer = 8
collision_mask = 0