Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

[Devday2019] Multiplayer Games with Unity - By Nguyen Anh Duong, Truong Thi Tam, Game Developer at Agility IO

52 views

Published on

Building game application with Unity engine and networking. Introducing concepts and steps to build a game application using the Unity engine and networking integration. Introducing 2 real-time/asynchronous multiplayer game demos built on the Unity engine.

Published in: Technology
  • Be the first to comment

  • Be the first to like this

[Devday2019] Multiplayer Games with Unity - By Nguyen Anh Duong, Truong Thi Tam, Game Developer at Agility IO

  1. 1. TAM TRUONG DUONG NGUYEN MULTIPLAYER GAMES WITH UNITY SPEAKERS:
  2. 2. Audience Students/developers... 2/18
  3. 3. Contents ● Multiplayer Game Introduction ● Unity Engine Introduction ● Multiplayer Game With Unity ○ Real-time Multiplayer Demo ○ Asynchronous Multiplayer Demo ● Q&A 3/18
  4. 4. Multiplayer Game Introduction What is multiplayer game? “A multiplayer game is a video game played by multiple people” 4/18Image from internet
  5. 5. Multiplayer Game Introduction Share resource to play together! Locally Network 5/18 Images from internet
  6. 6. Multiplayer Game Introduction Examples Real-time Asynchronous 6/18 Turn-base Images from internet
  7. 7. Unity Engine Introduction What is it? 2005 unity.com C# 7/18 Image from unity home page
  8. 8. Unity Engine Introduction Why use it? Community Over 25 Platforms Unity Editor Unity Asset store Unity Services 8/18 Images from unity home page
  9. 9. Unity Engine Introduction Unity Multiplayer ● UNet ● Google Cloud ● HTML request (WWW class) ● Asset store: Photon cloud, ULink, Forge ... 9/18
  10. 10. Multiplayer Game With Unity Real-time multiplayer game demo 10/18
  11. 11. Multiplayer Game With Unity Dedicated Servers Concepts ● Game server ○ Run the main game ○ Clone of all players ● Game client ○ Input / output ○ Synch all other players from server 11/18
  12. 12. Multiplayer Game With Unity Actions and communication 12/18 Image from unity home page
  13. 13. Multiplayer Game With Unity Input/Output & Controlling Example: Sync character position 13/18
  14. 14. Multiplayer Game With Unity Asynchronous multiplayer game demo 14/18
  15. 15. Multiplayer Game With Unity Asynchronous Multiplayer Game ● Not requires a connection ● Database server ● Unity HTML request ● Main game run in game client 15/18
  16. 16. References ● https://unity.com ● https://docs.unity3d.com/Manual/UNet.html ● https://www.photonengine.com/en-US/sdks#realtimeunity ● Source code demo: ○ https://gitlab.com/duong.nguyenanh/devday2019.git 16/18
  17. 17. Q&A 17/18
  18. 18. Thank you! Image from internet

×