summaryrefslogtreecommitdiff
path: root/include/player_data.h
blob: d9d45a1ab006904352f144402f8cc238b8423c18 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
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_