Presentation is loading. Please wait.

Presentation is loading. Please wait.

Latency Can Kill: Precision and Deadline in Online Games Mark Claypool Professor of CS Director of IMGD Worcester Polytechnic Institute Kajal Claypool.

Similar presentations


Presentation on theme: "Latency Can Kill: Precision and Deadline in Online Games Mark Claypool Professor of CS Director of IMGD Worcester Polytechnic Institute Kajal Claypool."— Presentation transcript:

1 Latency Can Kill: Precision and Deadline in Online Games Mark Claypool Professor of CS Director of IMGD Worcester Polytechnic Institute Kajal Claypool Staff Scientist MIT Lincoln Labs ACM MMSys Scottsdale, AZ, USA February 2010

2 http://www.youtube.com/watch?v=Bn1nBR5jOx8 Is It Latency or Do You Just Suck? http://www.youtube.com/watch?v=r6PwHkhEAkU

3 http://www.youtube.com/watch?v=Bn1nBR5jOx8 Is It Latency or Do You Just Suck? http://www.youtube.com/watch?v=r6PwHkhEAkU Delayed response “Magic” bullets Server matters

4 Outline Introduction(done) What is latency for games?(next) Why does it matter? How much does it matter? Do you have evidence? ACM MMSys February 23, 2010 4

5 What is Network Latency? Internet Game client Game server Latency - time to get from source to destination –There and back (round-trip time) ACM MMSys February 23, 2010 5

6 Why Does Latency Matter? Time User Input Render Input Process and Validate Input Message: User Input Message: Ok User Input Response time Affects responsiveness ACM MMSys February 23, 2010 6

7 Example of Unresponsiveness Player is pressing leftPlayer is pressing upRunning back goes out of bounds! Player curses

8 Why Does Latency Matter? Affects consistency Time User Input Render Input Process and Validate Input Message: User Input Message: Ok with Update Fix Up Response time ACM MMSys February 23, 2010 8

9 Example of State Inconsistency ACM MMSys February 23, 2010 9

10 Why Does Latency Matter? Time User Input Message: Treasure! Message: Treasure! User Input Message: Get treasure Message: Get treasure Message: Ok Message: Tough luck! Affects fairness ACM MMSys February 23, 2010 10

11 Outline Introduction(done) What is latency?(done) Why does it matter?(done) How much does it matter?(next) Do you have evidence? ACM MMSys February 23, 2010 11

12 How Much Does Latency Matter? Depends upon precision of action ACM MMSys February 23, 2010 12

13 How Much Does Latency Matter? Depends upon deadline of action latency nowlater (tight deadline) latency nowlater (loose deadline) ACM MMSys February 23, 2010 13

14 OmnipresentThird-Person Avatar First-Person Avatar Precision and Deadline Deadline Shooting Sniper Racing Casting Area Spell Shooting Machine Gun Shooting Grenades Exploring Drinking Health Potion Moving Building Fighting Combat Running Precision TighterLooser Higher Lower ACM MMSys February 23, 2010 14

15 Player Performance vs. Latency ACM MMSys February 23, 2010 15

16 Outline Introduction(done) What is latency?(done) Why does it matter? (done) How much does it matter?(done) Do you have evidence?(next) –Methodology –Results ACM MMSys February 23, 2010 16

17 Methodology (1 of 3) Goal: –Vary: precision & deadline of actions –Control : latency –Measure: performance Modify open source game –BZ Flag http://www.youtube.com/watch?v=xMYkw56t1Gg ACM MMSys February 23, 2010 17

18 Methodology (2 of 3) Steps: 1.Made changes 2.Verify and validate 3.Determined game length, number of iterations 4.Ran experiments 5.Analysis Varying precision – tank size –Larger tanks equal lower precision Varying deadline – bullet speed –Slower bullets equal looser deadline ACM MMSys February 23, 2010 18

19 Methodology (3 of 3) 8 computer-controlled tanks (bots) 2 hour runs ACM MMSys February 23, 2010 19

20 Results for Precision (Tank Size) ACM MMSys February 23, 2010 20

21 Results for Deadline (Bullet Speed) ACM MMSys February 23, 2010 21

22 Summary Latency can kill (your fun!) –Responsiveness, Consistency, Fairness Amount depends upon player action –Precision – accuracy required to complete action successfully –Deadline – time required to achieve the final outcome of action Effects grouped based on perspective –First-person avatar –Third-person avatar –Omnipresent ACM MMSys February 23, 2010 22

23 What to Do About It? Network improvements –Shift latency “left” –But mobile, wireless emerging! Server selection –Shift latency “left” –But limited selection and/or want to play with friends! –And want more players (1000 v 1000)! Latency compensation techniques - help “deal with it” (so the player doesn’t have to!) –Shift curves “up” –But often tradeoffs (e.g. consistency and responsiveness) ACM MMSys February 23, 2010 23

24 Latency Can Kill: Precision and Deadline in Online Games Mark Claypool Professor of CS Director of IMGD Worcester Polytechnic Institute Kajal Claypool Staff Scientist MIT Lincoln Labs ACM MMSys Scottsdale, AZ, USA February 2010

25 Is It Latency or Do You Just Suck? http://www.youtube.com/watch?v=r6PwHkhEAkU http://www.youtube.com/watch?v=Bn1nBR5jOx8 http://www.youtube.com/watch?v=eFkJkkDzUaI

26 Demonstration of Latency (1) February 23, 2010ACM MMSys26

27 Demonstration of Latency (2) February 23, 2010ACM MMSys27

28 Demonstration of Latency (3) February 23, 2010ACM MMSys28

29 Game Perspectives First Person Linear Third Person Linear Third Person Isometric Omnipresent ACM MMSys February 23, 2010 29


Download ppt "Latency Can Kill: Precision and Deadline in Online Games Mark Claypool Professor of CS Director of IMGD Worcester Polytechnic Institute Kajal Claypool."

Similar presentations


Ads by Google