diff options
Diffstat (limited to 'include/player_data.h')
-rw-r--r-- | include/player_data.h | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/include/player_data.h b/include/player_data.h new file mode 100644 index 0000000..d9d45a1 --- /dev/null +++ b/include/player_data.h @@ -0,0 +1,31 @@ +#ifndef PLAYER_DATA_H_ +#define PLAYER_DATA_H_ + +#include "game.h" + +#define PLAYER_SPEED 300.0f + +const Rectangle shadowDestRect = (Rectangle) { + .x = -30, + .y = 100, + .width = 140, + .height = 40 +}; + +const Rectangle physicsCollider = (Rectangle) { + .x = NO_OFFSET, + .y = NO_OFFSET, + .width = 100, + .height = 100 +}; + +const Rectangle bodyDestRect = (Rectangle) { + .x = -160, + .y = -280, + .width = 400, + .height = 400 +}; + +#define IDLE_FTIME 0.1f + +#endif // PLAYER_DATA_H_ |