feat(player): redid all the movement code more details in desc

- had to tamper at init with the map pointer to allow player to move
- tweaked movement speed
- allowed for multiple keys to be pressed at the same time
- added collisions
- had to modify minimap code because it segfaulted due to old code
This commit is contained in:
Theo Champion 2025-07-29 14:58:30 +02:00
parent ac94e9e937
commit faf5127829
11 changed files with 143 additions and 40 deletions

View file

@ -21,6 +21,8 @@ SOURCEFILES = \
src/utils/hooks.c \
src/map/map_checker.c \
src/player/angle.c \
src/player/player.c \
src/player/move.c \
OBJECTS = $(SOURCEFILES:.c=.o)
NAME = cub3d