Presentation is loading. Please wait.

Presentation is loading. Please wait.

A Collaborative Game Development Tool Brian Thorpe.

Similar presentations


Presentation on theme: "A Collaborative Game Development Tool Brian Thorpe."— Presentation transcript:

1 A Collaborative Game Development Tool Brian Thorpe

2 Overview Introduction Problems Design Screen Shots... Video if time allows Questions

3 Introduction Goal: Develop a tool that supports collaborative game content development. Game Content  Game World  Model Placement  Terrain Generation  Special Effects  Etc.

4 Terrain Editing Focus: Developing collaborative Terrain Editing features. Terrain Editing  Create new pieces of Terrain  Manipulate Terrain Raise Lower Flatten Smooth

5 Problems Synchronization  Client Data matches Server Data  Client synchronizes to the active Server State Processing Terrain Height editing operations and keeping client and server synchronized

6 Design Client Server Architecture Lidgren Networking Library Synchronization Process Server State Client State Edit Requests

7 Client Server Architecture Client Collaborative Server

8 Networking Library Lidgren Networking Library for C# Uses UDP Sockets Provides support for four delivery methods...  Unreliable unordered  Reliable unordered  Unreliable unordered  Reliable ordered

9 Synchronization Two Steps: File Synchronization  Client synchronizes files with the Server State Synchronization  Client synchronizes the active data with the Server Once Synchronized Client can being editing.

10 Server State Holds the terrain height field data Stores a set of terrain height data files Edits effect the height field data

11 Client State Holds the terrain height field data  Uses this data to generate Terrain Meshes  Uses this data to generate Triangle Information for collision detection and triangle picking operations Stores a set of terrain height data files. Edits effect the height field data, the terrain meshes, and the triangle information.

12 Edit Requests Two types of Terrain Edit Requests  Terrain Creation Location on a flat grid of terrain pieces  Terrain Edit The location of the edit The edit operation Edit strength, range Server processes these and forwards the requests to all other clients.

13 Screen Shots Server

14 Client Screen Shots

15

16

17

18

19

20 Questions?

21 References Lidgren Networking Library  http://code.google.com/p/lidgren-network/


Download ppt "A Collaborative Game Development Tool Brian Thorpe."

Similar presentations


Ads by Google