Project

General

Profile

Feature #1764

DMU 2.0: Generate network deltas

Added by skyjake over 6 years ago. Updated about 1 year ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
Redesign
Target version:
Start date:
2014-04-18
% Done:

0%


Description

Take advantage of DMU calls to generate network world state deltas. The core idea is that because all changes done to map data happen via DMU, it has sufficient information to generate all deltas for clients.

Instead of polling the map for changes several times per second, generate a delta from each change done via DMU. This will take significantly less CPU time than polling.

This is basically DMU v2: the implementation needs to be refactored as C++ while retaining the old C API for existing game logic.

Considerations

  • Map objects will need to be included somehow into the delta processing. How to do this without causing significant changes in existing game logic?
  • The common serialization mechanism in libdeng2 should be utilized in transferring the deltas.

Related issues

Related to Feature #9: Use local server to run single-player gamesProgressed2014-04-18

Related to Feature #1767: Network delta profilerNew2014-04-18

History

#1 Updated by skyjake over 6 years ago

  • Parent task deleted (#9)

#2 Updated by skyjake over 6 years ago

  • Description updated (diff)

#3 Updated by skyjake about 1 year ago

  • Target version set to Multiplayer

Also available in: Atom PDF