On the Impact of Delay on Real-Time Multiplayer Games Authors: Lothar Pantel, Lars C. Wolf Presented...

27
On the Impact of Delay on Real- Time Multiplayer Games Authors: Lothar Pantel, Lars C. Wolf Presented by: Bryan Wong
  • date post

    19-Dec-2015
  • Category

    Documents

  • view

    217
  • download

    1

Transcript of On the Impact of Delay on Real-Time Multiplayer Games Authors: Lothar Pantel, Lars C. Wolf Presented...

Page 1: On the Impact of Delay on Real-Time Multiplayer Games Authors: Lothar Pantel, Lars C. Wolf Presented by: Bryan Wong.

On the Impact of Delay on Real-Time Multiplayer Games

Authors: Lothar Pantel, Lars C. Wolf

Presented by: Bryan Wong

Page 2: On the Impact of Delay on Real-Time Multiplayer Games Authors: Lothar Pantel, Lars C. Wolf Presented by: Bryan Wong.

Outline

Introduction Multiplayer Games Experimental Evaluation Related Work Conclusions

Page 3: On the Impact of Delay on Real-Time Multiplayer Games Authors: Lothar Pantel, Lars C. Wolf Presented by: Bryan Wong.

Introduction

Major problem of networked multiplayer games is caused by transmission delay

A primary goal is to provide a global consistent state of the gameOne approach is to introduce a local

presentation delay

Page 4: On the Impact of Delay on Real-Time Multiplayer Games Authors: Lothar Pantel, Lars C. Wolf Presented by: Bryan Wong.

Introduction

Simulator-like games such as flight simulators, racing and sports games are most critical because they require smooth movements of the objects

Page 5: On the Impact of Delay on Real-Time Multiplayer Games Authors: Lothar Pantel, Lars C. Wolf Presented by: Bryan Wong.

Multiplayer Games

Architectures:Server based with a dynamically

based or central serverDistributed scheme

Page 6: On the Impact of Delay on Real-Time Multiplayer Games Authors: Lothar Pantel, Lars C. Wolf Presented by: Bryan Wong.

Influence of Basic System Parameters

Designer must decide which messages are transmitted reliably/unreliably

Page 7: On the Impact of Delay on Real-Time Multiplayer Games Authors: Lothar Pantel, Lars C. Wolf Presented by: Bryan Wong.

Delay

The time between the generation of an event and the resulting update of the game state

Important issue of how the system handles old state information and how large the difference between the real and expected positions of the players in a game may be due to the delay of messages

Page 8: On the Impact of Delay on Real-Time Multiplayer Games Authors: Lothar Pantel, Lars C. Wolf Presented by: Bryan Wong.

Experiments with Commercial Games

Studied the delay-handling approaches used by two commercial games in two player modeRe-VoltNeed-for-Speed

Examine how commercial game developers handle the delay problem

Page 9: On the Impact of Delay on Real-Time Multiplayer Games Authors: Lothar Pantel, Lars C. Wolf Presented by: Bryan Wong.

Start Release

Direct play assigns the role of coordinator to one of the two players

This contains the release of the start Use the start countdown and start

sound to detect correct synchronization

Page 10: On the Impact of Delay on Real-Time Multiplayer Games Authors: Lothar Pantel, Lars C. Wolf Presented by: Bryan Wong.

Start Process

As soon as the vehicles begin to move, the first deviations in the positions of the cars can occur

Identical vehicles, motors, etc. are selected to avoid acceleration differences

Expected that both cars remain head to head

Page 11: On the Impact of Delay on Real-Time Multiplayer Games Authors: Lothar Pantel, Lars C. Wolf Presented by: Bryan Wong.

Simulated Start

Cars are stopped in the course of the race and are aligned at the beginning of a straight path

Both cars are accelerated simultaneously by one person using both keyboards

Cars should remain side by side

Page 12: On the Impact of Delay on Real-Time Multiplayer Games Authors: Lothar Pantel, Lars C. Wolf Presented by: Bryan Wong.

Driving with Constant Speed

Vehicles drive with same constant speed side by side

An identical screen situation should be presented

Occurs only if position consistency is maintained during the game

Page 13: On the Impact of Delay on Real-Time Multiplayer Games Authors: Lothar Pantel, Lars C. Wolf Presented by: Bryan Wong.

Collision Treatment

Collision of game objects is detected through a polygon-collision

Only a position difference of 0 of opposing vehicles will cause an identical, local evaluation of the polygon collision

If position consistency is not sufficient, contradictory situations can occur

Page 14: On the Impact of Delay on Real-Time Multiplayer Games Authors: Lothar Pantel, Lars C. Wolf Presented by: Bryan Wong.

Observed Results

Games provided very limited handling of delay

Both provided a synchronized start release Start process was not handled correctly –

the local car was always in leadership Both games failed tests 3,4 Neither game provided satisfying treatment

of collisions

Page 15: On the Impact of Delay on Real-Time Multiplayer Games Authors: Lothar Pantel, Lars C. Wolf Presented by: Bryan Wong.

Experimental Evaluation of the Impact of Delay Inconsistent state brings several problems

and can be confusing to the players One approach to enhance consistency is to

delay the presentation of the actual game state

How much delay is acceptable for users in real time games?

Delay includes all communication, processing and buffering costs

Page 16: On the Impact of Delay on Real-Time Multiplayer Games Authors: Lothar Pantel, Lars C. Wolf Presented by: Bryan Wong.

Principle Setup

Performed steps:

Page 17: On the Impact of Delay on Real-Time Multiplayer Games Authors: Lothar Pantel, Lars C. Wolf Presented by: Bryan Wong.

Implementation

Implemented in an RC-Car simulation Driver does not use a cockpit view but

a higher view allowing the user to view the whole area

Virtual RC Racing implements the static delay scheme

The feeling how the car reacts is influenced by the delay between steering and reaction

Page 18: On the Impact of Delay on Real-Time Multiplayer Games Authors: Lothar Pantel, Lars C. Wolf Presented by: Bryan Wong.

Experiments

Purpose was to determine acceptable presentation delay

12 candidates performed experiments For each of the following graphs, three

players were selected who were representatives for the following categories: Beginner, Average and Excellent driver

Static presentation delay was increased in 50ms steps up to 500ms

Page 19: On the Impact of Delay on Real-Time Multiplayer Games Authors: Lothar Pantel, Lars C. Wolf Presented by: Bryan Wong.

Experiments

Avg time per round in dependence on delayIt becomes more difficult to control the

car, requiring the driver to slow down Best time per round in dependence on

delayReflects the best possible value for

the driver, under the given conditions Frequency of Leaving the Course

Page 20: On the Impact of Delay on Real-Time Multiplayer Games Authors: Lothar Pantel, Lars C. Wolf Presented by: Bryan Wong.

Results

Page 21: On the Impact of Delay on Real-Time Multiplayer Games Authors: Lothar Pantel, Lars C. Wolf Presented by: Bryan Wong.

Results

Page 22: On the Impact of Delay on Real-Time Multiplayer Games Authors: Lothar Pantel, Lars C. Wolf Presented by: Bryan Wong.

Results

Page 23: On the Impact of Delay on Real-Time Multiplayer Games Authors: Lothar Pantel, Lars C. Wolf Presented by: Bryan Wong.

Results

Page 24: On the Impact of Delay on Real-Time Multiplayer Games Authors: Lothar Pantel, Lars C. Wolf Presented by: Bryan Wong.

Results

Page 25: On the Impact of Delay on Real-Time Multiplayer Games Authors: Lothar Pantel, Lars C. Wolf Presented by: Bryan Wong.

View Dependance

Delay value that can be tolerated by the participant depends on the camera perspective

A cockpit view allows at least an additional 50ms of delay to be tolerated

Page 26: On the Impact of Delay on Real-Time Multiplayer Games Authors: Lothar Pantel, Lars C. Wolf Presented by: Bryan Wong.

Related Work

MiMaze – distributed 3D Pacman game

Consistency of the is improved by delaying the presentation of the events using buckets

The whole game is 100ms in the past Players with >100ms delay cannot

participate

Page 27: On the Impact of Delay on Real-Time Multiplayer Games Authors: Lothar Pantel, Lars C. Wolf Presented by: Bryan Wong.

Conclusions

Delay of 50ms is uncritical for a racing game Delay of >100ms should be avoided Consider the racing game as a worst-case system For other games (first person shooter,…) a delay of

100ms may be acceptable For comparison, lip synchronization requirements for

audio and video streams are [-80ms,80ms] Static delay schemes are not well suited for real-time

multiplayer games