65f2c63643 | ||
---|---|---|
SFML-VS32 | ||
SFML-mingw32 | ||
engine | ||
img | ||
maps | ||
obj | ||
sound | ||
textures | ||
weapon | ||
.gitignore | ||
CMakeLists.txt | ||
Player.cpp | ||
Player.h | ||
PlayerController.cpp | ||
PlayerController.h | ||
README.md | ||
Shooter.cpp | ||
Shooter.h | ||
ShooterClient.cpp | ||
ShooterClient.h | ||
ShooterConsts.h | ||
ShooterMsgType.cpp | ||
ShooterMsgType.h | ||
ShooterServer.cpp | ||
ShooterServer.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 (OS Windows):
1) [Download shooter 7z](https://drive.google.com/file/d/10mhgxUXd0e482U4oMaq4RD1rDeu3-YAX/view?usp=sharing/), [unzip it](https://www.7-zip.org/) and run shooter.exe-
Write ip and port of server in connect.txt file.
-
Write port of the server in server.txt file (only for computer where the server will be running).
-
Enjoy gaming!
How to run the server
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.
Playing with a source code:
-
Download and install OpenAL library for SFML sound support (in current version you can't setup this engine without OpenAL)
-
Clone this repository
-
Open project
Using CLion with MinGW (32-bit) compiler: open CMakeList.txt as a project
Using Visual Studio: open shooter.sln as a project
-
Built project and run the game
P/S: SFML for 32-bit OS Windows is already included into this repository. So, you don't need to manually install it to your computer. If you have any problems with SFML, you can try to download another version or build SFML by yourself.
Demos: