]> git.dkaiser.de - 42/so_long.git/log
42/so_long.git
18 months agoMerge map-checker into master master
Dominik Kaiser [Mon, 10 Jun 2024 14:40:28 +0000 (16:40 +0200)]
Merge map-checker into master

Map checker

18 months agoCleanup
Dominik Kaiser [Mon, 10 Jun 2024 14:39:55 +0000 (16:39 +0200)]
Cleanup

18 months agoSet window size to fit map
Dominik Kaiser [Wed, 29 May 2024 14:34:45 +0000 (16:34 +0200)]
Set window size to fit map

18 months agoAdd map checking
Dominik Kaiser [Wed, 29 May 2024 14:34:17 +0000 (16:34 +0200)]
Add map checking

18 months agoAdd maps
Dominik Kaiser [Wed, 29 May 2024 14:33:44 +0000 (16:33 +0200)]
Add maps

18 months agoRemove gravity
Dominik Kaiser [Wed, 29 May 2024 11:19:39 +0000 (13:19 +0200)]
Remove gravity

I'd prefer to have gravity, but unfortunately it would take up to much
time to create a checker for the path that would work with it.
Definitely not a decision I'm happy about. Will probably revisit that
in another project.

18 months agoAdd new valid map
Dominik Kaiser [Wed, 29 May 2024 11:19:24 +0000 (13:19 +0200)]
Add new valid map

18 months agoMerge collectibles-and-exit into master
Dominik Kaiser [Wed, 29 May 2024 11:11:19 +0000 (13:11 +0200)]
Merge collectibles-and-exit into master

Collectibles and exit

18 months agoAdd collectibles
Dominik Kaiser [Mon, 20 May 2024 18:30:41 +0000 (20:30 +0200)]
Add collectibles

Exit now only works after collecting everything.
I don't really like my current solution, but it works for now.

18 months agoExit game when reaching the exit
Dominik Kaiser [Wed, 15 May 2024 15:56:01 +0000 (17:56 +0200)]
Exit game when reaching the exit

18 months agoDraw exit
Dominik Kaiser [Wed, 15 May 2024 15:35:56 +0000 (17:35 +0200)]
Draw exit

18 months agoMerge refactoring into master
Dominik Kaiser [Wed, 15 May 2024 15:02:29 +0000 (17:02 +0200)]
Merge refactoring into master

Refactoring

18 months agoRemoving collider variable from player_process
Dominik Kaiser [Wed, 15 May 2024 15:00:30 +0000 (17:00 +0200)]
Removing collider variable from player_process

18 months agoRename draw_map() to draw_walls()
Dominik Kaiser [Wed, 15 May 2024 14:58:49 +0000 (16:58 +0200)]
Rename draw_map() to draw_walls()

18 months agoMake collision functions more generic
Dominik Kaiser [Wed, 15 May 2024 13:21:18 +0000 (15:21 +0200)]
Make collision functions more generic

18 months agoResolve some norme errors
Dominik Kaiser [Wed, 15 May 2024 13:10:55 +0000 (15:10 +0200)]
Resolve some norme errors

18 months agoChange collision function input to t_collider
Dominik Kaiser [Wed, 15 May 2024 13:09:01 +0000 (15:09 +0200)]
Change collision function input to t_collider

18 months agoRename t_player to t_actor
Dominik Kaiser [Wed, 15 May 2024 12:49:40 +0000 (14:49 +0200)]
Rename t_player to t_actor

18 months agoAdd gravity and jumping
Dominik Kaiser [Wed, 15 May 2024 12:04:28 +0000 (14:04 +0200)]
Add gravity and jumping

18 months agoMerge collision into master
Dominik Kaiser [Wed, 15 May 2024 10:36:00 +0000 (12:36 +0200)]
Merge collision into master

Collision

18 months agoChange collision checking and add player.size
Dominik Kaiser [Wed, 15 May 2024 10:16:05 +0000 (12:16 +0200)]
Change collision checking and add player.size

Collision checking will now be done using the move_and_slide function.
Instead of tile_size, now player.size will be used for checking collisions.

18 months agoImplement (somewhat) functional collision
Dominik Kaiser [Tue, 14 May 2024 13:13:26 +0000 (15:13 +0200)]
Implement (somewhat) functional collision

18 months agoAdd map_utils.c
Dominik Kaiser [Tue, 14 May 2024 12:12:42 +0000 (14:12 +0200)]
Add map_utils.c

18 months agoOutsource player processing and add collision func
Dominik Kaiser [Tue, 14 May 2024 10:45:49 +0000 (12:45 +0200)]
Outsource player processing and add collision func

19 months agoMerge map-input into master
Dominik Kaiser [Sat, 11 May 2024 14:46:09 +0000 (16:46 +0200)]
Merge map-input into master

Read map input from file and display on screen
TODO: Display Collectibles and Exit

19 months agoAdd second valid map
Dominik Kaiser [Sat, 11 May 2024 14:44:27 +0000 (16:44 +0200)]
Add second valid map

19 months agoAdd wall rendering
Dominik Kaiser [Sat, 11 May 2024 14:27:45 +0000 (16:27 +0200)]
Add wall rendering

19 months agoFinish map input
Dominik Kaiser [Sat, 11 May 2024 14:26:51 +0000 (16:26 +0200)]
Finish map input

19 months agoAdd some maps
Dominik Kaiser [Fri, 10 May 2024 15:39:55 +0000 (17:39 +0200)]
Add some maps

19 months agoAdd tilemap loading
Dominik Kaiser [Fri, 10 May 2024 15:39:41 +0000 (17:39 +0200)]
Add tilemap loading

19 months agoAdd tilemap.c and read map size
Dominik Kaiser [Fri, 10 May 2024 13:53:31 +0000 (15:53 +0200)]
Add tilemap.c and read map size

19 months agoMake loop.c norme conform
Dominik Kaiser [Fri, 10 May 2024 11:20:11 +0000 (13:20 +0200)]
Make loop.c norme conform

19 months agoResize player
Dominik Kaiser [Fri, 10 May 2024 11:11:26 +0000 (13:11 +0200)]
Resize player

19 months agoFix Makefile
Dominik Kaiser [Fri, 10 May 2024 11:07:53 +0000 (13:07 +0200)]
Fix Makefile

19 months agoAdd delta_time to player movement
Dominik Kaiser [Fri, 10 May 2024 11:07:27 +0000 (13:07 +0200)]
Add delta_time to player movement

19 months agoMerge migrate-to-mlx42 into master
Dominik Kaiser [Fri, 10 May 2024 10:26:25 +0000 (12:26 +0200)]
Merge migrate-to-mlx42 into master

Migrate from the old mlx to MLX42

19 months agoUpdate Include path
Dominik Kaiser [Fri, 10 May 2024 10:24:33 +0000 (12:24 +0200)]
Update Include path

19 months agoMake norminette happy
Dominik Kaiser [Fri, 10 May 2024 10:17:52 +0000 (12:17 +0200)]
Make norminette happy

19 months agoChange input handling to MLX42 approach
Dominik Kaiser [Fri, 10 May 2024 10:12:24 +0000 (12:12 +0200)]
Change input handling to MLX42 approach

19 months agoReplicate main functionality in MLX42
Dominik Kaiser [Fri, 10 May 2024 10:01:25 +0000 (12:01 +0200)]
Replicate main functionality in MLX42

19 months agoMake changes to Makefile and header
Dominik Kaiser [Fri, 10 May 2024 09:01:22 +0000 (11:01 +0200)]
Make changes to Makefile and header

19 months agoRemove old MiniLibX
Dominik Kaiser [Fri, 10 May 2024 08:57:56 +0000 (10:57 +0200)]
Remove old MiniLibX

19 months agoAdd arrow key movement
Dominik Kaiser [Thu, 9 May 2024 17:32:33 +0000 (19:32 +0200)]
Add arrow key movement

19 months agoAdd texture for player
Dominik Kaiser [Thu, 9 May 2024 17:25:32 +0000 (19:25 +0200)]
Add texture for player

19 months agoAdd player image
Dominik Kaiser [Thu, 9 May 2024 17:25:14 +0000 (19:25 +0200)]
Add player image

19 months agoOutsource drawing
Dominik Kaiser [Thu, 9 May 2024 16:21:30 +0000 (18:21 +0200)]
Outsource drawing

19 months agoAdd input to direction handling
Dominik Kaiser [Thu, 9 May 2024 15:49:54 +0000 (17:49 +0200)]
Add input to direction handling

19 months agoSetup basic structure and add basic input handling
Dominik Kaiser [Thu, 9 May 2024 14:19:29 +0000 (16:19 +0200)]
Setup basic structure and add basic input handling

19 months agoAdd MiniLibX
Dominik Kaiser [Thu, 9 May 2024 11:58:50 +0000 (13:58 +0200)]
Add MiniLibX

19 months agoAdd placeholder main
Dominik Kaiser [Wed, 8 May 2024 14:46:09 +0000 (16:46 +0200)]
Add placeholder main

19 months agoRename includes to include
Dominik Kaiser [Wed, 8 May 2024 14:45:48 +0000 (16:45 +0200)]
Rename includes to include

19 months agoSetup Makefile
Dominik Kaiser [Wed, 8 May 2024 12:35:09 +0000 (14:35 +0200)]
Setup Makefile

19 months agoAdd libft as submodule
Dominik Kaiser [Wed, 8 May 2024 12:34:57 +0000 (14:34 +0200)]
Add libft as submodule

19 months agoSetup basic project structure
Dominik Kaiser [Wed, 8 May 2024 12:14:47 +0000 (14:14 +0200)]
Setup basic project structure