Photon Cloud and Chat API

xixgames - Sep 18, 2019

Photon Cloud SDK - API integration made by Juan Belón (C++ and Blueprints)

  • Supported Platforms
  • Supported Engine Versions
    4.22 - 4.25
  • Download Type
    Engine Plugin
    This product contains a code plugin, complete with pre-built binaries and all its source code that integrates with Unreal Engine, which can be installed to an engine version of your choice then enabled on a per-project basis.

Photon Cloud c++ sdk extensive implementation as a plugin for Unreal Engine 4.

You will be able to control all the aspects in the framework. One of the best solutions for real-time networking for games out there.

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.


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

Replicator Component Video


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.

Sample explanation.

Technical Details

Features:

  • Create rooms
  • Send/receive custom player, lobby, and room properties
  • Send/receive custom data for players and actors (not properties)
  • Convert photon data to unreal data (array, hashtable, json, basic types)
  • WebRPC send / receive (webhooks)
  • Auth login (custom server, Facebook, Steam, PSN)
  • Chat

Code Modules:

  • Editor and runtime plugin for all platforms
  • Photon Cloud and Chat API as BP library
  • Extensible API

Network Replicated: there is a way to sync data,transforms,etc

Supported Development Platforms: Windows, MacOS

Supported Target Build Platforms: Windows, PS4, XBoxOne, Android, iOS, MacOS

Documentation: http://photonue4.xixgames.com

Demo projects:

https://github.com/juaxix/photon_api_ue4_sample


Notes:

V1.4: Groups of interests

V 1.3: Replicator Component ( https://www.youtube.com/watch?v=gF1D07ZNqUI )

V 1.2:

  • Chat API
  • Friends

DEMOS:

  • Android Build: https://www.dropbox.com/s/xak85e8bp8njxh9/RollingPhotonCloud-armv7-es2.apk?dl=0
  • Windows Build: https://www.dropbox.com/s/4j827kmou95c46e/Demo_WindowsNoEditor.zip?dl=0