First, use:
git clone https://github.com/lojesu/wolf3d.git; cd wolf3d; make
Then:
./wolf3d maps/tutorial
To play with a precise map use
./wolf3d <map path>
In game, you can use:
- WASD ----- allow move forward/left/down/right
- ▲◄▼► ----- move the camera
- R ------------- return to spawn
- tab ----------- switch mini-map mode
- M ------------- open/close map
- 8456------ move the map (numeric keypad)
- esc------------ quit the game
You have to create your map in a file with some containts:
- she must be rectangular
- she must be surrounded by wall
1
- she must own a SINGLE spawn
9
You can create a random maze if you go in maps directory and use:
python3 maze.py [lenght] [height] > [name_of_your_map]
An example of maze map will look like this:
- If you don't put a goal, your player canot end, and will have to exit his self with esc.
- You can pace 2 differents button, one for enable goal, the other for breaking all secret wall
- If you don't place end button, your goal will be automatically unlocked
- Speedwalk are locking your movement. So on, if you put a speedwalk in front of a wall, the player will be stuck (he still can use reset
R
) - If the player reset, all your buttons who have been actived will still be actived
If you are reading this, then :
- lojesu
- glegendr