From a02e70fc6e4d71504dfdbc5086be8f57eb09f03f Mon Sep 17 00:00:00 2001 From: Rendo Date: Sat, 12 Jul 2025 02:14:19 +0500 Subject: [PATCH] hobo now jumps using impulse --- resources/animations/zombies/hobo.res | Bin 4735 -> 4724 bytes scenes/entities/Zombies/cone_zombie.tscn | 2 +- scenes/entities/Zombies/hobo.tscn | 41 ++++++++++++----------- scenes/entities/Zombies/zombie.tscn | 2 +- 4 files changed, 23 insertions(+), 22 deletions(-) diff --git a/resources/animations/zombies/hobo.res b/resources/animations/zombies/hobo.res index 2aea0265f1b7afd97fd0d0797a1f14339b2fef8d..7c046ef2cf3d7713ca1b4aa97437a6a756590e2b 100644 GIT binary patch delta 556 zcmV+{0@MBfB=jUHQd2`i0ssI201yBGX=MNavH}1Ao&o>>WdZ;ITmt|Ai2?us`vL#} zudyk-0z#z}0G8WcJRoz@VgL*P41m%gfM6g40s=Add~9(C*@UojRhx7Y0%T@pW=7qu z)#{bq-Q7!@tEx)fEEhD_z5X?`vnT_f4S#6_Ee!xd4>>q6k+TNCz@P;M4AIhvgn_|= zM-28Lv1sFrrFsU)PT;0GwFWzH%N+EFl5Va4VBfy_U3A#LvdI)3t`OHtv?s7S^JHP^ z@ee$j49Du-GG=n^%zKIU)-Sb@GS-pAe$>#4t=}^>I8IL~#kjDTG^Z656RA~YXSmK5tK@OMy?Uuf^Yz4n)Wh6?CU(4Rlx&L8?o@XybjpPs)G zR#6UMs1a>6MUs}ZvIg)15uu^&5`SQ%Bo89UMxqKTkgzDjP}q+H`6ON*Knm9}8X8;u ze`+GIY{kraXJg&}lAaIjEJcAqSFjIqQZGpO2s6kHY1ocAAk72(fG{K^eK8teFu&W! uq8}bXa}dUi5Mg>{?dFDO8Upf*1%DuZ&wZfxgdfsm2?6)(r3O?|Q$s_%XZN}Q delta 567 zcmV-70?7UJB>yBSQd2`i0ssI201yBGZDjxevH}1Ap8@~?WdZ;ITmt|Ai2?us`vL#} zxv?p{0z<770G1nHJuq?7V!*(_z@WGq3L;TZP@pT*pBA^0O$cK%?hwThG7 z#?#{;xU@NzRd!EX$+b8cjkLFhtPPa1mLv9~j+TV|AgTfC*yPMOUUeOg%S(rGVX=RS z-c?Xcuv{@W88S60p+v;$gLrUg0Qs35!-7imr4$lSuN_j$)oKxWt+1qcAdD!2q9}qM zmC8dnFgTe?Q&M;<$?b&Ap5{kwJ^+{_ZT4D|tfj#JNo|Isz5n;#e|kD9=$?uW{Q-ae z(Nlt-hW0!K9iFv%a$=|vZA3(pmb8De2JiwAso^#fV5A&SA_zxO1r=AM$gp1r`6ON* zK#uDe4Nk9rJ2n}#q{Yyv4o9vZCW!%g+XEmYE9PcFn#r5Ji<@xhSjr7KupMxKC@Yj^ZBT^M z0bv+UeHyu7ira@GA0AOt5r&Eo*uR<*<;Gze0`iOZf0+KmeYm%RA8PW4fcdp`0aQ{` FLqo9c`}qI> diff --git a/scenes/entities/Zombies/cone_zombie.tscn b/scenes/entities/Zombies/cone_zombie.tscn index 728c91a..a0e37a3 100644 --- a/scenes/entities/Zombies/cone_zombie.tscn +++ b/scenes/entities/Zombies/cone_zombie.tscn @@ -59,7 +59,7 @@ scale = Vector2(0.999831, 0.999831) scale = Vector2(0.999829, 0.999829) [node name="Body" parent="CanvasGroup/basic_zombie_walk/Zombie/Butt" index="3"] -scale = Vector2(0.999829, 0.999829) +scale = Vector2(0.999828, 0.999828) [node name="RightUpperArm" parent="CanvasGroup/basic_zombie_walk/Zombie/Butt/Body" index="0"] scale = Vector2(0.999827, 0.999827) diff --git a/scenes/entities/Zombies/hobo.tscn b/scenes/entities/Zombies/hobo.tscn index 2db0a63..dbf0ef3 100644 --- a/scenes/entities/Zombies/hobo.tscn +++ b/scenes/entities/Zombies/hobo.tscn @@ -752,7 +752,7 @@ node_connections = [&"TimeScale", 0, &"Tree", &"output", 0, &"TimeScale"] [sub_resource type="Resource" id="Resource_4248q"] resource_local_to_scene = true script = ExtResource("4_c1y3b") -flat_value = 0.2 +flat_value = 0.4 percentage_value = 0.0 mult_value = 1.0 @@ -771,7 +771,7 @@ scale = Vector2(0.999902, 0.999902) texture = SubResource("AtlasTexture_txjqc") [node name="RightUpperLeg" parent="CanvasGroup/basic_zombie_walk/Zombie/Butt" index="1"] -scale = Vector2(0.999829, 0.999829) +scale = Vector2(0.999822, 0.999822) [node name="Right_Upper_Leg" parent="CanvasGroup/basic_zombie_walk/Zombie/Butt/RightUpperLeg" index="0"] texture = SubResource("AtlasTexture_b583s") @@ -780,7 +780,7 @@ texture = SubResource("AtlasTexture_b583s") scale = Vector2(0.999832, 0.999832) [node name="RightFoot" parent="CanvasGroup/basic_zombie_walk/Zombie/Butt/RightUpperLeg/RightLowerLeg" index="0"] -scale = Vector2(0.999826, 0.999826) +scale = Vector2(0.999827, 0.999827) [node name="Right_Foot" parent="CanvasGroup/basic_zombie_walk/Zombie/Butt/RightUpperLeg/RightLowerLeg/RightFoot" index="0"] texture = SubResource("AtlasTexture_uoit3") @@ -789,34 +789,34 @@ texture = SubResource("AtlasTexture_uoit3") texture = SubResource("AtlasTexture_vn3j1") [node name="LeftUpperLeg" parent="CanvasGroup/basic_zombie_walk/Zombie/Butt" index="2"] -scale = Vector2(0.99983, 0.99983) +scale = Vector2(0.999827, 0.999827) [node name="Left_Upper_Leg" parent="CanvasGroup/basic_zombie_walk/Zombie/Butt/LeftUpperLeg" index="0"] texture = SubResource("AtlasTexture_yb81c") [node name="LeftLowerLeg" parent="CanvasGroup/basic_zombie_walk/Zombie/Butt/LeftUpperLeg" index="1"] -scale = Vector2(0.999828, 0.999828) +scale = Vector2(0.999835, 0.999835) [node name="Left_Lower_Leg" parent="CanvasGroup/basic_zombie_walk/Zombie/Butt/LeftUpperLeg/LeftLowerLeg" index="0"] texture = SubResource("AtlasTexture_nlwsb") [node name="LeftFoot" parent="CanvasGroup/basic_zombie_walk/Zombie/Butt/LeftUpperLeg/LeftLowerLeg" index="1"] -scale = Vector2(0.999824, 0.999824) +scale = Vector2(0.999823, 0.999823) [node name="Left_Foot" parent="CanvasGroup/basic_zombie_walk/Zombie/Butt/LeftUpperLeg/LeftLowerLeg/LeftFoot" index="0"] texture = SubResource("AtlasTexture_8y6c0") [node name="Body" parent="CanvasGroup/basic_zombie_walk/Zombie/Butt" index="3"] -scale = Vector2(0.999827, 0.999827) +scale = Vector2(0.999824, 0.999824) [node name="RightUpperArm" parent="CanvasGroup/basic_zombie_walk/Zombie/Butt/Body" index="0"] -scale = Vector2(0.999829, 0.999829) +scale = Vector2(0.999823, 0.999823) [node name="Right_Upper_Arm" parent="CanvasGroup/basic_zombie_walk/Zombie/Butt/Body/RightUpperArm" index="0"] texture = SubResource("AtlasTexture_nc6p3") [node name="RightLowerArm" parent="CanvasGroup/basic_zombie_walk/Zombie/Butt/Body/RightUpperArm" index="1"] -scale = Vector2(0.999816, 0.999816) +scale = Vector2(0.999817, 0.999817) [node name="RightHand" parent="CanvasGroup/basic_zombie_walk/Zombie/Butt/Body/RightUpperArm/RightLowerArm" index="0"] scale = Vector2(0.999828, 0.999828) @@ -831,7 +831,7 @@ texture = SubResource("AtlasTexture_op0h6") texture = SubResource("AtlasTexture_0s5wm") [node name="Tie" parent="CanvasGroup/basic_zombie_walk/Zombie/Butt/Body" index="2"] -rotation = 0.0289312 +rotation = 0.0126247 scale = Vector2(1e-05, 1e-05) [node name="Tie" parent="CanvasGroup/basic_zombie_walk/Zombie/Butt/Body/Tie" index="0"] @@ -867,12 +867,13 @@ position = Vector2(-4.9999, -5.0002) shape = SubResource("CapsuleShape2D_4248q") [node name="Head" parent="CanvasGroup/basic_zombie_walk/Zombie/Butt/Body" index="4"] -scale = Vector2(0.999826, 0.999826) +scale = Vector2(0.999827, 0.999827) [node name="Head" parent="CanvasGroup/basic_zombie_walk/Zombie/Butt/Body/Head/HeadParticle" index="0"] texture = SubResource("AtlasTexture_pjhfy") [node name="Right_Eye" parent="CanvasGroup/basic_zombie_walk/Zombie/Butt/Body/Head/HeadParticle/Head" index="0"] +position = Vector2(-16, -8) scale = Vector2(1, 1) [node name="Left_Eye" parent="CanvasGroup/basic_zombie_walk/Zombie/Butt/Body/Head/HeadParticle/Head" index="1"] @@ -881,8 +882,8 @@ scale = Vector2(1, 1) [node name="Jaw" parent="CanvasGroup/basic_zombie_walk/Zombie/Butt/Body/Head/HeadParticle/Head" index="2"] position = Vector2(-3, 3) -rotation = -0.0470548 -scale = Vector2(0.99983, 0.99983) +rotation = -0.0205333 +scale = Vector2(0.999825, 0.999825) texture = SubResource("AtlasTexture_7cvmi") offset = Vector2(-14, -2) @@ -895,7 +896,7 @@ offset = Vector2(-0.5, -0.5) metadata/_edit_lock_ = true [node name="Jaw" parent="CanvasGroup/basic_zombie_walk/Zombie/Butt/Body/Head" index="1"] -scale = Vector2(0.99983, 0.99983) +scale = Vector2(0.999825, 0.999825) [node name="TrashcanLid" type="Bone2D" parent="CanvasGroup/basic_zombie_walk/Zombie/Butt/Body/Head" index="4"] position = Vector2(-0.0022974, -17.0131) @@ -910,26 +911,26 @@ editor_settings/show_bone_gizmo = false remote_path = NodePath("../../HeadParticle/Head/Trashcan_lid") [node name="LeftUpperArm" parent="CanvasGroup/basic_zombie_walk/Zombie/Butt/Body" index="5"] -scale = Vector2(0.999828, 0.999828) +scale = Vector2(0.999826, 0.999826) [node name="Left_Upper_Arm" parent="CanvasGroup/basic_zombie_walk/Zombie/Butt/Body/LeftUpperArm" index="0"] texture = SubResource("AtlasTexture_tebih") [node name="Left_Lower_Arm" parent="CanvasGroup/basic_zombie_walk/Zombie/Butt/Body/LeftUpperArm/HandProjectile" index="0"] -rotation = 0.0260983 -scale = Vector2(0.999999, 0.999999) +rotation = 0.0113885 +scale = Vector2(0.999995, 0.999995) texture = SubResource("AtlasTexture_auxav") [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) -scale = Vector2(0.999654, 0.999654) +scale = Vector2(0.999652, 0.999652) texture = SubResource("AtlasTexture_dntsa") [node name="LeftLowerArm" parent="CanvasGroup/basic_zombie_walk/Zombie/Butt/Body/LeftUpperArm" index="2"] -scale = Vector2(0.999829, 0.999829) +scale = Vector2(0.999825, 0.999825) [node name="LeftHand" parent="CanvasGroup/basic_zombie_walk/Zombie/Butt/Body/LeftUpperArm/LeftLowerArm" index="0"] -scale = Vector2(0.999824, 0.999824) +scale = Vector2(0.999822, 0.999822) [node name="AnimationPlayer" parent="CanvasGroup/basic_zombie_walk" index="1"] libraries = { diff --git a/scenes/entities/Zombies/zombie.tscn b/scenes/entities/Zombies/zombie.tscn index 4ad3f55..ce60b89 100644 --- a/scenes/entities/Zombies/zombie.tscn +++ b/scenes/entities/Zombies/zombie.tscn @@ -767,7 +767,7 @@ node_connections = [&"TimeScale", 0, &"Tree", &"output", 0, &"TimeScale"] [sub_resource type="Resource" id="Resource_ckb7n"] resource_local_to_scene = true script = ExtResource("7_b3p4o") -flat_value = 0.2 +flat_value = 0.4 percentage_value = 0.0 mult_value = 1.0