updated sprites
parent
0797d6cc4a
commit
8ef18b0ae1
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.
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.
|
@ -252,7 +252,7 @@ physics_layer_0/collision_layer = 1
|
||||||
sources/2 = SubResource("TileSetAtlasSource_5yxvt")
|
sources/2 = SubResource("TileSetAtlasSource_5yxvt")
|
||||||
sources/0 = SubResource("TileSetAtlasSource_fcd6d")
|
sources/0 = SubResource("TileSetAtlasSource_fcd6d")
|
||||||
|
|
||||||
[sub_resource type="ShaderMaterial" id="ShaderMaterial_i75i0"]
|
[sub_resource type="ShaderMaterial" id="ShaderMaterial_uhsxa"]
|
||||||
resource_local_to_scene = true
|
resource_local_to_scene = true
|
||||||
shader = ExtResource("5_h8k5p")
|
shader = ExtResource("5_h8k5p")
|
||||||
shader_parameter/color = Quaternion(1, 1, 1, 1)
|
shader_parameter/color = Quaternion(1, 1, 1, 1)
|
||||||
|
@ -344,7 +344,7 @@ visible = false
|
||||||
position = Vector2(120, -112)
|
position = Vector2(120, -112)
|
||||||
|
|
||||||
[node name="Doc" parent="Entities" index="18" instance=ExtResource("4_ej0f3")]
|
[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"]
|
[node name="PointLight2D" type="PointLight2D" parent="Entities" index="19"]
|
||||||
position = Vector2(168, -42)
|
position = Vector2(168, -42)
|
||||||
|
|
|
@ -17,9 +17,9 @@ public partial class NPCIdleState : NPCState
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
public override IState<CharacterState> Enter(IState<CharacterState> previousState)
|
public override IState<CharacterState> Enter(IState<CharacterState> prev)
|
||||||
{
|
{
|
||||||
Character.MovementAnimation.Play("idle");
|
Character.MovementAnimation?.Play("idle");
|
||||||
return base.Enter(previousState);
|
return base.Enter(prev);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue