30 Commits

Author SHA1 Message Date
asus
211204e888 - added debouncing option
- added some gif for presentation
2024-01-19 20:09:21 +01:00
Hugo LAMY
c89c107e09 solved leaks still reachable because gnl wasn't going to the end, and close fd 2022-05-04 22:00:36 +02:00
Philippe BLAGOJEVIC
362668fe35 Added memorybook to parsing and cleaned most of the files 2022-05-04 14:38:34 +02:00
hugogogo
3c76a8646a plr orientation at begining 2022-05-04 00:55:47 +02:00
hugogogo
eb3b5c37a8 maybe resolved wall distorsion 2022-05-03 23:57:19 +02:00
hugogogo
101680c839 tmp bring back rays and highlight for debug purpose 2022-05-03 21:43:00 +02:00
hugogogo
9b28e20199 resolve wall distorsion and lag 2022-05-03 18:10:41 +02:00
hugogogo
5b60406124 textures start to appears 2022-05-03 10:18:22 +02:00
hugogogo
75692c09a6 wip calcul texture image x position, and add protection when creating texture 2022-05-02 23:19:27 +02:00
hugogogo
628a0c0cad add init textures 2022-05-02 16:11:54 +02:00
hugogogo
a6fd2df6d5 suppression of the map view 2022-05-02 09:39:03 +02:00
hugogogo
eb5f2db7fa changed rgb deal, and improve memorybook with 2d 2022-05-01 22:55:00 +02:00
hugogogo
853fb39c84 changed all equations of wall height calculation to resolve pixelisation, but dead axis rays re-appeared 2022-05-01 09:49:41 +02:00
hugogogo
888fa7c116 plr start on middle of a cell, and wall height is well proportionned 2022-04-30 12:09:44 +02:00
hugogogo
883ca19ba5 Merge branch 'hugo' 2022-04-28 20:30:17 +02:00
hugogogo
6640c9e6d3 wip several test to avoid buble effects, one wihtout doubles 2022-04-28 20:27:46 +02:00
pblagoje
54585e7974 Merged parsing_connected branch to master 2022-04-28 19:55:06 +02:00
hugogogo
285f6f3c55 add struct wall 2022-04-28 09:35:05 +02:00
hugogogo
4f0e5fcd00 rays verticals and horizontals are working 2022-04-28 08:52:21 +02:00
hugogogo
3501a20abb wip debug ray length 2022-04-28 00:44:02 +02:00
hugogogo
0d9e5879c0 wall grows proportionally 2022-04-25 09:13:10 +02:00
hugogogo
03f61d989b game image created but all wrong 2022-04-24 21:18:36 +02:00
hugogogo
a11ea35ac1 changed functions draw line and pixel to receive an img ptr instead of the whole structure 2022-04-24 19:41:44 +02:00
hugogogo
bb3a9db930 add place for game window 2022-04-24 11:12:39 +02:00
Philippe BLAGOJEVIC
f53e66556b Connected parsing to rest of the game 2022-04-23 20:12:13 +02:00
hugogogo
e9b0dd7ec9 possibility to choose angle of view 2022-04-23 11:58:11 +02:00
hugogogo
fac1f78230 better struct and files organization, and still only half raycast on map but no view created 2022-04-22 17:38:29 +02:00
Hugo LAMY
01eb2255d2 player rotates and moves, rays for raycasting on map 2022-04-18 18:27:16 +02:00
Hugo LAMY
02b5d88ea5 improve gexit with init function and add basic mlx image gestion 2022-03-25 18:49:06 +01:00
hugogogo
95bd304708 start project with header, struct, mlx functionnal, and basic key event action 2022-03-23 14:33:24 +01:00