4dae42a3ef
- Before, if you shoot and go to the main menu, then the traces of the bullets were not removed from the map. This was because the animation stopped updating and the time kept going forward. As a result, the system believed that the animations had already passed, although in reality they had not. Now animations are tied not to their own, but to the global time counter |
||
---|---|---|
SFML | ||
engine | ||
img | ||
maps | ||
obj | ||
sound | ||
textures | ||
weapon | ||
.gitignore | ||
Bonus.cpp | ||
Bonus.h | ||
CMakeLists.txt | ||
Client.cpp | ||
Client.h | ||
Player.cpp | ||
Player.h | ||
PlayerController.cpp | ||
PlayerController.h | ||
README.md | ||
Server.cpp | ||
Server.h | ||
Shooter.cpp | ||
Shooter.h | ||
ShooterConsts.h | ||
Source.cpp | ||
openal32.dll | ||
sfml-audio-2.dll | ||
sfml-audio-d-2.dll | ||
sfml-graphics-2.dll | ||
sfml-graphics-d-2.dll | ||
sfml-network-2.dll | ||
sfml-network-d-2.dll | ||
sfml-system-2.dll | ||
sfml-system-d-2.dll | ||
sfml-window-2.dll | ||
sfml-window-d-2.dll | ||
shooter.sln | ||
shooter.vcxproj | ||
shooter.vcxproj.filters |
README.md
Shooter on self-written 3D engine
About:
Source code of simple shooter on 3Dzavr game engine
Installation (Windows):
1) Download and install .exe filedownload game: https://drive.google.com/file/d/1_8zUCwxyC-eLbqswM7OBXoNIAdzpUrkI/view
-
Write ip and port of server in bin/connect.txt file.
-
Write port of the server in bin/server.txt file (only for computer where the server will be running).
-
Enjoy gaming!
Control:
SHIFT - slow motion (this ability is not infinite: its bar is next to hp)
E & Q or keys <- -> - change weapon
R - recharge
Player control is standard.
Research source code:
-
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
rep url: https://github.com/vectozavr/shooter
-
Built project
For any issues, please, create new issue in this repository.
Demos: