Commit Graph

44 Commits

Author SHA1 Message Date
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
58b862ce82 wip 3d is sort of working 2022-04-29 21:01:57 +02:00
hugogogo
778ddef393 wip solving buble effect by wall height calculation 2022-04-29 09:57:41 +02:00
hugogogo
81aef1eab0 resolve floating point exception when wliding through walls 2022-04-28 23:42:15 +02:00
hugogogo
9042b373a9 tmp restore a 3d view 2022-04-28 21:05:39 +02:00
hugogogo
0557decc7a add maps test 2022-04-28 20:54:42 +02:00
hugogogo
883ca19ba5 Merge branch 'hugo' 2022-04-28 20:30:17 +02:00
hugogogo
bdc87d1b7b Merge branch 'master' of github.com:hugodu69/cube3d 2022-04-28 20:28:07 +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
5e8afcb245 clean of debug rays vertical and horizontal 2022-04-28 09:03:23 +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
a0f32dee98 plr moves through walls 2022-04-27 00:11:55 +02:00
hugogogo
f3ced10b82 game view in bubble 2022-04-26 22:13:57 +02:00
hugogogo
fef8da1659 Merge branch 'master' of github.com:hugodu69/cube3d 2022-04-26 21:23:33 +02:00
Hugo LAMY
be650f085e bubble game view with vertical ray pbm 2022-04-26 12:57:22 +02:00
hugogogo
791110c88c merge test 2022-04-25 13:35:25 +02:00
hugogogo
ef4cc1a996 visual 3d with buble effect and rays for slope null 2022-04-25 13:17:55 +02:00
hugogogo
0d9e5879c0 wall grows proportionally 2022-04-25 09:13:10 +02:00
hugogogo
c52f04d9c8 game view, but wrong :p 2022-04-24 21:28:50 +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
c886118bd6 params adjust angle of view and size of game window 2022-04-24 11:14:08 +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
9359e87f6f temp test other way of writting ray end calcul 2022-04-23 12:55:10 +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
hugogogo
00c9dfd6b8 libft modification 2022-04-22 17:36:59 +02:00
hugogogo
2eeb8733b6 Merge branch 'master' of github.com:hugodu69/cube3d 2022-04-20 13:01:57 +02:00
Hugo LAMY
01eb2255d2 player rotates and moves, rays for raycasting on map 2022-04-18 18:27:16 +02:00
hugogogo
d15f453837 Merge branch 'master' of github.com:hugodu69/cube3d 2022-04-02 12:47:08 +02:00
Hugo LAMY
00b3612c16 add player moves and test image 2022-03-30 13:48:58 +02:00
Hugo LAMY
08f7b89d82 add player moves and test image 2022-03-30 12:55:39 +02:00
Hugo LAMY
f645da7885 memorybook functionnal, with add 2022-03-25 21:27:24 +01:00
Hugo LAMY
02b5d88ea5 improve gexit with init function and add basic mlx image gestion 2022-03-25 18:49:06 +01:00
Hugo LAMY
3a1036ccdc add recent minilibx linux as submodule 2022-03-25 14:37:27 +01:00
hugogogo
2e6374b4d9 centralized malloc system 2022-03-24 21:53:03 +01:00
hugogogo
f37f2891a4 multi key action 2022-03-23 14:36:20 +01:00
hugogogo
95bd304708 start project with header, struct, mlx functionnal, and basic key event action 2022-03-23 14:33:24 +01:00
hugogogo
1959a1a9a3 init repo with gitignore makefile readme minilibx and libft submodule 2022-03-23 14:02:27 +01:00