Code refactoring.

master
Vectozavr 2021-10-17 16:03:03 +07:00
parent ea9e1887a4
commit a499b4503d
1 changed files with 9 additions and 22 deletions

View File

@ -7,9 +7,8 @@ Source code of simple shooter on [3Dzavr game engine](https://github.com/vectoza
![Project demonstration](img/gamePlay2.png)
<h4>Installation (Windows):</h4>
<h4>Installation (old version for Windows):</h4>
1) Download and install .exe file
download game: https://drive.google.com/file/d/1_8zUCwxyC-eLbqswM7OBXoNIAdzpUrkI/view
@ -31,36 +30,24 @@ Source code of simple shooter on [3Dzavr game engine](https://github.com/vectoza
Player control is standard.
<h4>Research source code:</h4>
<h4>Playing with a source code:</h4>
Structure:
![Project demonstration](img/structure.png)
1) 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/
1) [Download and install OpenAL library](https://openal.org/downloads/) for SFML sound support (in current version you can't setup this engine without OpenAL)
2) Install SFML on your computer (<b>The compiler versions have to match 100%</b>):
sfml: https://www.sfml-dev.org/download.php
2) Clone this repository
2) Open CLion or Visual Studio
CLion (recommended): https://www.jetbrains.com/clion/
Visual Studio: https://visualstudio.microsoft.com/ru/
3) Open project
Using [CLion](https://www.jetbrains.com/clion/) with [MinGW (32-bit)](https://sourceforge.net/projects/mingw-w64/files/Toolchains%20targetting%20Win32/Personal%20Builds/mingw-builds/7.3.0/threads-posix/dwarf/i686-7.3.0-release-posix-dwarf-rt_v5-rev0.7z/download) or [MinGW (64-bit)](https://sourceforge.net/projects/mingw-w64/files/Toolchains%20targetting%20Win64/Personal%20Builds/mingw-builds/7.3.0/threads-posix/seh/x86_64-7.3.0-release-posix-seh-rt_v5-rev0.7z/download) compiler: open CMakeList.txt as a project
3) Clone this repository
rep url: https://github.com/vectozavr/shooter
Using [Visual Studio](https://visualstudio.microsoft.com/ru/): open shooter.sln as a project
4) Built project
4) Built project and run the game
For any issues, please, create new issue in this repository.
P/S: SFML for 32-bit Windows already included into this repository. So, you don't need to manually install it to your computer. If you have any issues with SFML, you can try to [download another version or build SFML by yourself.](https://www.sfml-dev.org/download.php)
Demos: