ABSTRACT
Currently, most network topologies used in online games to connect players are client-server, even for browser-based games. This work evaluates an alternative approach, describing the implementation of a hybrid peer-to-peer (P2P) architecture. We have developed the open-source Proton framework for multiplayer online games, using the browser-based Web Real-Time Communication (WebRTC) technology and running on the Unity game engine. As a case study, the same prototype game was built over both topologies: a client-server using the Photon Unity Networking (PUN) and the other using our proposed framework. We detail our implementation and then analyze networking metrics in two scenarios. Later, we show that the results are promising and assess that the WebRTC API is mature enough to serve as the basis for online multiplayer games.
- Yousef Amar, Gareth Tyson, Gianni Antichi, and Lucio Marcenaro. 2019. Towards Cheap Scalable Browser Multiplayer. In 2019 IEEE Conference on Games (CoG). IEEE, London, UK, 1–4. https://doi.org/10.1109/CIG.2019.8847958Google ScholarDigital Library
- Fábio Reis Cecin, Rafael de Oliveira Jannone, Cláudio Fernando Resin Geyer, Márcio Garcia Martins, and Jorge Luis Victória Barbosa. 2004. FreeMMG: A Hybrid Peer-to-Peer and Client-Server Model for Massively Multiplayer Games. In Proceedings of 3rd ACM SIGCOMM Workshop on Network and System Support for Games (Portland, Oregon, USA) (NetGames ’04). Association for Computing Machinery, New York, NY, USA, 172. https://doi.org/10.1145/1016540.1016567Google ScholarDigital Library
- Fábio Reis Cecin, Rodrigo Real, Rafael de Oliveira Jannone, Cláudio Fernando Resin Geyer, Márcio Garcia Martins, and Jorge Luis Victória Barbosa. 2004. FreeMMG: A Scalable and Cheat-Resistant Distribution Model for Internet Games. In Eighth IEEE International Symposium on Distributed Simulation and Real-Time Applications. IEEE Press., New York, NY, USA, 83–90. https://doi.org/10.1109/DS-RT.2004.21Google ScholarDigital Library
- Luther Chan, James Yong, Jiaqiang Bai, Ben Leong, and Raymond Tan. 2007. Hydra: A Massively-Multiplayer Peer-to-Peer Architecture for the Game Developer. In Proceedings of the 6th ACM SIGCOMM Workshop on Network and System Support for Games (Melbourne, Australia) (NetGames ’07). Association for Computing Machinery, New York, NY, USA, 37–42. https://doi.org/10.1145/1326257.1326264Google ScholarDigital Library
- Arthur Fages, Cédric Fleury, and Theophanis Tsandilas. 2022. Understanding Multi-View Collaboration between Augmented Reality and Remote Desktop Users. Proc. ACM Hum.-Comput. Interact. 6, CSCW2, Article 549 (nov 2022), 27 pages. https://doi.org/10.1145/3555607Google ScholarDigital Library
- Lu Fan, Phil Trinder, and Hamish Taylor. 2010. Design issues for peer-to-peer massively multiplayer online games. International Journal of Advanced Media and Communication 4, 2 (2010), 108–125.Google ScholarDigital Library
- Jakob Forsbacka and Gustav Sollenius. 2023. A Peer-to-Peer Networking Framework for Scalable Massively Multiplayer Online Game Development in Unity. Master of Science in Computer. Halmstad University, School of Information Technology, Halmstad.Google Scholar
- Google. 2011. Web Real Time Communication. Google. https://webrtc.org/Google Scholar
- Serhan Gül, Dimitri Podborski, Jangwoo Son, Gurdeep Singh Bhullar, Thomas Buchholz, Thomas Schierl, and Cornelius Hellge. 2020. Cloud Rendering-Based Volumetric Video Streaming System for Mixed Reality Services. In Proceedings of the 11th ACM Multimedia Systems Conference (Istanbul, Turkey) (MMSys ’20). Association for Computing Machinery, New York, NY, USA, 357–360. https://doi.org/10.1145/3339825.3393583Google ScholarDigital Library
- Thorsten Hampel, Thomas Bopp, and Robert Hinn. 2006. A Peer-to-Peer Architecture for Massive Multiplayer Online Games. In Proceedings of 5th ACM SIGCOMM Workshop on Network and System Support for Games (Singapore) (NetGames ’06). Association for Computing Machinery, New York, NY, USA, 48–es. https://doi.org/10.1145/1230040.1230058Google ScholarDigital Library
- Shun-Yun Hu, Jui-Fa Chen, and Tsu-Han Chen. 2006. VON: a scalable peer-to-peer network for virtual environments. IEEE Network 20, 4 (2006), 22–31. https://doi.org/10.1109/MNET.2006.1668400Google ScholarDigital Library
- Keith W. Ross James F. Kurose. 2021. Computer Networking - A Top-Down Approach (8th ed.). Pearson, New York.Google Scholar
- B. Knutsson, Honghui Lu, Wei Xu, and B. Hopkins. 2004. Peer-to-peer support for massively multiplayer games. In IEEE INFOCOM 2004, Vol. 1. IEEE, New York, 107. https://doi.org/10.1109/INFCOM.2004.1354485Google ScholarCross Ref
- Kit Yung Lam, Liang Yang, Ahmad Alhilal, Lik-Hang Lee, Gareth Tyson, and Pan Hui. 2022. Human-Avatar Interaction in Metaverse: Framework for Full-Body Interaction. In Proceedings of the 4th ACM International Conference on Multimedia in Asia (Tokyo, Japan) (MMAsia ’22). Association for Computing Machinery, New York, NY, USA, Article 10, 7 pages. https://doi.org/10.1145/3551626.3564936Google ScholarDigital Library
- Philip Mildner, Tonio Triebel, Stephan Kopf, and Wolfgang Effelsberg. 2017. Scaling Online Games with NetConnectors: A Peer-to-Peer Overlay for Fast-Paced Massively Multiplayer Online Games. Comput. Entertain. 15, 3, Article 3 (apr 2017), 21 pages. https://doi.org/10.1145/2818383Google ScholarDigital Library
- Mozilla Developer Network. 2022. WebRTC Statistics API. Mozilla Foundation. https://developer.mozilla.org/en-US/docs/Web/API/WebRTC_Statistics_APIGoogle Scholar
- Photon Engine. 2018. Photon Unity Networking (PUN). Exit Games Inc. https://www.photonengine.com/en-US/PUNGoogle Scholar
- Jonathan Rosenberg, Christian Huitema, Rohan Mahy, and Joel Weinberger. 2003. STUN - Simple Traversal of User Datagram Protocol (UDP) Through Network Address Translators (NATs). RFC 3489. https://doi.org/10.17487/RFC3489Google ScholarDigital Library
- Gregor Schiele, Richard Suselbeck, Arno Wacker, Jorg Hahner, Christian Becker, and Torben Weis. 2007. Requirements of Peer-to-Peer-based Massively Multiplayer Online Gaming. In Seventh IEEE International Symposium on Cluster Computing and the Grid (CCGrid ’07). IEEE, Rio de Janeiro, Brazil, 773–782. https://doi.org/10.1109/CCGRID.2007.97Google ScholarDigital Library
- Randall R. Stewart, Michael Tüxen, and karen Nielsen. 2022. Stream Control Transmission Protocol. RFC 9260. https://doi.org/10.17487/RFC9260Google ScholarDigital Library
- Unity Technologies. 2005. Unity Game Engine. Unity Technologies. https://unity.com/Google Scholar
Index Terms
- An Open-Source Framework Using WebRTC for Online Multiplayer Gaming
Recommendations
Gender and Genre Differences in Multiplayer Gaming Motivations
HCI in GamesAbstractThis study examines gaming motivations for two different genres of multiplayer games—casual social network games (SNGs) and massively multiplayer online (MMO) games—and tests for gender differences in motivation after considering genre. We ...
Massively multiplayer online role-playing games: the past, present, and future
Theoretical and Practical Computer Applications in EntertainmentMassively multiplayer online role-playing games (MMORPGs) are emerging in the computer game industry as a very popular genre. These games have existed since the late 1990s, but in the last few years the market has become increasingly strong. This ...
Playmakers in multiplayer game communities: their importance and motivations for participation
ACE '05: Proceedings of the 2005 ACM SIGCHI International Conference on Advances in computer entertainment technologyIn many game-like open-ended multiplayer communities, the success of the game, and well-being of the community, depends on the efforts of certain individuals who arrange resources for gameplay to other players. These include e.g. game masters, server ...
Comments