doom-fire-algorithm-cpp
Creating the fire effect from DOOM in C++. Based in a project by filipedeschamps
Requirements:
Build instructions:
Linux
- Make sure you have CMake and SFML installed in your machine.
- Clone the repository
git clone https://github.com/edusporto/doom-fire-algorithm-cpp
- Enter the directory
cd doom-fire-algorithm-cpp
- Create a build directory and enter it
- Run the CMake configuration
- Build the program
- Run the program
Windows
- Instructions will be added in the future
- Pressing ‘t’ prints the numeric value of each fire pixel
- Pressing ‘p’ pauses the fire
- Pressing the space bar toggles between minimum and maximum fire source strength
- Pressing the up and down arrow keys changes the strength of the fire source
Author
|
@edusporto |
| :—: |
Check out the original repository:
https://github.com/edusporto/doom-fire-algorithm-cpp