Introduction Game Engine Multiplayer

Introduction

Cops and Robbers is an online multiplayer party game with competitive elements as two teams battle for dominance of resources. Designed to be compatible on PC devices. The game makes use of both fast-paced action and thoughtful strategy tactics, as players must decide when to make use of the money they’ve gathered to either, secure the win through sum or potentially gain an advantage in the tide of battle through use of items and powerups. Whilst the game has its competitive elements its focus is to be casual enough as to not be off-putting for new users who may feel they are at a disadvantage to veterans in the game.

The following blog will inform you about the different technical methods and tools that were implemented to create the game and take you throughout the whole process.


Game Engine

17th October 2020

The game will be developed using the Unity game engine. The reason for this choice is because of how effective Unity is, in terms of rendering 2D games and developing high quality cross-platform games, this enables us to compile and use a single script for different platforms. Its ease of use and vast features available such as its interactive UI and its editor speed, makes Unity a powerful and great game development engine. Unity comes with Visual Studio which allows us to write the game scripts using C# programming language, which consists of good integrity, simplicity, and fast speed.


Game Design

18th October 2020

We planned the overall theme of the game and started developing the design and look of the main characters. After various discussions and meetings we concluded on the final design of the two main chacraters as well as a rough map idea of how the game is going to look like and where the cops and robbers will be posiitoned. The following graphs were made using Clip Studio Paint and each design was made according to the theme of teh game.
Below you can see the different desing features in the game:

Characters and first draft map:

Cop
Robber
Map

Weapons:

Ground:
Map

Wall:
Map

First Game View:
Map
Map
Map

Current Game View:
Cop
Robber
Map

Lamp Post:
Cop

Multiplayer

01st November 2020

Our project will include a bespoke multiplayer solution. To keep communications fast and secure, there are several components. The Server will consist of the following key components:

• Key Exchange Server: This server application will serve random 32-bit values for Diffie Helman Key Exchange. These values will automatically update every 90 seconds.

• Game Server: The Game Server will be used for gameplay. Initially we will keep all processing to client side to preserve server bandwidth, so all the server needs to do is send data from one player to others in the game. We intend to do this by placing groups into virtual rooms. Initially, these groups will consist of random members from the matchmaking lobby, but we plan on introducing accounts or private lobbies to allow friends to play together