![](https://i-blog.csdnimg.cn/blog_migrate/30f52b57fd446bd8aac04e20f0db392d.png)
photon多人在线
Exit Games is a well-known provider of high-performance network multiplayer server and hosting solutions both inside and outside the Unity development circles. In this tutorial, Exit Games developer Tobias Schweers explains how to use the new Photon Cloud multiplayer network service to create a fun game inspired by the classic children’s game, Marco Polo.
Exit Games是Unity开发圈内外的高性能网络多人服务器和托管解决方案的知名提供商。 在本教程中,退出游戏开发人员Tobias Schweers解释了如何使用新的Photon Cloud多人网络服务来创建一款受经典儿童游戏Marco Polo启发的有趣游戏。
If you like the workflow, you can get the free intro package , including one month of hosting, or you can get a running start with the comprehensive Photon Networking Guide, a starter kit with in-depth tutorials by expert Unity educator and author of the Ultimate Networking Tutorial, Mike Hergaarden. Best of all, it comes with a 6 month, 100 CCU cloud service subscription!
如果您喜欢工作流程,则可以免费获得介绍包 ,其中包括一个月的托管时间,或者可以使用全面的《 光子网络指南》作为入门指南 ,该指南套件是由Unity专业教育家和该书的作者撰写的深入教程。终极网络教程,Mike Hergaarden。 最棒的是,它提供6个月的100 CCU云服务订阅!
制备 (Preparation)
Get the Photon Unity Networking package from the Asset Store. During import, un-check the “DemoWorker” folder (and the complete sample). A PUN “Setup Wizard” will pop up. You can use the free 30 day subscription without obligation. For now, we just enter our mail address and the Wizard does its magic: If the mail address is unknown to the Cloud, we will get an “app ID” right away. If the address is known, we registered it before fetch our “app ID” from the account page. Click “Setup” in the Wizard and copy & paste the app ID”. Save and close the Wizard. We’re ready to use “The Cloud”!
从资产商店获取Photon Unity Networking软件包 。 在导入过程中,请取消选中“ DemoWorker”文件夹(以及完整的示例)。 将弹出一个PUN“设置向导”。 您可以免费使用30天的订阅。 现在,我们只需要输入我们的邮件地址,向导就可以实现它的魔力:如果邮件地址对于Cloud未知,我们将立即获得一个“应用程序ID”。 如果知道该地址,我们先进行注册,然后再从帐户页面获取“应用程序ID”。 在向导中单击“设置”,然后复制并粘贴应用ID。 保存并关闭向导。 我们准备使用“云”!
So, what exactly does this “Photon Cloud” do?!
那么,“光子云”到底是做什么的呢?