Adjust player idle animation frame time.
This commit is contained in:
parent
145ea71bd9
commit
3060f2910c
|
|
@ -7,7 +7,7 @@
|
|||
#include "animation_system.h"
|
||||
|
||||
#define PLAYER_DEFAULT_SPEED 80.0f // px / s
|
||||
#define PLAYER_DEFAULT_IDLE_ANIMATION_SPEED 250.0f // ms / frame
|
||||
#define PLAYER_DEFAULT_IDLE_ANIMATION_SPEED 500.0f // ms / frame
|
||||
#define PLAYER_DEFAULT_WALK_ANIMATION_SPEED 160.0f // ms / frame
|
||||
|
||||
typedef enum player_state_t {
|
||||
|
|
|
|||
Loading…
Reference in New Issue