WOOFenstein is a working implementation of a Ray-caster engine. The main inspiration was the engine of Wolfenstein 3D.
To play the game, follow these simple steps:
-
Clone this Repository:
git clone https://github.com/Szyntos/WOOFenstein.git
-
Install Dependencies:
Ensure you have Python and pip installed. Install the required dependencies by running:
pip install -r requirements.txt
-
Run the Game:
Start the game by executing the main.py file:
python main.py
-
Enemies are pathfinding to you when you're not looking at them
They are following a path that is designated by the visibility graph of the map.
-
You can shoot them!
Each enemy has 10 HP - shoot them till they die.
-
You have 1HP
Don't lose it.
-
Collect all rainbow objectives
-
Have Fun!
-
Check the options:
You can change mouse sensitivity and the playable map (you can choose demo / mainGame or maze).
-
Check config.json:
Changing config.json is needed to change fov, window size and map size.
To create a new map run editor.py:
python editor.pyThe map you'll be editing is map.json.
- Placing or selecting an object - left mouse button.
- Resizing an object - arrow keys
- Moving an object - W A S D
- Cycling through object types - ',' and '.' (comma and full_stop)
- Saving an object and whole map - space
- Deleting an object - backspace
-
numpy==1.24.3
-
perlin-noise==1.12
-
pygame==2.4.0
-
pyvisgraph==0.2.1
-
shapely==2.0.1
-
tqdm==4.65.0
