wip readme presentation

This commit is contained in:
asus
2024-01-19 20:51:34 +01:00
parent 957764cabb
commit 22ce374b58

View File

@@ -1,4 +1,5 @@
# cube3D # cube3D
---
This project is a 3D mini game, that uses raycasting to produce a FPP (first person perspective), just like in Wolfenstein3D or Doom. This project is a 3D mini game, that uses raycasting to produce a FPP (first person perspective), just like in Wolfenstein3D or Doom.
@@ -14,11 +15,11 @@ $> cat -e map.cub
1......................1$ 1......................1$
1......................1$ 1......................1$
1......................1$ 1......................1$
1.......1......1.1.1...1$ 1.....11111....1.1.1...1$
1.....1...1............1$ 1.....1...1............1$
1.......1......1...1...1$ 1.....1...1....1...1...1$
1.....1...1....E.......1$ 1.....1...1....E.......1$
1.......1......1.1.1...1$ 1.....11.11....1.1.1...1$
1......................1$ 1......................1$
1......................1$ 1......................1$
1......................1$ 1......................1$
@@ -49,3 +50,17 @@ And change the map itself :
![change the map](assets/cube3d_map.gif) ![change the map](assets/cube3d_map.gif)
# raycasting
---
# ressources
---
- [tuto mlx](https://harm-smits.github.io/42docs/libs/minilibx/getting_started.html)
- [tuto raycasting js](http://www.playfuljs.com/a-first-person-engine-in-265-lines)
- [course about matrices and transformations in space (chapter 1 to 5)](https://www.youtube.com/watch?v=fNk_zzaMoSs&list=PLZHQObOWTQDPD3MizzM2xVFitgF8hE_ab)