Watering can animation plays when watering
This commit is contained in:
+68
-1
@@ -2010,6 +2010,71 @@ animations = [{
|
||||
}, {
|
||||
"frames": [{
|
||||
"duration": 1.0,
|
||||
"texture": ExtResource("229_2s7fx")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": ExtResource("230_ft22h")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": ExtResource("231_wvuim")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": ExtResource("232_yiifo")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": ExtResource("233_csnrs")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": ExtResource("234_i8lry")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": ExtResource("235_qr0ap")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": ExtResource("236_08v00")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": ExtResource("237_76nv2")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": ExtResource("238_3xrgm")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": ExtResource("239_ocv1s")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": ExtResource("240_pabw7")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": ExtResource("241_8dulv")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": ExtResource("242_2sx3q")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": ExtResource("243_wae3h")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": ExtResource("244_knca5")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": ExtResource("245_ojre6")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": ExtResource("246_pc1oo")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": ExtResource("247_7uiao")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": ExtResource("248_ej4wx")
|
||||
}],
|
||||
"loop": true,
|
||||
"name": &"diagonal wateringcan",
|
||||
"speed": 15.0
|
||||
}, {
|
||||
"frames": [{
|
||||
"duration": 1.0,
|
||||
"texture": ExtResource("249_hrc6p")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
@@ -3458,7 +3523,8 @@ position = Vector2(0, -374)
|
||||
[node name="Animated Sprites" type="AnimatedSprite2D" parent="CharacterBody2D/visuals"]
|
||||
position = Vector2(0, 450)
|
||||
sprite_frames = SubResource("SpriteFrames_4yiyq")
|
||||
animation = &"back walking rake"
|
||||
animation = &"diagonal wateringcan"
|
||||
frame_progress = 0.0934381
|
||||
offset = Vector2(0, -450)
|
||||
|
||||
[node name="Hoe" type="Sprite2D" parent="CharacterBody2D/visuals"]
|
||||
@@ -3505,3 +3571,4 @@ _movingPlayer = NodePath("../CharacterBody2D")
|
||||
_camera = NodePath("../CharacterBody2D/Camera2D")
|
||||
|
||||
[connection signal="PickedUpTool" from="." to="CharacterBody2D" method="ActivateTool"]
|
||||
[connection signal="WateringField" from="FarmingControls" to="CharacterBody2D" method="PlayWateringAnimation"]
|
||||
|
||||
Reference in New Issue
Block a user