wip readme presentation
This commit is contained in:
50
README.md
50
README.md
@@ -1,5 +1,51 @@
|
|||||||
# cube3D
|
# cube3D
|
||||||
|
|
||||||
This is a 3D mini game, using raycasting, in imitation of 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.
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
It creates a 3D view from a map in a text file, and move the view as if we were walking and looking around.
|
||||||
|
|
||||||
|
An example of a map :
|
||||||
|
|
||||||
|
```
|
||||||
|
$> cat -e map.cub
|
||||||
|
111111111111111111111111$
|
||||||
|
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.1.1...1$
|
||||||
|
1......................1$
|
||||||
|
1......................1$
|
||||||
|
1......................1$
|
||||||
|
1......................1$
|
||||||
|
1......................1$
|
||||||
|
1.......11.............1$
|
||||||
|
1.......11.............1$
|
||||||
|
111111..11............11$
|
||||||
|
11.1....11.............1$
|
||||||
|
11....1.11............11$
|
||||||
|
11.1....11.............1$
|
||||||
|
11.1111111............11$
|
||||||
|
11...................111$
|
||||||
|
1111111111..........1111$
|
||||||
|
111111111111111111111111$
|
||||||
|
$>
|
||||||
|
```
|
||||||
|
|
||||||
|
This map will produce this 3D view :
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
You can change the images on the wall :
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
And change the map itself :
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||

|
|
||||||
|
|||||||
Binary file not shown.
|
Before Width: | Height: | Size: 11 MiB |
Reference in New Issue
Block a user