Имправление спрайта игрока при изменении состояния
This commit is contained in:
parent
f62a8d5f1c
commit
636fb16f7e
2 changed files with 6 additions and 3 deletions
|
@ -2,13 +2,15 @@
|
||||||
|
|
||||||
## Who made this game
|
## Who made this game
|
||||||
|
|
||||||
- friendlywithmeat - coding
|
- friendlywithmeat [Evgeniy Titarenko] - coding
|
||||||
- mrzuerg - graphics and level design
|
- mrzuerg [Nikolai Gilev] - graphics, level design, story
|
||||||
|
- Polina Gileva - music
|
||||||
|
|
||||||
|
|
||||||
## Used resources
|
## Used resources
|
||||||
|
|
||||||
- zx spectrum font - Sizenko Alexander from (Style-7)
|
- zx spectrum font - Sizenko Alexander from (Style-7)
|
||||||
- footsteps & doors sounds - [Kenney](http://www.kenney.nl/)
|
- footsteps & doors sounds, ui graphics - [Kenney](http://www.kenney.nl/)
|
||||||
|
|
||||||
## Tools
|
## Tools
|
||||||
|
|
||||||
|
|
|
@ -24,6 +24,7 @@ public partial class Player : CharacterBody2D
|
||||||
get => _state;
|
get => _state;
|
||||||
private set
|
private set
|
||||||
{
|
{
|
||||||
|
_sprite.Play("default");
|
||||||
switch (value)
|
switch (value)
|
||||||
{
|
{
|
||||||
case State.Normal:
|
case State.Normal:
|
||||||
|
|
Loading…
Add table
Reference in a new issue