From 41ca94f6b68e7db84d15fdb3315b55354c8997ab Mon Sep 17 00:00:00 2001 From: Stefano Pigozzi Date: Fri, 26 Apr 2024 01:57:57 +0200 Subject: [PATCH] Add slight sheep drag wobble --- entities/sheep.tscn | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/entities/sheep.tscn b/entities/sheep.tscn index a0e5076..11d778b 100644 --- a/entities/sheep.tscn +++ b/entities/sheep.tscn @@ -77,6 +77,7 @@ tracks/3/keys = { [sub_resource type="Animation" id="Animation_5yt72"] resource_name = "drag_loop" length = 1.2 +loop_mode = 2 step = 0.3 tracks/0/type = "value" tracks/0/imported = false @@ -97,10 +98,10 @@ tracks/1/path = NodePath("Sprite:rotation") tracks/1/interp = 2 tracks/1/loop_wrap = true tracks/1/keys = { -"times": PackedFloat32Array(0), -"transitions": PackedFloat32Array(1), +"times": PackedFloat32Array(0, 1.2), +"transitions": PackedFloat32Array(1, 1), "update": 0, -"values": [0.0] +"values": [0.0872665, -0.0872665] } tracks/2/type = "value" tracks/2/imported = false @@ -213,6 +214,7 @@ libraries = { } next/drag_loop = &"drag_loop" next/drag_start = &"drag_loop" +blend_times = [&"drag_start", &"drag_loop", 0.5] [node name="Edible" parent="." instance=ExtResource("6_3odsh")] diet = &"Meat"