/R-type

A R-type like game made in C++.

Primary LanguageC++MIT LicenseMIT

R-type

GitHub C++ SFML Boost

A multiplayer R-type like game made in C++.
This project is part of the Epitech third year curriculum.

Summary

Official supported platforms

  • Fedora
  • Linux Mint
  • Windows 11

Requirements

c++20 compiler or vscode compiler

How to build application

Linux

Dependencies

On debian based distributions :

sudo apt-get install freeglut3-dev libfreetype6-dev libx11-dev libxrandr-dev libudev-dev libgl1-mesa-dev libflac-dev libogg-dev libvorbis-dev libvorbisenc2 libvorbisfile3 libopenal-dev libpthread-stubs0-dev xorg-dev

Build with build.sh

./build.sh

Build with cmake

mkdir build
cd build
cmake .. -DCMAKE_BUILD_TYPE=Release
cmake --build .

Build output

You can now find the executables at the root of the repository.

  • r type server : r-type_server
  • r type client : r-type_client

Windows

Using cmake-gui.exe or Visual Studio.

Build installers and packages

Using build.sh

./build.sh -p

This will create a build directory and generate the installers and packages in it.

How to run

Before running the application, you need to build it. Or you can download the appropriate release for your platform on the last release tab of the project.

./r-type_server [port]

Port is an optional argument, default value is 4242.

./r-type_client [serverPort serverIp]

Server port and server ip are optional arguments, default values are 4242 and 127.0.0.1 (localhost).

Documentation

You can find the documentation on the website. Or you can generate it yourself with doxygen :

cd docs
doxygen Doxyfile

Generated doc can be found in docs/html.

Authors

  • Sergey Borisenko
  • Macéo JALBERT
  • Florian AZEMA
  • Mickael PEIRETO
  • Julien VIGNAU-ESPINE

License

This project is licensed under the MIT License - see the LICENSE file for details

Acknowledgments