Third year project part of CPP module at EPITECH
- About
- Documentation
- Features
- Requirements
- Installation
- Build Instructions
- Usage
- License
- Authors
- Contact
- Purpose: Create an ECS and a server to make a video game in cpp
- Goal: Recreate R-Type with more features such as multiplayer
This project is a cross-platform R-Type game engine designed to provide a classic arcade experience with modern enhancements.
- Multiplayer support
- Modular architecture
- Compatibility with Windows / Unix Systems
- Easy setup with cmake
- Operating Systems: Windows 10/11, Ubuntu 20.04+, macOS 11+
- Build Tools: CMake 3.22+, a C++17 compiler (GCC, Clang or Visual Studio 17 2022)
- Languages: C++17
- Linux only: the system packages SFML needs, e.g.
sudo apt install build-essential cmake libx11-dev libxrandr-dev libxcursor-dev libxi-dev \ libudev-dev libgl1-mesa-dev libfreetype6-dev libopenal-dev libvorbis-dev libflac-dev
git clone https://github.com/Chapitoj/rtype.git r-type
cd r-type./bashbuild.shor by hand:
mkdir build && cd build
cmake .. -DCMAKE_BUILD_TYPE=Release -DCMAKE_POLICY_VERSION_MINIMUM=3.5
cmake --build . -jCMAKE_POLICY_VERSION_MINIMUM is only needed with CMake 4 or newer (the pinned dependencies predate it).
mkdir build && cd build
cmake .. -G "Visual Studio 17 2022"
cmake --build . --config ReleaseInstall OpenAL if it is missing.
The build produces r-type_server and r-type_client in the repository root, and the ECS shared library in build/ (libecs.so, libecs.dylib or ecs.dll).
Instructions on how to run or use the project:
./r-type_server -p <port>-p <port>Specify the port number to listen on.
./r-type_client -p <port> [-h <ip>] [-u <username>]-
-p <port>Specify the port number to connect to (required). -
-u <username>Specify the username (optional, 1-12 characters). Defaults toRTyperif not provided. -
-h <ip>Specify the server IP address (optional). Defaults to127.0.0.1if not provided.
.\r-type_server.exe -p <port>-p <port>Specify the port number to listen on.
.\r-type_client.exe -p <port> [-h <ip>] [-u <username>]-
-p <port>Specify the port number to connect to (required). -
-u <username>Specify the username (optional, 1-12 characters). Defaults toRTyperif not provided. -
-h <ip>Specify the server IP address (optional). Defaults to127.0.0.1if not provided.
Run both programs from the repository root. They load
assets/,config/andbuild/libecs.*relative to the current directory.
This project is licensed under the Apache License 2.0. See the LICENSE file for the full license text.
The license covers the source code only. The sprites and sound effects in assets/ include material from the original R-Type game and other third-party sources; they are used here for educational purposes and are not covered by that license.
- Adrien JACQ - ECS (github)
- Alexandre MOLINA - Network (github)
- Amitoj NAYAR - Scrum Master / Network (github)
- Jules REYNAUD - Product Owner / Game design (github)
- Tom FACON - ECS (github)
Reach the authors through their GitHub profiles listed above.