photon多人在线_Photon Cloud网络多人游戏开发简介

本文介绍了如何使用Exit Games的Photon Cloud服务创建一个受经典游戏Marco Polo启发的多人在线游戏。首先从Unity Asset Store获取Photon Unity Networking包,通过设置向导连接到Photon Cloud。接着讲解了如何处理房间的创建、加入和错误处理,以及如何同步角色位置。通过实例展示了在多人游戏中平滑移动角色的实现。文章提供了入门级别的指导,适合对Unity和网络多人游戏开发感兴趣的学习者。
摘要由CSDN通过智能技术生成

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?!

那么,“光子云”到底是做什么的呢?

<
  • 2
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值