updated sprites

godot-4.1.1
HumanoidSandvichDispenser 2023-07-27 11:39:24 -07:00
parent 0797d6cc4a
commit 8ef18b0ae1
Signed by: sandvich
GPG Key ID: 9A39BE37E602B22D
10 changed files with 5 additions and 5 deletions

Binary file not shown.

Binary file not shown.

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.2 KiB

After

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.5 KiB

After

Width:  |  Height:  |  Size: 1.7 KiB

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -252,7 +252,7 @@ physics_layer_0/collision_layer = 1
sources/2 = SubResource("TileSetAtlasSource_5yxvt")
sources/0 = SubResource("TileSetAtlasSource_fcd6d")
[sub_resource type="ShaderMaterial" id="ShaderMaterial_i75i0"]
[sub_resource type="ShaderMaterial" id="ShaderMaterial_uhsxa"]
resource_local_to_scene = true
shader = ExtResource("5_h8k5p")
shader_parameter/color = Quaternion(1, 1, 1, 1)
@ -344,7 +344,7 @@ visible = false
position = Vector2(120, -112)
[node name="Doc" parent="Entities" index="18" instance=ExtResource("4_ej0f3")]
material = SubResource("ShaderMaterial_i75i0")
material = SubResource("ShaderMaterial_uhsxa")
[node name="PointLight2D" type="PointLight2D" parent="Entities" index="19"]
position = Vector2(168, -42)

View File

@ -17,9 +17,9 @@ public partial class NPCIdleState : NPCState
return null;
}
public override IState<CharacterState> Enter(IState<CharacterState> previousState)
public override IState<CharacterState> Enter(IState<CharacterState> prev)
{
Character.MovementAnimation.Play("idle");
return base.Enter(previousState);
Character.MovementAnimation?.Play("idle");
return base.Enter(prev);
}
}