Skip to content
VictorbriezPublic

About

Networked multiplayer R-Type remake in C++17: custom modular ECS engine, multi-threaded server running several games in parallel, and a homemade UDP protocol.

Topics

Resources

Stars

0 stars

Watchers

1 watching

Forks

Latest commit

 

History

1 Commit

Folders and files

Repository files navigation

R-Type: A Networked Multiplayer Game

Overview

R-Type is a networked multiplayer game inspired by the classic horizontal shoot-'em-up genre. This project in advanced C++ include:

  • Custom Game Engine: Features decoupled subsystems for rendering, networking, and game logic, promoting modularity and scalability.
  • Multiplayer Gameplay: Supports multi-threaded servers and graphical clients, enabling seamless UDP-based communication.
  • Cross-Platform Compatibility: Optimized for Linux with support for Windows environments.

Requirements

Supported Platforms

  • Linux: Primary platform for development.
  • Windows: Mandatory support to ensure cross-platform compatibility.

Dependencies

  • Build System: CMake
  • Package Manager: VCPKG
  • Compiler: C++17 compatible (e.g., GCC, Clang, MSVC)
  • Rendering Library: SFML for graphics, audio, and input.
  • Network Library: ASIO for networking.

Getting started

Prerequisites

Before building the project, ensure that the following tools are installed on your system:

  • CMake: Required for configuring and generating build files.
  • Git: Needed for cloning the repository.

Cloning the Repository

git clone git@github.com:EpitechPromo2027/B-CPP-500-LIL-5-2-rtype-thomas.wozniak.git
cd B-CPP-500-LIL-5-2-rtype-thomas.wozniak

Building the Project

On linux :

./setup.sh

On windows :

./setup.bat

Running the Game

Start the Menu

cd build
./r-type_client

Gameplay

Objective

Take control of your spaceship and survive relentless waves of enemies while avoiding obstacles. Defeat enemies, level up, and aim for the highest score to save the galaxy.

Controls

  • Arrow Keys: Move your spaceship up, down, left, or right.
  • Spacebar: Fire projectiles to destroy enemies and obstacles.

Multiplayer

Connect using the client to join other players in a networked session.


Project Structure

B-CPP-500-LIL-5-2-rtype-thomas.wozniak/
|
├── Client/                 # Client-side logic and rendering
│   ├── include/            # Header files for the client
│   ├── sprites/            # Game assets (sprites and visuals)
│   └── src/                # Source files for client systems and ECS
│
├── Server/                 # Server-side logic and networking
│   ├── include/            # Header files for the server
│   └── src/                # Source files for server systems and ECS
│
├── build/                  # Directory for compiled build files
│
├── CMakeLists.txt          # Build configuration file
└── README.md               # Project documentation

Documentation

ECS Resources

Protocol Specifications

Game Logic

Client

Server


Contributors

  • Team Members - Thomas W. - Aurelien P. - Victor B. - Matteo S. - Mathis D.

About

Networked multiplayer R-Type remake in C++17: custom modular ECS engine, multi-threaded server running several games in parallel, and a homemade UDP protocol.

Topics

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages