Multiplayer Features:

  • Create/Join rooms

  • Send/receive custom player, lobby, and room properties

  • Send/receive custom data for players and actors (not properties)

  • Convert Photon Data to Unreal

  • Web Hooks

  • Auth login (custom server, Facebook, Steam, PSN)

  • Text Chat

  • Voice Chat (iOS and Mac has no input yet -depends on the engine-)

Modules:

  • Photon Cloud, Voice & Chat API as BP libraries

  • Extensible API

  • Made as Subsystems

Network Replicated: custom (not Unreal)

Supported Development Platforms: Windows, Mac

Target Build Platforms: Linux, Win, Hololens, PS4/PS5, XBox/XSX/XB1, Android, iOS, Mac, Switch

Docs: https://photonue4.xixgames.com

Projects: https://github.com/juaxix/photon_api_ue4_sample

Changes:

2.1.-2.4:

  • Photon SDK up to latest.

  • Sending raw data (even custom structs) [Sample]

  • Improvement of the data encoding & decoding.

2.0: Photon Voice (for 4.26+). Photon 5 SDK

1.6: New architecture (4.25+). New Subsystem

1.5: UTF8 multiplatform – actor deprecation in favor of subsystems

1.4: Groups of interests

1.3: Replicator Comp

1.2: Chat and Friends

多人游戏功能:

  • 创建/加入房间

  • 发送/接收自定义播放器、大堂和房间属性

  • 发送/接收玩家和actor的自定义数据(不是属性)

  • 将光子数据转换为虚幻

  • 网钩

  • Auth登录(自定义服务器,facebook,Steam,PSN)

  • 文字聊天

  • 语音聊天(iOS和Mac还没有输入-取决于引擎-)

模块:

  • 光子云、语音和聊天API作为BP库

  • 可扩展API

  • 作为子系统制造

网络复制:自定义(非虚幻)

支持的开发平台:Windows,Mac

目标构建平台:Linux,Win,Hololens,PS4/PS5,XBox/XSX/XB1,Android,iOS,Mac,Switch

文件: https://photonue4.xixgames.com

工程项目: https://github.com/juaxix/photon_api_ue4_sample

变化:

2.1.-2.4:

  • 光子SDK最新.

  • 发送原始数据(甚至自定义结构)[样本]

  • 数据编码和解码的改进.

2.0:光子语音(对于4.26+)。 光子5SDK

1.6:新架构(4.25+)。 新子系统

1.5:UTF8多平台-actor弃用于子系统

1.4:利益群体

1.3:复制器Comp

1.2:聊天和朋友










Create multiplayer games other way than using Online subsystem. Using Photon Cloud, no dedicated needed.

You will be able to control all the aspects in the framework.

Instead of using Unreal’s built-in networking where you need to run UE4 game server instances that UE4 game client instances connect to and players host game, you avoid all this problematic having a cloud server online.

It comes in very handy for this situation as it provides hosting. Due to the amount of Photon customers and an aggressive pricing this is usually cheaper than hosting servers yourself full-stop. You can also create your own Photon Server Self Hosted on Windows.

This plugin does not need an Unreal server (dedicated), it is using a Photon Cloud (Chat or Voice) Relay server that lives in the region you connect to (property of Photon).

It offers matchmaking and scalability, but is not a replacement of UE4 Networking, nor uses it.

Replicator Component Video

Networking features video (4.25+)

Photon Cloud Gameplay Subsystem video update (UE 4.27 and 5.0 support)

How to add multiplayer to the UE5 FPS template using this plugin:

Part 1 | Part 2 [ source ]

Photon is fully cross-platform, which makes it possible to mix clients that use other UE4 clients or mix them with non-UE4 clients for any other engine, including all the known game engines and custom self-made game engines and you can mix them with clients that run without any game engine, as well.

The user code just tells the Photon Client that it wants to create or join a game and Photon cares about what game server an existing room can be found on and which game server has free capacities that the new room can be created on it. The user code does not have to know how many game servers there are, how much rooms and users the hardware on a certain game server can handle or under which address it can be reached. As the server is a relay, you can play with just an stand alone client.

DEMOS:

使用在线子系统以外的其他方式创建多人游戏。 使用光子云,不需要专用.

您将能够控制框架中的所有方面。

在需要运行UE4游戏客户端实例连接到的UE4游戏服务器实例和玩家托管游戏的情况下,您可以避免所有这些在线云服务器的问题。

它在这种情况下非常方便,因为它提供了托管。 由于光子客户的数量和积极的定价,这通常比自己托管服务器更便宜。 您也可以创建自己的光子服务器自己托管在Windows上。

这个插件不需要一个虚幻的服务器(专用),它使用的是一个光子云(聊天或语音)中继服务器,居住在您连接到的区域(光子的属性)。

它提供配对和可扩展性,但不是UE4网络的替代品,也不是使用它。

复制器组件视频

网络功能视频(4.25+)

光子云游戏子系统 视频更新(支持UE4.27和5.0)

如何使用此插件将多人游戏添加到UE5FPS模板:

第一部份 | 第二部份 [ 资料来源 ]

光子是完全跨平台的,这使得混合使用其他UE4客户端的客户端或将它们与任何其他引擎的非UE4客户端混合成为可能,包括所有已知的游戏引擎和定制的自制游戏引擎,你也可以将它们与没有任何游戏引擎的客户端混合使用。

用户代码只是告诉光子客户端它想创建或加入一个游戏,光子关心一个现有的房间可以在哪个游戏服务器上找到,哪个游戏服务器有新的房间可以在它上创建的空闲容量。 用户代码不必知道有多少游戏服务器,某个游戏服务器上的硬件可以处理多少房间和用户或在哪个地址下可以到达。 由于服务器是一个中继,您可以只使用一个独立的客户端。

演示:

声明:本站所有资源都是由站长从网络上收集而来,如若本站内容侵犯了原著者的合法权益,可联系站长删除。