Skip to content

maelbecel/R-Type

Repository files navigation

EPITECH Project - R-Type

Alt text

This project of the Advanced C++ knowledge unit will introduce you to networked video game development, and will give you the opportunity to explore advanced development techniques as well as to learn good software engineering practices. The goal is to implement a multithreaded server and a graphical client for a well-known legacy video game called 'R-Type', using a game engine of your own design.

Table of Contents

  1. Usage & Examples
    1. VCPKG
    2. Windows
    3. Linux
  2. UML
  3. Contact
  4. Documentation

Usage & Examples

VCPKG

  • Install VCPKG.

After the installation done, on Linux :

git clone [email protected]:microsoft/vcpkg.git

Linux

./vcpkg/bootstrap-vcpkg.sh
export VCPKG_ROOT=/path/vcpkg
source ~./bashrc
mkdir build
cd build

If you have ninja:

cmake .. -G Ninja
ninja

else:

cmake ..
cmake --build .

Windows :

./vcpkg/bootstrap-vcpkg.bat
  • In advanced parameters system, add the environnement variable : VCPKG_ROOT, that contain the /path/vcpkg.
  • When it's done, restart your computer.
cmake ..
cmake --build . --config Release

Flags :

  • -DCOMPILE_DEBUG=ON: Compile the project in debug mode.
  • -DCOMPILE_EXAMPLES=ON: Compile the examples.
  • -DCOMPILE_FLAPPYBIRD=ON: Compile the flappy bird game.
  • -DCOMPILE_SOLORTYPE=ON: Compile the solo r-type game.
  • -DCOMPILE_EDITOR=ON: Compile the editor. All the flags can be combined. For found executable, just go into the Release folder. They are classified by folder.

Usage & Examples

Products to be delivered r-type_server r-type_client # They are all located in the Release folder

In Terminal

./r-type_server

In another terminal

./r-type_client [PORT] [IP SERVER] [PORT]

UML

GameEngine

Contact

If you have any questions or concerns, please feel free to contact us :

Documentation

You can read the full documentation here