diff options
author | JozanLeClerc <bousset.rudy@gmail.com> | 2020-04-19 18:46:10 +0200 |
---|---|---|
committer | JozanLeClerc <bousset.rudy@gmail.com> | 2020-04-19 18:46:10 +0200 |
commit | 5f6b5490f80be9e792ccaeb18548cca54a62826f (patch) | |
tree | 029898cbaa860a060cb01b8db62c5b4414af8812 /inc | |
parent | Minilibx update (diff) | |
download | 42-cub3d-5f6b5490f80be9e792ccaeb18548cca54a62826f.tar.gz 42-cub3d-5f6b5490f80be9e792ccaeb18548cca54a62826f.tar.bz2 42-cub3d-5f6b5490f80be9e792ccaeb18548cca54a62826f.tar.xz 42-cub3d-5f6b5490f80be9e792ccaeb18548cca54a62826f.tar.zst 42-cub3d-5f6b5490f80be9e792ccaeb18548cca54a62826f.zip |
Fixed enemy hitbox
Diffstat (limited to 'inc')
-rw-r--r-- | inc/cub3d_defines.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/inc/cub3d_defines.h b/inc/cub3d_defines.h index bbc785f..da9ae93 100644 --- a/inc/cub3d_defines.h +++ b/inc/cub3d_defines.h @@ -174,8 +174,8 @@ enum */ # define FT_MOVE_SPEED 0.18 -# define FT_STRAFE_SPEED 0.15 -# define FT_ROT_SPEED 0.15 +# define FT_STRAFE_SPEED 0.13 +# define FT_ROT_SPEED 0.13 /* ** ====== COLLISION ====== @@ -327,6 +327,7 @@ enum # define FT_ENMY_STRT_LIFE 10 # define FT_ENMY_SIGHT_RANGE 8.5 # define FT_ENMY_DAMAGE_AMOUNT 14 +# define FT_ENMY_MOVE_SPEED 0.44 # define FT_WEAP_ONE_VEL 900.0 # define FT_WEAP_TWO_VEL 450.0 # define FT_WEAP_THREE_VEL 1400.0 |