networking in unity
play

Networking in Unity Emil AngryAnt Johansen Unity Technologies - PowerPoint PPT Presentation

Networking in Unity Emil AngryAnt Johansen Unity Technologies Networking in Unity HTTP and browser interface End to end connections HTTP and browser interface HTTP WWW WWWForm Yield to pause coroutine WebPlayer WWW security


  1. Networking in Unity Emil “AngryAnt” Johansen Unity Technologies

  2. Networking in Unity HTTP and browser interface End to end connections

  3. HTTP and browser interface

  4. HTTP WWW WWWForm Yield to pause coroutine WebPlayer WWW security

  5. WebPlayer WWW security www.a.com/my/webplayer.unity3d tries to access www.b.com/the/groovy/highscore.php Security requires crossdomain file at http:/ /www.b.com/crossdomain.xml Details in documentation: http:/ /unity3d.com/support/documentation/Manual/Security%20Sandbox.html

  6. Browser interface Application.OpenURL Application.ExternalCall Application.ExternalEval

  7. Check out WebPlayerTemplates

  8. End to end connections

  9. End to end connections Network view Sockets Session traffic Middleware

  10. Network view NAT punch-through MasterServer Synchronization RPC

  11. Sockets Built into .net Completely standard Listener / outgoing TCP / UDP Port bind WebPlayer security

  12. Socket WebPlayer security Requests cross-domain policy over port 843 No listening sockets in the WebPlayer, so no WebPlayer P2P Same XML syntax as the WWW cross- domain policy Details in documentation: http:/ /unity3d.com/support/documentation/Manual/Security%20Sandbox.html

  13. Session traffic Client / server - owner Seed distribution Probability evaluation

  14. Middleware SmartFoxServer Simple setup, lobby system, server backend, nice license for small setups/ startups Exit Games Photon MMO solution, high performance, more complex setup - designed for heavy traffic

  15. Resources http:/ /unity3d.com/support http:/ /angryant.com

Download Presentation
Download Policy: The content available on the website is offered to you 'AS IS' for your personal information and use only. It cannot be commercialized, licensed, or distributed on other websites without prior consent from the author. To download a presentation, simply click this link. If you encounter any difficulties during the download process, it's possible that the publisher has removed the file from their server.

Recommend


More recommend