pseudo3DEngine
Simple pseudo-3d shooter implementation. You can make two dimensional map, add enemy's, shoot and draw pseudo 3D image using Ray-Cast.
Installation:
-
Download and install OpenAL library for SFML sound support (in current version you can't setup this engine without OpenAL)
openal: https://openal.org/downloads/
-
Install SFML on your computer (The compiler versions have to match 100%):
-
Open CLion or Visual Studio
CLion (recommended): https://www.jetbrains.com/clion/
Visual Studio: https://visualstudio.microsoft.com/ru/
-
Clone this repository
-
Built project
For any issues, please, create new issue in this repository.
Added by Neirokan:
- The network system is replaced by another, WORKING system
- Fisheye correction
- Jumps
- Realistic wall height (seriously, the zero-height wall was like half a player)
- Realistic circle collision (not just 10 walls)
- Reflections remain inside the mirrors
- Menu fix (buttons now detect only mouse clicks, not holding)
- The application stops reading input and moving the cursor while you are switched to another window
- FPS limit (no more 600 fps in menu)
- Missing resources fix
- Small optimizations
Demonstration of how does this engine work:
We can switch off the textures:
We can smooth floor (performance-heavy):
This engine can perfom some mirrors. As you can see, we get correct reflection image: