A 3rd year Epitech Project.
This project aims to create an online multiplayer R-Type game. We had to implement a multi-threaded server using Asio and a graphical client in SFML.
For the one unfamliar with the R-TYPE genre, here is a bit about it.
-
Install Conan
-
Compile on your os:
Linux && MacOS :
$ ./comp_linux.shWindows:
$ ./comp_windows.shAfter having compiled on your OS, you can generate the binary package by executing :
$ cmake --build build --target packageAfter having compiled on your OS, you can generate the installer by executing :
- Windows (.msi)
$ ./windows_installer.sh- Linux (.deb)
$ ./linux_installer.sh$ ./build/bin/Server-Rtype$ ./build/bin/Client-Rtypeor
$ sudo docker build . -t test_v2_dock && sudo docker run --rm -it test_v2_dockThe audio libraries may have weird installs on some linux distros, if that's the case, then run these lines
$ ln -s /usr/lib64/alsa-lib/ ~/.conan/data/libalsa/1.2.7.2/_/_/package/45572951e04977fe87dc4117ce69daf41aa9589c/lib/
$ ln -s /usr/lib64/pkgconfig/ ~/.conan/data/libalsa/1.2.7.2/_/_/package/45572951e04977fe87dc4117ce69daf41aa9589c/lib/and then, every time you open a new terminal:
$ export ALSA_CONFIG_DIR=/usr/share/alsaOR, you can just run the fix_audio.sh script and add -first if its your first time executing it.
When running multiple clients at the same time, if you input something on one window and then unfocus it, it will keep repeating the input.
The team is composed of :