We Have an SDK for You!
Find Your Match and Start Developing.

 
  • Realtime
  • Fusion
  • PUN
  • BOLT
  • Quantum
  • Chat
  • Voice
  • Server
MULTIPLAYER
溝通
SELF-HOSTED
 

 
  • .NET
  • Android
  • Cocos2d-x
  • Construct 2
  • Corona
  • Emscripten
  • Game Core
  • Hololens
  • HTML5
  • iOS
  • Linux
  • Mac OS X
  • Magic Leap
  • Nintendo Switch
  • PlayStation®4
  • PlayStation®5
  • tvOS
  • Unity
  • Unreal Engine
  • WebGL
  • Windows
  • Windows Store
  • Xbox One
 

 
  • C++
  • C#
  • JavaScript
  • Lua
  • Objective C
  • TypeScript
 
 
 
Bolt
Unity Asset

Photon BOLT Made for UNITY

Photon BOLT Unity Asset BOLT是我們的點對點網路連線引擎。適合於 Steam遊戲和使用Steamwork的網路轉送服務或者建立Client Server架構。 您將會喜歡上功能強大的事件系統, 為主從式架構所設計,還有自動複製 Mecanim 動畫等等的功能。 Free Download

Doc
BOLT 說明文件
API Doc
Bolt API

Bolt
Bolt Pro

Bolt Pro

 

Read Me


Photon Bolt Pro SDK
------------------------------------------

Photon is the world's #1 independent networking engine and multiplayer platform — Fast, reliable, scalable.

Bolt is a very powerful networking solution for Unity, being very popular among its community. 
The recipe for its success resides in the abstraction of complex networking features behind simple and easy interfaces.

Use the Photon Bolt SDK to easily add multiplayer to your games.

Contact
------------------------------------------

You can join our forum at: https://forum.photonengine.com/categories/bolt-engine
And our Discord Channel here: https://discord.gg/0ya6ZpOvnShSCtbb

To get in touch with other Photon developers and our engineers, visit our Developer Forum: https://forum.photonengine.com.
Keep yourself up to date following Exit Games on Twitter http://twitter.com/exitgames and our blog at http://blog.photonengine.com/.
 
Bolt
Game Core Unity addOn

Game Core Unity addOn

 

Read Me


Photon Game Core Unity Plugin
------------------------------------------

You must be logged in and a verified Game Core developer to download this Unity addon.

If the download is blocked, get in touch with us.
Mail to: developer@photonengine.com to get your Photon account setup.


Contact
------------------------------------------

To get in touch with other Photon developers and our engineers, visit our Developer Forum:
https://forum.photonengine.com  
Keep yourself up to date following Exit Games on Twitter http://twitter.com/exitgames
and our blog at http://blog.photonengine.com/.
 
Bolt
PlayStation®4

PlayStation®4

 

Read Me


Photon Bolt Pro SDK - PS4 Integration
------------------------------------------

Photon is the world's #1 independent networking engine and multiplayer platform — Fast, reliable, scalable.

Bolt is a very powerful networking solution for Unity, being very popular among its community. 
The recipe for its success resides in the abstraction of complex networking features behind simple and easy interfaces.

Use the Photon Bolt SDK to easily add multiplayer to your games.

Contact
------------------------------------------

You can join our forum at: https://forum.photonengine.com/categories/bolt-engine
And our Discord Channel here: https://discord.gg/0ya6ZpOvnShSCtbb

To get in touch with other Photon developers and our engineers, visit our Developer Forum: https://forum.photonengine.com.
Keep yourself up to date following Exit Games on Twitter http://twitter.com/exitgames and our blog at http://blog.photonengine.com/.
 
Bolt
Bolt Xbox One GDK

Bolt Xbox One GDK

 

Read Me

Photon Bolt - XboxOne XGD Integration
------------------------------------------

Photon is the world's #1 independent networking engine and multiplayer platform — Fast, reliable, scalable.

Bolt is a very powerful networking solution for Unity, being very popular among its community. 
The recipe for its success resides in the abstraction of complex networking features behind simple and easy interfaces.

Use the Photon Bolt SDK to easily add multiplayer to your games.

Contact
------------------------------------------

You can join our forum at: https://forum.photonengine.com/categories/bolt-engine
And our Discord Channel here: https://discord.gg/0ya6ZpOvnShSCtbb

To get in touch with other Photon developers and our engineers, visit our Developer Forum: https://forum.photonengine.com.
Keep yourself up to date following Exit Games on Twitter http://twitter.com/exitgames and our blog at http://blog.photonengine.com/.
 
Bolt
Bolt Xbox One XDK

Bolt Xbox One XDK

 

Read Me

Photon Bolt - XboxOne XDK Integration
------------------------------------------

Photon is the world's #1 independent networking engine and multiplayer platform — Fast, reliable, scalable.

Bolt is a very powerful networking solution for Unity, being very popular among its community. 
The recipe for its success resides in the abstraction of complex networking features behind simple and easy interfaces.

Use the Photon Bolt SDK to easily add multiplayer to your games.

Contact
------------------------------------------

You can join our forum at: https://forum.photonengine.com/categories/bolt-engine
And our Discord Channel here: https://discord.gg/0ya6ZpOvnShSCtbb

To get in touch with other Photon developers and our engineers, visit our Developer Forum: https://forum.photonengine.com.
Keep yourself up to date following Exit Games on Twitter http://twitter.com/exitgames and our blog at http://blog.photonengine.com/.
 
Bolt
Xbox One Bolt Pro Addon

Xbox One Bolt Pro Addon

 

Read Me


Photon Bolt Pro SDK - XboxOne Integration
------------------------------------------

Photon is the world's #1 independent networking engine and multiplayer platform — Fast, reliable, scalable.

Bolt is a very powerful networking solution for Unity, being very popular among its community. 
The recipe for its success resides in the abstraction of complex networking features behind simple and easy interfaces.

Use the Photon Bolt SDK to easily add multiplayer to your games.

Contact
------------------------------------------

You can join our forum at: https://forum.photonengine.com/categories/bolt-engine
And our Discord Channel here: https://discord.gg/0ya6ZpOvnShSCtbb

To get in touch with other Photon developers and our engineers, visit our Developer Forum: https://forum.photonengine.com.
Keep yourself up to date following Exit Games on Twitter http://twitter.com/exitgames and our blog at http://blog.photonengine.com/.
 
Bolt
Xbox One Unity addOn

Xbox One Unity addOn

 

Read Me


Photon Xbox One Unity Plugin
------------------------------------------

You must be logged in and a verified Xbox One developer to download this Unity addon.

If the download is blocked, get in touch with us.
Mail to: developer@photonengine.com to get your Photon account setup.


Contact
------------------------------------------

To get in touch with other Photon developers and our engineers, visit our Developer Forum:
https://forum.photonengine.com  
Keep yourself up to date following Exit Games on Twitter http://twitter.com/exitgames
and our blog at http://blog.photonengine.com/.
 
Chat
Android

Android

 

Read Me


Photon Android NDK SDK
------------------------------------------

Photon is the world's #1 independent networking engine and multiplayer platform - Fast, reliable, scalable.

Use the Photon Android NDK SDK to easily add multiplayer to your games.
Run them in the global Photon Cloud or host your own Photon Servers.
Match your players to a shared game session (called "room") and transfer messages synchronously, in real-time, between connected players across platforms.
All client SDKs can interact with each other, no matter if iOS, Android, web, console or standalone.


Package Contents
------------------------------------------

/Chat-cpp              - Photon Chat sources
/Common-cpp            - common sources
/doc                   - Release history, API documentation
/LoadBalancing-cpp     - Photon Realtime sources
/Photon-cpp            - common Photon sources
/PhotonVoice-cpp       - Photon Voice sources
/Demos

	/demo_basics:
	The demo client is basically a 'Hello World'. So it's the best place to start if you are new to the SDK.

	/demo_chat:
	The demo shows a basic way of using the Photon Chat API with a graphical user interface. This uses the Cocos2D-x graphics engine.

	/demo_loadbalancing:
	The demo client connects to a master server and shows how to create a room, join a random game and how to send and receive events within a running game.

	/demo_memory:
	This demo displays Photon's asynchronous turnbased features in a game of Memory. This uses the Cocos2D-x graphics engine.

	/demo_particle:
	The demo client connects to a master server and shows the random matchmaking mechanism, how to create a room and how to send and receive events within a running game.
	Players move 'their' blocks around and the positions are updated in realtime between clients. The UI shows areas of interest when activated. This uses the Cocos2D-x graphics engine.

	/demo_typeSupport:
	This demo displays the proper use of Photon's serializable data types.


Contact
------------------------------------------

To get in touch with other Photon developers and our engineers, visit our Developer Forum:
https://forum.photonengine.com  
Keep yourself up to date following Exit Games on Twitter http://twitter.com/exitgames
and our blog at http://blog.photonengine.com/.


 
Download SDK
v5.0.11
Doc
Chat 說明文件
API Doc
C++ API
Chat
Unity Asset

Photon Chat Unity Assets Made for UNITY

Photon Chat FREE package is the easiest way to add a chat to your game in Unity within minutes. Its flexible channel system allows to integrate any number of chat channels to your game e.g. a global chat, multiple regional chats and a clan-based chat in parallel. Alternatively, use the Photon Chat .NET SDK. The client SDK offers programmers detailed control.
Get the Photon Chat .NET SDK from here.

Photon Chat
免費下載CHAT
您只需要聊天功能,而不需要多人玩家連線功能嗎? 您可以輕鬆的下載免費的Photon Chat Free
Chat Free包含在PUN Free和PUN Plus中。 請不要將此組合與PUN Free或PUN Plus一起使用。

Doc
Chat 說明文件

Chat
Cocos2d-x

Cocos2d-x

 

Read Me

All C++ based Photon SDKs are compatible with Cocos2d-x off the shelf! Find the SDKs you can gear it up with linked to below.
 
Chat
Construct 2

Construct 2

 

Read Me

Photon SDK for Scirra Construct 2 readme.  
(C) Exit Games GmbH 2016

Overview 
----------------------------------------------------------------------------------------------------
Photon SDK contains Scirra Construct 2 plugins exposing underlying Photon Javascript library 
functionality:
- Photon Realtime Plugin allows to develop multiplayer games with clients communicating through 
  Photon Cloud or self-hosted Photon Server. 
  Follow https://www.photonengine.com/en/Realtime for info on Photon Realtime.
- Photon Chat Plugin adds chat functionality to your game.
  Follow https://www.photonengine.com/en/Chat for info on Photon Chat.

Installation
----------------------------------------------------------------------------------------------------
- Drag and drop photon.c2addon and photon-chat.c2addon files into the Construct 2 window. 
  See Construct 2 documentation on plugins installation details.
- Register a new realtime app at https://www.photonengine.com/en/Dashboard/Realtime 
- Register a new chat app at https://www.photonengine.com/en/Dashboard/Chat

Running demos
----------------------------------------------------------------------------------------------------
- Find Photon object in project tree and set its AppId property to application id value from dashboard.
- Select Main layout.
- Run the application. Editor will open browser page. Copy url and open it in new browser pages.
- Check browser console for helpful info.
- Pool demo: all clients automatically join single room, each spawns the fish and notifies others 
  with fish positions. Click on the pool makes owned fish move to the click location.
- Test demo: automatically joins or creates new room. Pressing Leave will bring the client to the lobby 
  where client can create new room or join existing from list. Also, test event firing is available 
  inside the room (check other clients log for events receive report).
- Chat demo: start 2 or more clients. For every client, choose user id and press Connect. 
  When client is connected to front end, enter channel names separated by comma and press Subscribe. 
  Select channel in list, enter message and press Publish. Or specify destination user id and send 
  private message by pressing Send.

Package Contents
----------------------------------------------------------------------------------------------------
- license.txt         - the license terms
- readme.txt          - this readme text
- release_history.txt - changelog
- photon.c2addon      - Photon Realtime Plugin
- photon-chat.c2addon - Photon Chat Plugin
- demo-test.capx      - application for testing Photon Realtime features
- demo-pool.capx      - Realtime demo application
- demo-chat.capx      - Chat demo application

Documentation
----------------------------------------------------------------------------------------------------
There is no Photon Construct 2 Plugin specific documentation or tutorials available currently.  
General documentation on Photon Realtime: http://doc.photonengine.com/en-us/realtime/current/getting-started/realtime-intro  
Photon Chat documentation: http://doc.photonengine.com/en-us/chat/current/getting-started/chat-intro  
Underlying Photon Javascript API reference: http://doc-api.photonengine.com/en/javascript/current  

Demos included in the package show clear how plugin works and may be used as tempaltes for real projects.  
Short descriptions available for each plugin item in editor.

Download
----------------------------------------------------------------------------------------------------
The latest version of Photon Plugin for Scirra Construct 2 can be found at
https://www.photonengine.com/Realtime/Download

Contact
----------------------------------------------------------------------------------------------------
To get in touch with other Photon developers and our engineers, visit our Developer Forum:
http://forum.photonengine.com  
Keep yourself up to date following Exit Games on Twitter http://twitter.com/exitgames
and our blog at http://blog.photonengine.com  


 
Chat
Corona

Corona

 

Read Me


Photon Corona SDK
------------------------------------------

The Photon Lua library provides a simple to use framework to access the Photon Server
and the Photon Cloud from Lua scripts. 
Cross platform communication is possible, so Lua clients can send events to DotNet or
native clients. This might require some adjustments on other platforms. This is shown 
by the "Particle" demo.

The LoadBalancing API is compatible with the Photon Cloud and servers you host yourself, 
using the Photon Server SDK.

Find the latest Photon downloads at https://www.photonengine.com/en-us/realtime/download

The reference documentation is in this package.
More documentation for Photon development is available at http://doc.photonengine.com/.


Package Contents
------------------------------------------

license.txt           - the license terms
install.txt           - installation info
readme.txt            - this readme text
release_history.txt   - release history
doc                  - the Lua API reference documentation
lib                  - library
src/demo-console/autochat.lua                  - console automatic chat test using Lite
src/demo-console/autochat-lb.lua               - console automatic chat test using Cloud suport
src/demo-helloworld-cloud/main.lua             - Corona simple test using Lite
src/demo-particle/main.lua                     - Corona demo showing more of the API's features (Cloud, cross platform)
src/demo-particle/console.lua                  - console variant of particle demo
src/demo-memory/main.lua                       - Corona demo showing Photon Turnbased features
src/demo-chat/main.lua                         - Corona demo showing Photon Chat API's features

	
	
Contact
------------------------------------------

To get in touch with other Photon developers and our engineers, visit our Developer Forum:
https://forum.photonengine.com  
Keep yourself up to date following Exit Games on Twitter http://twitter.com/exitgames
and our blog at http://blog.photonengine.com/.
 
Download SDK
v4.1.0.2
Doc
Chat 說明文件
API Doc
Lua API
Chat
.NET

.NET

 

Read Me


Photon Realtime SDK for .Net (non-Unity) - Readme
www.photonengine.com


Content
----------------------------------------------------------------------------------------------------
	- Photon Client libraries (.Net Standard 2.0, "non-Unity")
	- Realtime API (C# source)
	- Chat API (C# source)



Versions
----------------------------------------------------------------------------------------------------
	The v5 version includes several breaking API changes compared to v4.
	Pick the one fitting to your project, unless you deliberately want to update. 
	Breaking changes ahead! Backup your project.
	
	v4 is used by PUN 2, Fusion, Quantum 2 and Voice 2
	v5 is used by Quantum 3. A special Voice 2 version for Quantum 3 is available on request.



Documentation
----------------------------------------------------------------------------------------------------
    The API reference is included in this package as CHM file.
    Find the manuals, tutorials, API reference and more online.

    http://doc.photonengine.com



Running the Demos
----------------------------------------------------------------------------------------------------
    Our demos are built for the Photon Cloud for convenience.
    The service is free for development. Signing up is instant and without obligation.

    https://dashboard.photonengine.com

    Each application type has it's own AppId (e.g Realtime and Chat).
    This must be copied into the clients: Update the property "AppId" in the source files of the demos.

    You will find specific sections of the Dashboard per application type.


    Alternatively host the Photon Server yourself. The AppId is not needed in that case.
    https://www.photonengine.com/sdks#server

    How to start the server:
    https://doc.photonengine.com/en-us/onpremise/current/getting-started/photon-server-in-5min



Chat Documentation
----------------------------------------------------------------------------------------------------
    http://doc.photonengine.com/en/chat
    http://forum.photonengine.com



Implementing Photon Chat
----------------------------------------------------------------------------------------------------
    Photon Chat is separated from other Photon Applications, so it needs it's own AppId.
    Our demos usually don't have an AppId set.
    In code, find "<your appid>" to copy yours in. In Unity, we usually use a component
    to set the AppId via the Inspector. Look for the "Scripts" GameObject in the scenes.

    Register your Chat Application in the Dashboard:
    https://dashboard.photonengine.com

    The class ChatClient and the interface IChatClientListener wrap up most important parts
    of the Chat API. Please refer to their documentation on how to use this API.
    More documentation will follow.

    If you use Unity, copy the source from the ChatApi folder into your project.



Unity Notes
----------------------------------------------------------------------------------------------------
    If you don't use Unity, skip this chapter.


    We assume you're using Unity 2017.4 or newer.
    The demos are prepared to export for Standalone only.

    The SDK contains an "Assets" folder. To import Photon into your project, copy the content
    into your project's Asset folder. You may need to setup the DLLs in the Inspector to export
    for your platform(s).


    Currently supported export platforms are:
        Standalone (Windows, OSx and Linux)
        WebGL
        iOS
        Android
        Windows 10 UWP
        Consoles			(see: https://doc.photonengine.com/en-us/pun/current/consoles)


    All Unity projects must use ExitGames.Client.Photon.Hashtable!
    This provides compatibility across all exports.
    Add this to your code (at the beginning), to resolve the "ambiguous Hashtable" declaration:
    using Hashtable = ExitGames.Client.Photon.Hashtable;


    How to add Photon to your Unity project:
    1) The Unity SDK contains an "Assets" folder.
       Copy the content into your project's Assets folder.
    2) Make sure to have the following line of code in your scripts to make it run in background:
       Application.runInBackground = true; //without this Photon will loose connection if not focussed
    3) Add "using Hashtable = ExitGames.Client.Photon.Hashtable;" to your scripts. Without quotation.
    5) If you host a Photon Server change the server address in the client. "localhost:5055" won't work on device.
    6) Implement OnApplicationQuit() and disconnect the client when the app stops.
 
Chat
Emscripten

Emscripten

 

Read Me


Photon Emscripten SDK
------------------------------------------

Photon is the world's #1 independent networking engine and multiplayer platform — Fast, reliable, scalable.

Use the Photon Emscripten SDK to easily add multiplayer to your games.
Run them in the global Photon Cloud or host your own Photon Servers.
Match your players to a shared game session (called "room") and transfer messages synchronously, in real-time, between connected players across platforms.
All client SDKs can interact with each other, no matter if iOS, Android, web, console or standalone.


Package Contents
------------------------------------------

/Chat-cpp              - Photon Chat sources
/Common-cpp            - common sources
/doc                   - Release history, API documentation
/LoadBalancing-cpp     - Photon Realtime sources
/Photon-cpp            - common Photon sources
/Demos

	/demo_loadbalancing:
	The demo client connects to a master server and shows how to create a room, join a random game and how to send and receive events within a running game.

	/shared:
	This folder holds all applications used by various demos.


Contact
------------------------------------------

To get in touch with other Photon developers and our engineers, visit our Developer Forum:
https://forum.photonengine.com  
Keep yourself up to date following Exit Games on Twitter http://twitter.com/exitgames
and our blog at http://blog.photonengine.com/.
 
Download SDK
v5.0.11
Doc
Chat 說明文件
API Doc
C++ API
Chat
Game Core

Game Core

 

Read Me


Photon Game Core SDK
------------------------------------------

Please contact the console producer on additional setup information or required authorization.

Photon is the world's #1 independent networking engine and multiplayer platform — Fast, reliable, scalable.

Use the Photon SDK to easily add multiplayer to your games.
Run them in the global Photon Cloud or host your own Photon Servers.
Match your players to a shared game session (called "room") and transfer messages synchronously, in real-time, between connected players across platforms.
All client SDKs can interact with each other, no matter if iOS, Android, web, console or standalone.


Package Contents
------------------------------------------

/Chat-cpp              - Photon Chat sources
/Common-cpp            - common sources
/doc                   - Release history, API documentation
/LoadBalancing-cpp     - Photon Realtime sources
/Photon-cpp            - common Photon sources
/PhotonVoice-cpp       - Photon Voice sources
/Demos

	/demo_loadbalancing:
	The demo client connects to a master server and shows how to create a room, join a random game and how to send and receive events within a running game.


Contact
------------------------------------------

To get in touch with other Photon developers and our engineers, visit our Developer Forum:
https://forum.photonengine.com  
Keep yourself up to date following Exit Games on Twitter http://twitter.com/exitgames
and our blog at http://blog.photonengine.com/.
 
Download SDK
v5.0.11
Doc
Chat 說明文件
API Doc
C++ API
Chat
Game Core Unity addOn

Game Core Unity addOn

 

Read Me


Photon Game Core Unity Plugin
------------------------------------------

You must be logged in and a verified Game Core developer to download this Unity addon.

If the download is blocked, get in touch with us.
Mail to: developer@photonengine.com to get your Photon account setup.


Contact
------------------------------------------

To get in touch with other Photon developers and our engineers, visit our Developer Forum:
https://forum.photonengine.com  
Keep yourself up to date following Exit Games on Twitter http://twitter.com/exitgames
and our blog at http://blog.photonengine.com/.
 
Chat
iOS

iOS

 

Read Me


Photon iOS SDK
------------------------------------------

Photon is the world's #1 independent networking engine and multiplayer platform — Fast, reliable, scalable.

Use the Photon iOS SDK to easily add multiplayer to your games.
Run them in the global Photon Cloud or host your own Photon Servers.
Match your players to a shared game session (called "room") and transfer messages synchronously, in real-time, between connected players across platforms.
All client SDKs can interact with each other, no matter if iOS, Android, web, console or standalone.


Package Contents
------------------------------------------

/Chat-cpp              - Photon Chat sources
/Chat-objc             - Photon Chat sources Objective-C
/Common-cpp            - common sources
/Common-objc           - common sources Objective-C
/doc                   - Release history, API documentation
/LoadBalancing-cpp     - Photon Realtime sources
/LoadBalancing-objc    - Photon Realtime sources Objective-C
/Photon-cpp            - common Photon sources
/Photon-objc           - common Photon sources Objective-C
/PhotonVoice-cpp       - Photon Voice sources
/Demos

	/demo_basics:
	The demo client is basically a 'Hello World'. So it's the best place to start if you are new to the SDK. It is implemented in C++.

	/demo_chat:
	The demo shows a basic way of using the Photon Chat API with a graphical user interface. This uses the Cocos2D-x graphics engine and is implemented in C++.

	/demo_chat_objc:
	The demo shows a basic way of using the Photon Chat API within a console. It is implemented in Objective-C.

	/demo_iPhone_realtime_objc:
	The demo client connects to a Photon Server running the Lite application and and shows how to create a room and how to send and receive events within a running game.
	Players move 'their' blocks around and the positions are updated in realtime between clients. It uses the Cocos2D-iPhone graphics engine and is implemented in Objective-C.

	/demo_loadBalancing:
	The demo client connects to a master server and shows how to create a room, join a random game and how to send and receive events within a running game. It is implemented in C++.

	/demo_loadBalancing_objc:
	The demo client connects to a master server and shows how to create a room, join a random game and how to send and receive events within a running game. It is implemented in Objective-C.

	/demo_loadBalancing_swift:
	The demo client connects to a master server and shows how to create a room, join a random game and how to send and receive events within a running game. It is implemented in Swift.

	/demo_memory:
	This demo displays Photon's asynchronous turnbased features in a game of Memory. This uses the Cocos2D-x graphics engine. It is implemented in C++.

	/demo_particle:
	The demo client connects to a master server and shows the random matchmaking mechanism, how to create a room and how to send and receive events within a running game.
	Players move 'their' blocks around and the positions are updated in realtime between clients. The UI shows areas of interest when activated. This uses the Cocos2D-x graphics engine.
	It is implemented in C++.

	/demo_typeSupport:
	This demo displays the proper use of Photon's serializable data types. It is implemented in C++.

	/demo_typeSupport_objc:
	This demo displays the proper use of Photon's serializable data types. It is implemented in Objective-C.


Contact
------------------------------------------

To get in touch with other Photon developers and our engineers, visit our Developer Forum:
https://forum.photonengine.com  
Keep yourself up to date following Exit Games on Twitter http://twitter.com/exitgames
and our blog at http://blog.photonengine.com/.
 
Chat
JavaScript

JavaScript

 

Read Me

Photon JavaScript SDK

(C) Exit Games GmbH 2024


Overview 
----------------------------------------------------------------------------------------------------
The Photon Javascript library provides a simple to use framework to access the Photon Server and the Photon Cloud.
Cross platform communication is possible, so Javascript clients can interact with DotNet or native clients.
The SDK supports 2 APIs.


Realtime (LoadBalancing) API
----------------------------------------------------------------------------------------------------
Allows to access Photon Cloud Realtime service: https://doc.photonengine.com/en-us/realtime/current/getting-started/realtime-intro


Chat API
----------------------------------------------------------------------------------------------------
Allows to access Photon Chat service: https://doc.photonengine.com/en-us/chat/current/getting-started/chat-intro


Documentation
----------------------------------------------------------------------------------------------------
The reference documentation is in this package. Follow links per API above for more documentation for Photon development.


Download
----------------------------------------------------------------------------------------------------
The latest version of Javascript SDK can be found at https://www.photonengine.com/sdks#realtime-sdkrealtimejavascript


Installation
----------------------------------------------------------------------------------------------------
- Extract the Photon Javascript SDK to a location of your choice

- Create an application in https://dashboard.photonengine.com/
  Use Chat for demo-chat-api and Realtime for other demos.
- Set up you application info with a text editor in cloud-app-info.js file found in the demo root folder.
- Optionally for demo-particle and demo-pairs-mc samples, set FbAppId to your Facebook App id 
  in cloud-app-info.js for Facebook login. Place your HTML5 / JavaScript client code on one of 
  App Domains specified in your Facebook App settings. This required for proper Facebook Login 
  button work.
- Open default.html in browser.


Contact
----------------------------------------------------------------------------------------------------
To get in touch with other Photon developers and our engineers, Join our Discord Server https://dashboard.photonengine.com/account/profile
Keep yourself up to date following Exit Games on Twitter http://twitter.com/exitgames and our blog http://blog.photonengine.com


Package Contents
----------------------------------------------------------------------------------------------------
- license.txt         - the license terms
- readme.txt          - readme text
- release_history.txt - release history
- /doc                - the JavaScript API reference documentation
- /lib                - Photon JavaScript libraries
  -  /photon.js              - Photon Realtime library
  -  /photon.min.js          - minimized version
  -  /photon-em.js           - Photon Realtime Emscripten library (binary protocol)
  -  /photon-em.min.js       - minimized version
  -  /photon.d.ts            - Photon Realtime Typescript declaration file
- /src    
  -  /demo-loadbalancing     - basic Realtime (LoadBalancing) API demo application
  -  /demo-particle          - demo showing more of the Realtime API's features
  -  /demo-pairs-mc          - Turnbased Realtime application demo
  -  /demo-chat-api          - Chat API demo application
 
Chat
Linux

Linux

 

Read Me


Photon Linux SDK
------------------------------------------

Photon is the world's #1 independent networking engine and multiplayer platform — Fast, reliable, scalable.

Use the Photon Linux SDK to easily add multiplayer to your games.
Run them in the global Photon Cloud or host your own Photon Servers.
Match your players to a shared game session (called "room") and transfer messages synchronously, in real-time, between connected players across platforms.
All client SDKs can interact with each other, no matter if iOS, Android, web, console or standalone.


Package Contents
------------------------------------------

/Chat-cpp              - Photon Chat sources
/Common-cpp            - common sources
/doc                   - Release history, API documentation
/LoadBalancing-cpp     - Photon Realtime sources
/Photon-cpp            - common Photon sources
/PhotonVoice-cpp       - Photon Voice sources
/Demos

	/demo_basics:
	The demo client is basically a 'Hello World'. So it's the best place to start if you are new to the SDK.

	/demo_chat:
	The demo shows a basic way of using the Photon Chat API in a console.

	/demo_loadBalancing:
	The demo client connects to a master server and shows how to create a room, join a random game and how to send and receive events within a running game.

	/demo_particle:
	The demo client connects to a master server and shows the random matchmaking mechanism, how to create a room and how to send and receive events within a running game.
	Blocks are being moved automatically and the positions are updated in realtime between clients. This is a console application.

	/demo_typeSupport:
	This demo displays the proper use of Photon's serializable data types.


Contact
------------------------------------------

To get in touch with other Photon developers and our engineers, visit our Developer Forum:
https://forum.photonengine.com  
Keep yourself up to date following Exit Games on Twitter http://twitter.com/exitgames
and our blog at http://blog.photonengine.com/.
 
Download SDK
v5.0.11
Doc
Chat 說明文件
API Doc
C++ API
Chat
Mac OS X

Mac OS X

 

Read Me


Photon Mac OS X SDK
------------------------------------------

Photon is the world's #1 independent networking engine and multiplayer platform — Fast, reliable, scalable.

Use the Photon Mac OS X SDK to easily add multiplayer to your games.
Run them in the global Photon Cloud or host your own Photon Servers.
Match your players to a shared game session (called "room") and transfer messages synchronously, in real-time, between connected players across platforms.
All client SDKs can interact with each other, no matter if iOS, Android, web, console or standalone.


Package Contents
------------------------------------------

/Chat-cpp              - Photon Chat sources
/Chat-objc             - Photon Chat sources Objective-C
/Common-cpp            - common sources
/Common-objc           - common sources Objective-C
/doc                   - Release history, API documentation
/LoadBalancing-cpp     - Photon Realtime sources
/LoadBalancing-objc    - Photon Realtime sources Objective-C
/Photon-cpp            - common Photon sources
/Photon-objc           - common Photon sources Objective-C
/PhotonVoice-cpp       - Photon Voice sources
/Demos

	/demo_basics:
	The demo client is basically a 'Hello World'. So it's the best place to start if you are new to the SDK. It is implemented in C++.

	/demo_chat:
	The demo shows a basic way of using the Photon Chat API within a console. It is implemented in C++.	

	/demo_loadBalancing:
	The demo client connects to a master server and shows how to create a room, join a random game and how to send and receive events within a running game. It is implemented in C++.

	/demo_loadBalancing_objc:
	The demo client connects to a master server and shows how to create a room, join a random game and how to send and receive events within a running game. It is implemented in Objective-C.

	/demo_loadBalancing_swift:
	The demo client connects to a master server and shows how to create a room, join a random game and how to send and receive events within a running game. It is implemented in Swift.

	/demo_particle:
	The demo client connects to a master server and shows the random matchmaking mechanism, how to create a room and how to send and receive events within a running game.
	Blocks are being moved automatically and the positions are updated in realtime between clients. This is a console application which is implemented in C++.

	/demo_typeSupport:
	This demo displays the proper use of Photon's serializable data types. It is implemented in C++.

	/demo_typeSupport_objc:
	This demo displays the proper use of Photon's serializable data types. It is implemented in Objective-C.


Contact
------------------------------------------

To get in touch with other Photon developers and our engineers, visit our Developer Forum:
https://forum.photonengine.com  
Keep yourself up to date following Exit Games on Twitter http://twitter.com/exitgames
and our blog at http://blog.photonengine.com/.
 
Chat
Nintendo Switch

Nintendo Switch

 

Read Me


Photon Nintendo Switch SDK
------------------------------------------

Please contact the console producer on additional setup information or required authorization.

Photon is the world's #1 independent networking engine and multiplayer platform — Fast, reliable, scalable.

Use the Photon SDK to easily add multiplayer to your games.
Run them in the global Photon Cloud or host your own Photon Servers.
Match your players to a shared game session (called "room") and transfer messages synchronously, in real-time, between connected players across platforms.
All client SDKs can interact with each other, no matter if iOS, Android, web, console or standalone.


Package Contents
------------------------------------------

/Chat-cpp              - Photon Chat sources
/Common-cpp            - common sources
/doc                   - Release history, API documentation
/LoadBalancing-cpp     - Photon Realtime sources
/Photon-cpp            - common Photon sources
/PhotonVoice-cpp       - Photon Voice sources
/Demos

	/demo_loadbalancing:
	The demo client connects to a master server and shows how to create a room, join a random game and how to send and receive events within a running game.


Contact
------------------------------------------

To get in touch with other Photon developers and our engineers, visit our Developer Forum:
https://forum.photonengine.com  
Keep yourself up to date following Exit Games on Twitter http://twitter.com/exitgames
and our blog at http://blog.photonengine.com/.
 
Chat
PlayStation®4

PlayStation®4

 

Read Me


Photon PS4 SDK
------------------------------------------

Please contact the console producer on additional setup information or required authorization.

Photon is the world's #1 independent networking engine and multiplayer platform — Fast, reliable, scalable.

Use the Photon SDK to easily add multiplayer to your games.
Run them in the global Photon Cloud or host your own Photon Servers.
Match your players to a shared game session (called "room") and transfer messages synchronously, in real-time, between connected players across platforms.
All client SDKs can interact with each other, no matter if iOS, Android, web, console or standalone.


Package Contents
------------------------------------------

/Chat-cpp              - Photon Chat sources
/Common-cpp            - common sources
/doc                   - Release history, API documentation
/LoadBalancing-cpp     - Photon Realtime sources
/Photon-cpp            - common Photon sources
/PhotonVoice-cpp       - Photon Voice sources
/Demos

	/demo_chat:
	The demo shows a basic way of using the Photon Chat API.

	/demo_loadbalancing:
	The demo client connects to a master server and shows how to create a room, join a random game and how to send and receive events within a running game.

	/demo_particle:
	The demo client connects to a master server and shows the random matchmaking mechanism, how to create a room and how to send and receive events within a running game.
	Players move 'their' blocks around and the positions are updated in realtime between clients.


Contact
------------------------------------------

To get in touch with other Photon developers and our engineers, visit our Developer Forum:
https://forum.photonengine.com  
Keep yourself up to date following Exit Games on Twitter http://twitter.com/exitgames
and our blog at http://blog.photonengine.com/.
 
Download SDK
v5.0.11.3
Doc
Chat 說明文件
API Doc
C++ API
Chat
PlayStation®5

PlayStation®5

 

Read Me


Photon PS5 SDK
------------------------------------------

Please contact the console producer on additional setup information or required authorization.

Photon is the world's #1 independent networking engine and multiplayer platform — Fast, reliable, scalable.

Use the Photon SDK to easily add multiplayer to your games.
Run them in the global Photon Cloud or host your own Photon Servers.
Match your players to a shared game session (called "room") and transfer messages synchronously, in real-time, between connected players across platforms.
All client SDKs can interact with each other, no matter if iOS, Android, web, console or standalone.


Package Contents
------------------------------------------

/Chat-cpp              - Photon Chat sources
/Common-cpp            - common sources
/doc                   - Release history, API documentation
/LoadBalancing-cpp     - Photon Realtime sources
/Photon-cpp            - common Photon sources
/PhotonVoice-cpp       - Photon Voice sources
/Demos

	/demo_loadbalancing:
	The demo client connects to a master server and shows how to create a room, join a random game and how to send and receive events within a running game.


Contact
------------------------------------------

To get in touch with other Photon developers and our engineers, visit our Developer Forum:
https://forum.photonengine.com  
Keep yourself up to date following Exit Games on Twitter http://twitter.com/exitgames
and our blog at http://blog.photonengine.com/.
 
Download SDK
v5.0.11.3
Doc
Chat 說明文件
API Doc
C++ API
Chat
tvOS

tvOS

 

Read Me


Photon tvOS SDK
------------------------------------------

Photon is the world's #1 independent networking engine and multiplayer platform — Fast, reliable, scalable.

Use the Photon tvOS SDK to easily add multiplayer to your games.
Run them in the global Photon Cloud or host your own Photon Servers.
Match your players to a shared game session (called "room") and transfer messages synchronously, in real-time, between connected players across platforms.
All client SDKs can interact with each other, no matter if iOS, Android, web, console or standalone.


Package Contents
------------------------------------------

/Chat-cpp              - Photon Chat sources
/Chat-objc             - Photon Chat sources Objective-C
/Common-cpp            - common sources
/Common-objc           - common sources Objective-C
/doc                   - Release history, API documentation
/LoadBalancing-cpp     - Photon Realtime sources
/LoadBalancing-objc    - Photon Realtime sources Objective-C
/Photon-cpp            - common Photon sources
/Photon-objc           - common Photon sources Objective-C
/PhotonVoice-cpp       - Photon Voice sources
/Demos

For demos please look into the iOS SDK: http://doc.photonengine.com/en/realtime/current/sdks-and-api/sdk-ios 


Contact
------------------------------------------

To get in touch with other Photon developers and our engineers, visit our Developer Forum:
https://forum.photonengine.com  
Keep yourself up to date following Exit Games on Twitter http://twitter.com/exitgames
and our blog at http://blog.photonengine.com/.
 
Chat
Unity

Unity

 

Read Me


Photon Realtime SDK for Unity - Readme
www.photonengine.com


Content
----------------------------------------------------------------------------------------------------
	- Photon Client libraries for Unity (.Net Standard 2.0)
	- Realtime API (C# source)
	- Chat API (C# source)



Versions
----------------------------------------------------------------------------------------------------
	The v5 version includes several breaking API changes compared to v4.
	Pick the one fitting to your project, unless you deliberately want to update. 
	Breaking changes ahead! Backup your project.
	
	v4 is used by PUN 2, Fusion, Quantum 2 and Voice 2
	v5 is used by Quantum 3. A special Voice 2 version for Quantum 3 is available on request.



Documentation
----------------------------------------------------------------------------------------------------
    The API reference is included in this package as CHM file.
    Find the manuals, tutorials, API reference and more online.

    http://doc.photonengine.com



Running the Demos
----------------------------------------------------------------------------------------------------
    Our demos are built for the Photon Cloud for convenience.
    The service is free for development. Signing up is instant and without obligation.

    https://dashboard.photonengine.com

    Each application type has it's own AppId (e.g Realtime and Chat).
    This must be copied into the clients: Update the property "AppId" in the source files of the demos.

    You will find specific sections of the Dashboard per application type.


    Alternatively host the Photon Server yourself. The AppId is not needed in that case.
    https://www.photonengine.com/sdks#server

    How to start the server:
    https://doc.photonengine.com/en-us/onpremise/current/getting-started/photon-server-in-5min



Chat Documentation
----------------------------------------------------------------------------------------------------
    http://doc.photonengine.com/en/chat
    http://forum.photonengine.com



Implementing Photon Chat
----------------------------------------------------------------------------------------------------
    Photon Chat is separated from other Photon Applications, so it needs it's own AppId.
    Our demos usually don't have an AppId set.
    In code, find "<your appid>" to copy yours in. In Unity, we usually use a component
    to set the AppId via the Inspector. Look for the "Scripts" GameObject in the scenes.

    Register your Chat Application in the Dashboard:
    https://dashboard.photonengine.com

    The class ChatClient and the interface IChatClientListener wrap up most important parts
    of the Chat API. Please refer to their documentation on how to use this API.
    More documentation will follow.

    If you use Unity, copy the source from the ChatApi folder into your project.



Unity Notes
----------------------------------------------------------------------------------------------------
    If you don't use Unity, skip this chapter.


    We assume you're using Unity 5.6. or newer.
    The demos are prepared to export for Standalone only.

    The SDK contains an "Assets" folder. To import Photon into your project, copy the content
    into your project's Asset folder. You may need to setup the DLLs in the Inspector to export
    for your platform(s).


    Currently supported export platforms are:
        Standalone (Windows, OSx and Linux)
        WebGL
        iOS
        Android
        Windows 10 UWP
        Consoles			(see: https://doc.photonengine.com/en-us/pun/current/consoles)


    All Unity projects must use ExitGames.Client.Photon.Hashtable!
    This provides compatibility across all exports.
    Add this to your code (at the beginning), to resolve the "ambiguous Hashtable" declaration:
    using Hashtable = ExitGames.Client.Photon.Hashtable;


    How to add Photon to your Unity project:
    1) The Unity SDK contains an "Assets" folder.
       Copy the content into your project's Assets folder.
    2) Make sure to have the following line of code in your scripts to make it run in background:
       Application.runInBackground = true; //without this Photon will loose connection if not focussed
    3) Add "using Hashtable = ExitGames.Client.Photon.Hashtable;" to your scripts. Without quotation.
    5) If you host a Photon Server change the server address in the client. "localhost:5055" won't work on device.
    6) Implement OnApplicationQuit() and disconnect the client when the app stops.
 
Chat
Unreal Engine

Unreal Engine

 

Read Me

All C++ based Photon SDKs are compatible with the UNREAL ENGINE off the shelf!
Find the SDKs you can gear it up with linked to below. 
 
Chat
Windows

Windows

 

Read Me


Photon Windows SDK
------------------------------------------

Photon is the world's #1 independent networking engine and multiplayer platform — Fast, reliable, scalable.

Use the Photon Windows SDK to easily add multiplayer to your games.
Run them in the global Photon Cloud or host your own Photon Servers.
Match your players to a shared game session (called "room") and transfer messages synchronously, in real-time, between connected players across platforms.
All client SDKs can interact with each other, no matter if iOS, Android, web, console or standalone.


Package Contents
------------------------------------------

/Chat-cpp              - Photon Chat sources
/Common-cpp            - common sources
/doc                   - Release history, API documentation
/LoadBalancing-cpp     - Photon Realtime sources
/Photon-cpp            - common Photon sources
/PhotonVoice-cpp       - Photon Voice sources
/Demos

	/demo_basics:
	The demo client is basically a 'Hello World'. So it's the best place to start if you are new to the SDK.

	/demo_chat:
	The demo shows a basic way of using the Photon Chat API.

	/demo_loadbalancing:
	The demo client connects to a master server and shows how to create a room, join a random game and how to send and receive events within a running game.

	/demo_memory:
	This demo displays Photon's asynchronous turnbased features in a game of Memory. This uses the Cocos2D-x graphics engine.

	/demo_particle:
	The demo client connects to a master server and shows the random matchmaking mechanism, how to create a room and how to send and receive events within a running game.
	Players move 'their' blocks around and the positions are updated in realtime between clients.

	/demo_typeSupport:
	This demo displays the proper use of Photon's serializable data types.


Contact
------------------------------------------

To get in touch with other Photon developers and our engineers, visit our Developer Forum:
https://forum.photonengine.com  
Keep yourself up to date following Exit Games on Twitter http://twitter.com/exitgames
and our blog at http://blog.photonengine.com/.
 
Download SDK
v5.0.11
Doc
Chat 說明文件
API Doc
C++ API
Chat
Windows Store

Windows Store

 

Read Me


Photon Windows Store SDK
------------------------------------------

Photon is the world's #1 independent networking engine and multiplayer platform — Fast, reliable, scalable.

Use the Photon Windows Store SDK to easily add multiplayer to your games.
Run them in the global Photon Cloud or host your own Photon Servers.
Match your players to a shared game session (called "room") and transfer messages synchronously, in real-time, between connected players across platforms.
All client SDKs can interact with each other, no matter if iOS, Android, web, console or standalone.


Package Contents
------------------------------------------

/Chat-cpp              - Photon Chat sources
/Common-cpp            - common sources
/doc                   - Release history, API documentation
/LoadBalancing-cpp     - Photon Realtime sources
/Photon-cpp            - common Photon sources
/PhotonVoice-cpp       - Photon Voice sources
/Demos

	/demo_loadBalancing:
	The demo client connects to a master server and shows how to create a room, join a random game and how to send and receive events within a running game.


Contact
------------------------------------------

To get in touch with other Photon developers and our engineers, visit our Developer Forum:
https://forum.photonengine.com  
Keep yourself up to date following Exit Games on Twitter http://twitter.com/exitgames
and our blog at http://blog.photonengine.com/.
 
Download SDK
v5.0.11
Doc
Chat 說明文件
API Doc
C++ API
Chat
Xbox One

Xbox One

 

Read Me


Photon XB1 SDK
------------------------------------------

Please contact the console producer on additional setup information or required authorization.

Photon is the world's #1 independent networking engine and multiplayer platform — Fast, reliable, scalable.

Use the Photon SDK to easily add multiplayer to your games.
Run them in the global Photon Cloud or host your own Photon Servers.
Match your players to a shared game session (called "room") and transfer messages synchronously, in real-time, between connected players across platforms.
All client SDKs can interact with each other, no matter if iOS, Android, web, console or standalone.


Package Contents
------------------------------------------

/Chat-cpp              - Photon Chat sources
/Common-cpp            - common sources
/doc                   - Release history, API documentation
/LoadBalancing-cpp     - Photon Realtime sources
/Photon-cpp            - common Photon sources
/PhotonVoice-cpp       - Photon Voice sources
/Demos

	/demo_loadbalancing:
	The demo client connects to a master server and shows how to create a room, join a random game and how to send and receive events within a running game.


Contact
------------------------------------------

To get in touch with other Photon developers and our engineers, visit our Developer Forum:
https://forum.photonengine.com  
Keep yourself up to date following Exit Games on Twitter http://twitter.com/exitgames
and our blog at http://blog.photonengine.com/.
 
Download SDK
v5.0.11
Doc
Chat 說明文件
API Doc
C++ API
Chat
Xbox One Unity addOn

Xbox One Unity addOn

 

Read Me


Photon Xbox One Unity Plugin
------------------------------------------

You must be logged in and a verified Xbox One developer to download this Unity addon.

If the download is blocked, get in touch with us.
Mail to: developer@photonengine.com to get your Photon account setup.


Contact
------------------------------------------

To get in touch with other Photon developers and our engineers, visit our Developer Forum:
https://forum.photonengine.com  
Keep yourself up to date following Exit Games on Twitter http://twitter.com/exitgames
and our blog at http://blog.photonengine.com/.
 
Fusion
Game Core

Game Core

 

Read Me


Photon Fusion Game Core Plugin
------------------------------------------

You must be logged in and a verified Game Core developer to download this Unity addon.

If the download is blocked, get in touch with us.
Mail to: developer@photonengine.com to get your Photon account setup.


Contact
------------------------------------------

To get in touch with other Photon developers and our engineers, visit our Developer Forum:
https://forum.photonengine.com  
Keep yourself up to date following Exit Games on Twitter http://twitter.com/exitgames
and our blog at http://blog.photonengine.com/.
 
Fusion
Nintendo Switch

Nintendo Switch

 

Read Me


Photon Fusion Nintendo Switch Plugin
------------------------------------------

Please contact the console producer on additional setup information or required authorization.
Photon is the world's #1 independent networking engine and multiplayer platform — Fast, reliable, scalable.


Contact
------------------------------------------

To get in touch with other Photon developers and our engineers, visit our Developer Forum:
https://forum.photonengine.com  
Keep yourself up to date following Exit Games on Twitter http://twitter.com/exitgames
and our blog at http://blog.photonengine.com/.
 
Fusion
PlayStation®4

PlayStation®4

 

Read Me


Photon Fusion Playstation 4 Plugin
------------------------------------------

Please contact the console producer on additional setup information or required authorization.
Photon is the world's #1 independent networking engine and multiplayer platform — Fast, reliable, scalable.


Contact
------------------------------------------

To get in touch with other Photon developers and our engineers, visit our Developer Forum:
https://forum.photonengine.com  
Keep yourself up to date following Exit Games on Twitter http://twitter.com/exitgames
and our blog at http://blog.photonengine.com/.
 
Fusion
PlayStation®5

PlayStation®5

 

Read Me


Photon Fusion Playstation 5 Plugin
------------------------------------------

Please contact the console producer on additional setup information or required authorization.
Photon is the world's #1 independent networking engine and multiplayer platform — Fast, reliable, scalable.


Contact
------------------------------------------

To get in touch with other Photon developers and our engineers, visit our Developer Forum:
https://forum.photonengine.com  
Keep yourself up to date following Exit Games on Twitter http://twitter.com/exitgames
and our blog at http://blog.photonengine.com/.
 
Fusion
Fusion

Fusion

 

Photon Fusion is the high-end state transfer netcode SDK made for Unity Professionals.

 
 
 
PUN
Game Core Unity addOn

Game Core Unity addOn

 

Read Me


Photon Game Core Unity Plugin
------------------------------------------

You must be logged in and a verified Game Core developer to download this Unity addon.

If the download is blocked, get in touch with us.
Mail to: developer@photonengine.com to get your Photon account setup.


Contact
------------------------------------------

To get in touch with other Photon developers and our engineers, visit our Developer Forum:
https://forum.photonengine.com  
Keep yourself up to date following Exit Games on Twitter http://twitter.com/exitgames
and our blog at http://blog.photonengine.com/.
 
PUN
Unity Packages

Photon PUN Unity Assets Made for UNITY

Photon Unity Networking (PUN) is our take on high-level multiplayer-features for Unity:
Easy to use callbacks, components to synchronize GameObjects and Remote Procedure Calls (RPCs) provide a great start. Below all that is a solid, extensive API for more advanced control.

Alternatively, use the Photon Unity .NET SDK. The client SDK implements a lean networking framework, LoadBalancing API, offering programmers detailed control.
Get the Photon Unity .NET SDK from here.

PUN FREE Unity Plugin
 

透過 Unity 5.x Personal 或 Pro 匯出至所有 Unity 支援平台。Unity 4.x 使用者可匯出至除 iOS 和 Android 以外的所有平台。

 
Doc
PUN 說明文件
API Doc
PUN API
 

下載PUN 下載PUN

PUN PLUS Unity Plugin
 

不論 Unity 授權或版本為何都能匯出至所有支援 Unity 的平台。也包括 100 CCU Photon Realtime 授權。 Just $95

 
Doc
PUN 說明文件
API Doc
PUN API
 

下載PUN Plus 下載PUN Plus

超推薦的第三方套件,Photon嚴選!

 
PUN
Xbox One Unity addOn

Xbox One Unity addOn

 

Read Me


Photon Xbox One Unity Plugin
------------------------------------------

You must be logged in and a verified Xbox One developer to download this Unity addon.

If the download is blocked, get in touch with us.
Mail to: developer@photonengine.com to get your Photon account setup.


Contact
------------------------------------------

To get in touch with other Photon developers and our engineers, visit our Developer Forum:
https://forum.photonengine.com  
Keep yourself up to date following Exit Games on Twitter http://twitter.com/exitgames
and our blog at http://blog.photonengine.com/.
 
Quantum
Game Core Unity addOn

Game Core Unity addOn

 

Read Me


Photon Game Core Unity Plugin
------------------------------------------

You must be logged in and a verified Game Core developer to download this Unity addon.

If the download is blocked, get in touch with us.
Mail to: developer@photonengine.com to get your Photon account setup.


Contact
------------------------------------------

To get in touch with other Photon developers and our engineers, visit our Developer Forum:
https://forum.photonengine.com  
Keep yourself up to date following Exit Games on Twitter http://twitter.com/exitgames
and our blog at http://blog.photonengine.com/.
 
Quantum
Xbox One Unity addOn

Xbox One Unity addOn

 

Read Me


Photon Xbox One Unity Plugin
------------------------------------------

You must be logged in and a verified Xbox One developer to download this Unity addon.

If the download is blocked, get in touch with us.
Mail to: developer@photonengine.com to get your Photon account setup.


Contact
------------------------------------------

To get in touch with other Photon developers and our engineers, visit our Developer Forum:
https://forum.photonengine.com  
Keep yourself up to date following Exit Games on Twitter http://twitter.com/exitgames
and our blog at http://blog.photonengine.com/.
 
Quantum
Quantum
 

Quantum is our deterministic engine to build fast paced multiplayer action games.

 
Photon Quantum Engine Logo

High Performance Deterministic Game Engine

 

Photon Quantum is the only 100% deterministic multiplayer game engine on the market. Creating multiplayer games becomes as easy as developing a local multiplayer title: No netcode, everything is networked by default and 100% in sync.

Get Quantum’s SDK, a comprehensive package to build the next multiplayer hit game at warp speed. Your entry point to disrupt the way multiplayer games are built.

 
Doc
Quantum Doc ,
Previous Version Doc
 

Download Quantum Demos. Full Source Code Provided.

 

See all Quantum demos and tutorials

Realtime
Android

Android

 

Read Me


Photon Android NDK SDK
------------------------------------------

Photon is the world's #1 independent networking engine and multiplayer platform - Fast, reliable, scalable.

Use the Photon Android NDK SDK to easily add multiplayer to your games.
Run them in the global Photon Cloud or host your own Photon Servers.
Match your players to a shared game session (called "room") and transfer messages synchronously, in real-time, between connected players across platforms.
All client SDKs can interact with each other, no matter if iOS, Android, web, console or standalone.


Package Contents
------------------------------------------

/Chat-cpp              - Photon Chat sources
/Common-cpp            - common sources
/doc                   - Release history, API documentation
/LoadBalancing-cpp     - Photon Realtime sources
/Photon-cpp            - common Photon sources
/PhotonVoice-cpp       - Photon Voice sources
/Demos

	/demo_basics:
	The demo client is basically a 'Hello World'. So it's the best place to start if you are new to the SDK.

	/demo_chat:
	The demo shows a basic way of using the Photon Chat API with a graphical user interface. This uses the Cocos2D-x graphics engine.

	/demo_loadbalancing:
	The demo client connects to a master server and shows how to create a room, join a random game and how to send and receive events within a running game.

	/demo_memory:
	This demo displays Photon's asynchronous turnbased features in a game of Memory. This uses the Cocos2D-x graphics engine.

	/demo_particle:
	The demo client connects to a master server and shows the random matchmaking mechanism, how to create a room and how to send and receive events within a running game.
	Players move 'their' blocks around and the positions are updated in realtime between clients. The UI shows areas of interest when activated. This uses the Cocos2D-x graphics engine.

	/demo_typeSupport:
	This demo displays the proper use of Photon's serializable data types.


Contact
------------------------------------------

To get in touch with other Photon developers and our engineers, visit our Developer Forum:
https://forum.photonengine.com  
Keep yourself up to date following Exit Games on Twitter http://twitter.com/exitgames
and our blog at http://blog.photonengine.com/.


 
Realtime
Cocos2d-x

Cocos2d-x

 

Read Me

All C++ based Photon SDKs are compatible with Cocos2d-x off the shelf! Find the SDKs you can gear it up with linked to below.
 
Realtime
Construct 2

Construct 2

 

Read Me

Photon SDK for Scirra Construct 2 readme.  
(C) Exit Games GmbH 2016

Overview 
----------------------------------------------------------------------------------------------------
Photon SDK contains Scirra Construct 2 plugins exposing underlying Photon Javascript library 
functionality:
- Photon Realtime Plugin allows to develop multiplayer games with clients communicating through 
  Photon Cloud or self-hosted Photon Server. 
  Follow https://www.photonengine.com/en/Realtime for info on Photon Realtime.
- Photon Chat Plugin adds chat functionality to your game.
  Follow https://www.photonengine.com/en/Chat for info on Photon Chat.

Installation
----------------------------------------------------------------------------------------------------
- Drag and drop photon.c2addon and photon-chat.c2addon files into the Construct 2 window. 
  See Construct 2 documentation on plugins installation details.
- Register a new realtime app at https://www.photonengine.com/en/Dashboard/Realtime 
- Register a new chat app at https://www.photonengine.com/en/Dashboard/Chat

Running demos
----------------------------------------------------------------------------------------------------
- Find Photon object in project tree and set its AppId property to application id value from dashboard.
- Select Main layout.
- Run the application. Editor will open browser page. Copy url and open it in new browser pages.
- Check browser console for helpful info.
- Pool demo: all clients automatically join single room, each spawns the fish and notifies others 
  with fish positions. Click on the pool makes owned fish move to the click location.
- Test demo: automatically joins or creates new room. Pressing Leave will bring the client to the lobby 
  where client can create new room or join existing from list. Also, test event firing is available 
  inside the room (check other clients log for events receive report).
- Chat demo: start 2 or more clients. For every client, choose user id and press Connect. 
  When client is connected to front end, enter channel names separated by comma and press Subscribe. 
  Select channel in list, enter message and press Publish. Or specify destination user id and send 
  private message by pressing Send.

Package Contents
----------------------------------------------------------------------------------------------------
- license.txt         - the license terms
- readme.txt          - this readme text
- release_history.txt - changelog
- photon.c2addon      - Photon Realtime Plugin
- photon-chat.c2addon - Photon Chat Plugin
- demo-test.capx      - application for testing Photon Realtime features
- demo-pool.capx      - Realtime demo application
- demo-chat.capx      - Chat demo application

Documentation
----------------------------------------------------------------------------------------------------
There is no Photon Construct 2 Plugin specific documentation or tutorials available currently.  
General documentation on Photon Realtime: http://doc.photonengine.com/en-us/realtime/current/getting-started/realtime-intro  
Photon Chat documentation: http://doc.photonengine.com/en-us/chat/current/getting-started/chat-intro  
Underlying Photon Javascript API reference: http://doc-api.photonengine.com/en/javascript/current  

Demos included in the package show clear how plugin works and may be used as tempaltes for real projects.  
Short descriptions available for each plugin item in editor.

Download
----------------------------------------------------------------------------------------------------
The latest version of Photon Plugin for Scirra Construct 2 can be found at
https://www.photonengine.com/Realtime/Download

Contact
----------------------------------------------------------------------------------------------------
To get in touch with other Photon developers and our engineers, visit our Developer Forum:
http://forum.photonengine.com  
Keep yourself up to date following Exit Games on Twitter http://twitter.com/exitgames
and our blog at http://blog.photonengine.com  


 
Realtime
Corona

Corona

 

Read Me


Photon Corona SDK
------------------------------------------

The Photon Lua library provides a simple to use framework to access the Photon Server
and the Photon Cloud from Lua scripts. 
Cross platform communication is possible, so Lua clients can send events to DotNet or
native clients. This might require some adjustments on other platforms. This is shown 
by the "Particle" demo.

The LoadBalancing API is compatible with the Photon Cloud and servers you host yourself, 
using the Photon Server SDK.

Find the latest Photon downloads at https://www.photonengine.com/en-us/realtime/download

The reference documentation is in this package.
More documentation for Photon development is available at http://doc.photonengine.com/.


Package Contents
------------------------------------------

license.txt           - the license terms
install.txt           - installation info
readme.txt            - this readme text
release_history.txt   - release history
doc                  - the Lua API reference documentation
lib                  - library
src/demo-console/autochat.lua                  - console automatic chat test using Lite
src/demo-console/autochat-lb.lua               - console automatic chat test using Cloud suport
src/demo-helloworld-cloud/main.lua             - Corona simple test using Lite
src/demo-particle/main.lua                     - Corona demo showing more of the API's features (Cloud, cross platform)
src/demo-particle/console.lua                  - console variant of particle demo
src/demo-memory/main.lua                       - Corona demo showing Photon Turnbased features
src/demo-chat/main.lua                         - Corona demo showing Photon Chat API's features

	
	
Contact
------------------------------------------

To get in touch with other Photon developers and our engineers, visit our Developer Forum:
https://forum.photonengine.com  
Keep yourself up to date following Exit Games on Twitter http://twitter.com/exitgames
and our blog at http://blog.photonengine.com/.
 
Realtime
.NET

.NET

 

Read Me


Photon Realtime SDK for .Net (non-Unity) - Readme
www.photonengine.com


Content
----------------------------------------------------------------------------------------------------
	- Photon Client libraries (.Net Standard 2.0, "non-Unity")
	- Realtime API (C# source)
	- Chat API (C# source)



Versions
----------------------------------------------------------------------------------------------------
	The v5 version includes several breaking API changes compared to v4.
	Pick the one fitting to your project, unless you deliberately want to update. 
	Breaking changes ahead! Backup your project.
	
	v4 is used by PUN 2, Fusion, Quantum 2 and Voice 2
	v5 is used by Quantum 3. A special Voice 2 version for Quantum 3 is available on request.



Documentation
----------------------------------------------------------------------------------------------------
    The API reference is included in this package as CHM file.
    Find the manuals, tutorials, API reference and more online.

    http://doc.photonengine.com



Running the Demos
----------------------------------------------------------------------------------------------------
    Our demos are built for the Photon Cloud for convenience.
    The service is free for development. Signing up is instant and without obligation.

    https://dashboard.photonengine.com

    Each application type has it's own AppId (e.g Realtime and Chat).
    This must be copied into the clients: Update the property "AppId" in the source files of the demos.

    You will find specific sections of the Dashboard per application type.


    Alternatively host the Photon Server yourself. The AppId is not needed in that case.
    https://www.photonengine.com/sdks#server

    How to start the server:
    https://doc.photonengine.com/en-us/onpremise/current/getting-started/photon-server-in-5min



Chat Documentation
----------------------------------------------------------------------------------------------------
    http://doc.photonengine.com/en/chat
    http://forum.photonengine.com



Implementing Photon Chat
----------------------------------------------------------------------------------------------------
    Photon Chat is separated from other Photon Applications, so it needs it's own AppId.
    Our demos usually don't have an AppId set.
    In code, find "<your appid>" to copy yours in. In Unity, we usually use a component
    to set the AppId via the Inspector. Look for the "Scripts" GameObject in the scenes.

    Register your Chat Application in the Dashboard:
    https://dashboard.photonengine.com

    The class ChatClient and the interface IChatClientListener wrap up most important parts
    of the Chat API. Please refer to their documentation on how to use this API.
    More documentation will follow.

    If you use Unity, copy the source from the ChatApi folder into your project.



Unity Notes
----------------------------------------------------------------------------------------------------
    If you don't use Unity, skip this chapter.


    We assume you're using Unity 2017.4 or newer.
    The demos are prepared to export for Standalone only.

    The SDK contains an "Assets" folder. To import Photon into your project, copy the content
    into your project's Asset folder. You may need to setup the DLLs in the Inspector to export
    for your platform(s).


    Currently supported export platforms are:
        Standalone (Windows, OSx and Linux)
        WebGL
        iOS
        Android
        Windows 10 UWP
        Consoles			(see: https://doc.photonengine.com/en-us/pun/current/consoles)


    All Unity projects must use ExitGames.Client.Photon.Hashtable!
    This provides compatibility across all exports.
    Add this to your code (at the beginning), to resolve the "ambiguous Hashtable" declaration:
    using Hashtable = ExitGames.Client.Photon.Hashtable;


    How to add Photon to your Unity project:
    1) The Unity SDK contains an "Assets" folder.
       Copy the content into your project's Assets folder.
    2) Make sure to have the following line of code in your scripts to make it run in background:
       Application.runInBackground = true; //without this Photon will loose connection if not focussed
    3) Add "using Hashtable = ExitGames.Client.Photon.Hashtable;" to your scripts. Without quotation.
    5) If you host a Photon Server change the server address in the client. "localhost:5055" won't work on device.
    6) Implement OnApplicationQuit() and disconnect the client when the app stops.
 
Realtime
Emscripten

Emscripten

 

Read Me


Photon Emscripten SDK
------------------------------------------

Photon is the world's #1 independent networking engine and multiplayer platform — Fast, reliable, scalable.

Use the Photon Emscripten SDK to easily add multiplayer to your games.
Run them in the global Photon Cloud or host your own Photon Servers.
Match your players to a shared game session (called "room") and transfer messages synchronously, in real-time, between connected players across platforms.
All client SDKs can interact with each other, no matter if iOS, Android, web, console or standalone.


Package Contents
------------------------------------------

/Chat-cpp              - Photon Chat sources
/Common-cpp            - common sources
/doc                   - Release history, API documentation
/LoadBalancing-cpp     - Photon Realtime sources
/Photon-cpp            - common Photon sources
/Demos

	/demo_loadbalancing:
	The demo client connects to a master server and shows how to create a room, join a random game and how to send and receive events within a running game.

	/shared:
	This folder holds all applications used by various demos.


Contact
------------------------------------------

To get in touch with other Photon developers and our engineers, visit our Developer Forum:
https://forum.photonengine.com  
Keep yourself up to date following Exit Games on Twitter http://twitter.com/exitgames
and our blog at http://blog.photonengine.com/.
 
Realtime
Game Core

Game Core

 

Read Me


Photon Game Core SDK
------------------------------------------

Please contact the console producer on additional setup information or required authorization.

Photon is the world's #1 independent networking engine and multiplayer platform — Fast, reliable, scalable.

Use the Photon SDK to easily add multiplayer to your games.
Run them in the global Photon Cloud or host your own Photon Servers.
Match your players to a shared game session (called "room") and transfer messages synchronously, in real-time, between connected players across platforms.
All client SDKs can interact with each other, no matter if iOS, Android, web, console or standalone.


Package Contents
------------------------------------------

/Chat-cpp              - Photon Chat sources
/Common-cpp            - common sources
/doc                   - Release history, API documentation
/LoadBalancing-cpp     - Photon Realtime sources
/Photon-cpp            - common Photon sources
/PhotonVoice-cpp       - Photon Voice sources
/Demos

	/demo_loadbalancing:
	The demo client connects to a master server and shows how to create a room, join a random game and how to send and receive events within a running game.


Contact
------------------------------------------

To get in touch with other Photon developers and our engineers, visit our Developer Forum:
https://forum.photonengine.com  
Keep yourself up to date following Exit Games on Twitter http://twitter.com/exitgames
and our blog at http://blog.photonengine.com/.
 
Realtime
Game Core Unity addOn

Game Core Unity addOn

 

Read Me


Photon Game Core Unity Plugin
------------------------------------------

You must be logged in and a verified Game Core developer to download this Unity addon.

If the download is blocked, get in touch with us.
Mail to: developer@photonengine.com to get your Photon account setup.


Contact
------------------------------------------

To get in touch with other Photon developers and our engineers, visit our Developer Forum:
https://forum.photonengine.com  
Keep yourself up to date following Exit Games on Twitter http://twitter.com/exitgames
and our blog at http://blog.photonengine.com/.
 
Realtime
iOS

iOS

 

Read Me


Photon iOS SDK
------------------------------------------

Photon is the world's #1 independent networking engine and multiplayer platform — Fast, reliable, scalable.

Use the Photon iOS SDK to easily add multiplayer to your games.
Run them in the global Photon Cloud or host your own Photon Servers.
Match your players to a shared game session (called "room") and transfer messages synchronously, in real-time, between connected players across platforms.
All client SDKs can interact with each other, no matter if iOS, Android, web, console or standalone.


Package Contents
------------------------------------------

/Chat-cpp              - Photon Chat sources
/Chat-objc             - Photon Chat sources Objective-C
/Common-cpp            - common sources
/Common-objc           - common sources Objective-C
/doc                   - Release history, API documentation
/LoadBalancing-cpp     - Photon Realtime sources
/LoadBalancing-objc    - Photon Realtime sources Objective-C
/Photon-cpp            - common Photon sources
/Photon-objc           - common Photon sources Objective-C
/PhotonVoice-cpp       - Photon Voice sources
/Demos

	/demo_basics:
	The demo client is basically a 'Hello World'. So it's the best place to start if you are new to the SDK. It is implemented in C++.

	/demo_chat:
	The demo shows a basic way of using the Photon Chat API with a graphical user interface. This uses the Cocos2D-x graphics engine and is implemented in C++.

	/demo_chat_objc:
	The demo shows a basic way of using the Photon Chat API within a console. It is implemented in Objective-C.

	/demo_iPhone_realtime_objc:
	The demo client connects to a Photon Server running the Lite application and and shows how to create a room and how to send and receive events within a running game.
	Players move 'their' blocks around and the positions are updated in realtime between clients. It uses the Cocos2D-iPhone graphics engine and is implemented in Objective-C.

	/demo_loadBalancing:
	The demo client connects to a master server and shows how to create a room, join a random game and how to send and receive events within a running game. It is implemented in C++.

	/demo_loadBalancing_objc:
	The demo client connects to a master server and shows how to create a room, join a random game and how to send and receive events within a running game. It is implemented in Objective-C.

	/demo_loadBalancing_swift:
	The demo client connects to a master server and shows how to create a room, join a random game and how to send and receive events within a running game. It is implemented in Swift.

	/demo_memory:
	This demo displays Photon's asynchronous turnbased features in a game of Memory. This uses the Cocos2D-x graphics engine. It is implemented in C++.

	/demo_particle:
	The demo client connects to a master server and shows the random matchmaking mechanism, how to create a room and how to send and receive events within a running game.
	Players move 'their' blocks around and the positions are updated in realtime between clients. The UI shows areas of interest when activated. This uses the Cocos2D-x graphics engine.
	It is implemented in C++.

	/demo_typeSupport:
	This demo displays the proper use of Photon's serializable data types. It is implemented in C++.

	/demo_typeSupport_objc:
	This demo displays the proper use of Photon's serializable data types. It is implemented in Objective-C.


Contact
------------------------------------------

To get in touch with other Photon developers and our engineers, visit our Developer Forum:
https://forum.photonengine.com  
Keep yourself up to date following Exit Games on Twitter http://twitter.com/exitgames
and our blog at http://blog.photonengine.com/.
 
Realtime
JavaScript

JavaScript

 

Read Me

Photon JavaScript SDK

(C) Exit Games GmbH 2024


Overview 
----------------------------------------------------------------------------------------------------
The Photon Javascript library provides a simple to use framework to access the Photon Server and the Photon Cloud.
Cross platform communication is possible, so Javascript clients can interact with DotNet or native clients.
The SDK supports 2 APIs.


Realtime (LoadBalancing) API
----------------------------------------------------------------------------------------------------
Allows to access Photon Cloud Realtime service: https://doc.photonengine.com/en-us/realtime/current/getting-started/realtime-intro


Chat API
----------------------------------------------------------------------------------------------------
Allows to access Photon Chat service: https://doc.photonengine.com/en-us/chat/current/getting-started/chat-intro


Documentation
----------------------------------------------------------------------------------------------------
The reference documentation is in this package. Follow links per API above for more documentation for Photon development.


Download
----------------------------------------------------------------------------------------------------
The latest version of Javascript SDK can be found at https://www.photonengine.com/sdks#realtime-sdkrealtimejavascript


Installation
----------------------------------------------------------------------------------------------------
- Extract the Photon Javascript SDK to a location of your choice

- Create an application in https://dashboard.photonengine.com/
  Use Chat for demo-chat-api and Realtime for other demos.
- Set up you application info with a text editor in cloud-app-info.js file found in the demo root folder.
- Optionally for demo-particle and demo-pairs-mc samples, set FbAppId to your Facebook App id 
  in cloud-app-info.js for Facebook login. Place your HTML5 / JavaScript client code on one of 
  App Domains specified in your Facebook App settings. This required for proper Facebook Login 
  button work.
- Open default.html in browser.


Contact
----------------------------------------------------------------------------------------------------
To get in touch with other Photon developers and our engineers, Join our Discord Server https://dashboard.photonengine.com/account/profile
Keep yourself up to date following Exit Games on Twitter http://twitter.com/exitgames and our blog http://blog.photonengine.com


Package Contents
----------------------------------------------------------------------------------------------------
- license.txt         - the license terms
- readme.txt          - readme text
- release_history.txt - release history
- /doc                - the JavaScript API reference documentation
- /lib                - Photon JavaScript libraries
  -  /photon.js              - Photon Realtime library
  -  /photon.min.js          - minimized version
  -  /photon-em.js           - Photon Realtime Emscripten library (binary protocol)
  -  /photon-em.min.js       - minimized version
  -  /photon.d.ts            - Photon Realtime Typescript declaration file
- /src    
  -  /demo-loadbalancing     - basic Realtime (LoadBalancing) API demo application
  -  /demo-particle          - demo showing more of the Realtime API's features
  -  /demo-pairs-mc          - Turnbased Realtime application demo
  -  /demo-chat-api          - Chat API demo application
 
Realtime
Linux

Linux

 

Read Me


Photon Linux SDK
------------------------------------------

Photon is the world's #1 independent networking engine and multiplayer platform — Fast, reliable, scalable.

Use the Photon Linux SDK to easily add multiplayer to your games.
Run them in the global Photon Cloud or host your own Photon Servers.
Match your players to a shared game session (called "room") and transfer messages synchronously, in real-time, between connected players across platforms.
All client SDKs can interact with each other, no matter if iOS, Android, web, console or standalone.


Package Contents
------------------------------------------

/Chat-cpp              - Photon Chat sources
/Common-cpp            - common sources
/doc                   - Release history, API documentation
/LoadBalancing-cpp     - Photon Realtime sources
/Photon-cpp            - common Photon sources
/PhotonVoice-cpp       - Photon Voice sources
/Demos

	/demo_basics:
	The demo client is basically a 'Hello World'. So it's the best place to start if you are new to the SDK.

	/demo_chat:
	The demo shows a basic way of using the Photon Chat API in a console.

	/demo_loadBalancing:
	The demo client connects to a master server and shows how to create a room, join a random game and how to send and receive events within a running game.

	/demo_particle:
	The demo client connects to a master server and shows the random matchmaking mechanism, how to create a room and how to send and receive events within a running game.
	Blocks are being moved automatically and the positions are updated in realtime between clients. This is a console application.

	/demo_typeSupport:
	This demo displays the proper use of Photon's serializable data types.


Contact
------------------------------------------

To get in touch with other Photon developers and our engineers, visit our Developer Forum:
https://forum.photonengine.com  
Keep yourself up to date following Exit Games on Twitter http://twitter.com/exitgames
and our blog at http://blog.photonengine.com/.
 
Realtime
Mac OS X

Mac OS X

 

Read Me


Photon Mac OS X SDK
------------------------------------------

Photon is the world's #1 independent networking engine and multiplayer platform — Fast, reliable, scalable.

Use the Photon Mac OS X SDK to easily add multiplayer to your games.
Run them in the global Photon Cloud or host your own Photon Servers.
Match your players to a shared game session (called "room") and transfer messages synchronously, in real-time, between connected players across platforms.
All client SDKs can interact with each other, no matter if iOS, Android, web, console or standalone.


Package Contents
------------------------------------------

/Chat-cpp              - Photon Chat sources
/Chat-objc             - Photon Chat sources Objective-C
/Common-cpp            - common sources
/Common-objc           - common sources Objective-C
/doc                   - Release history, API documentation
/LoadBalancing-cpp     - Photon Realtime sources
/LoadBalancing-objc    - Photon Realtime sources Objective-C
/Photon-cpp            - common Photon sources
/Photon-objc           - common Photon sources Objective-C
/PhotonVoice-cpp       - Photon Voice sources
/Demos

	/demo_basics:
	The demo client is basically a 'Hello World'. So it's the best place to start if you are new to the SDK. It is implemented in C++.

	/demo_chat:
	The demo shows a basic way of using the Photon Chat API within a console. It is implemented in C++.	

	/demo_loadBalancing:
	The demo client connects to a master server and shows how to create a room, join a random game and how to send and receive events within a running game. It is implemented in C++.

	/demo_loadBalancing_objc:
	The demo client connects to a master server and shows how to create a room, join a random game and how to send and receive events within a running game. It is implemented in Objective-C.

	/demo_loadBalancing_swift:
	The demo client connects to a master server and shows how to create a room, join a random game and how to send and receive events within a running game. It is implemented in Swift.

	/demo_particle:
	The demo client connects to a master server and shows the random matchmaking mechanism, how to create a room and how to send and receive events within a running game.
	Blocks are being moved automatically and the positions are updated in realtime between clients. This is a console application which is implemented in C++.

	/demo_typeSupport:
	This demo displays the proper use of Photon's serializable data types. It is implemented in C++.

	/demo_typeSupport_objc:
	This demo displays the proper use of Photon's serializable data types. It is implemented in Objective-C.


Contact
------------------------------------------

To get in touch with other Photon developers and our engineers, visit our Developer Forum:
https://forum.photonengine.com  
Keep yourself up to date following Exit Games on Twitter http://twitter.com/exitgames
and our blog at http://blog.photonengine.com/.
 
Realtime
Nintendo Switch

Nintendo Switch

 

Read Me


Photon Nintendo Switch SDK
------------------------------------------

Please contact the console producer on additional setup information or required authorization.

Photon is the world's #1 independent networking engine and multiplayer platform — Fast, reliable, scalable.

Use the Photon SDK to easily add multiplayer to your games.
Run them in the global Photon Cloud or host your own Photon Servers.
Match your players to a shared game session (called "room") and transfer messages synchronously, in real-time, between connected players across platforms.
All client SDKs can interact with each other, no matter if iOS, Android, web, console or standalone.


Package Contents
------------------------------------------

/Chat-cpp              - Photon Chat sources
/Common-cpp            - common sources
/doc                   - Release history, API documentation
/LoadBalancing-cpp     - Photon Realtime sources
/Photon-cpp            - common Photon sources
/PhotonVoice-cpp       - Photon Voice sources
/Demos

	/demo_loadbalancing:
	The demo client connects to a master server and shows how to create a room, join a random game and how to send and receive events within a running game.


Contact
------------------------------------------

To get in touch with other Photon developers and our engineers, visit our Developer Forum:
https://forum.photonengine.com  
Keep yourself up to date following Exit Games on Twitter http://twitter.com/exitgames
and our blog at http://blog.photonengine.com/.
 
Realtime
PlayStation®4

PlayStation®4

 

Read Me


Photon PS4 SDK
------------------------------------------

Please contact the console producer on additional setup information or required authorization.

Photon is the world's #1 independent networking engine and multiplayer platform — Fast, reliable, scalable.

Use the Photon SDK to easily add multiplayer to your games.
Run them in the global Photon Cloud or host your own Photon Servers.
Match your players to a shared game session (called "room") and transfer messages synchronously, in real-time, between connected players across platforms.
All client SDKs can interact with each other, no matter if iOS, Android, web, console or standalone.


Package Contents
------------------------------------------

/Chat-cpp              - Photon Chat sources
/Common-cpp            - common sources
/doc                   - Release history, API documentation
/LoadBalancing-cpp     - Photon Realtime sources
/Photon-cpp            - common Photon sources
/PhotonVoice-cpp       - Photon Voice sources
/Demos

	/demo_chat:
	The demo shows a basic way of using the Photon Chat API.

	/demo_loadbalancing:
	The demo client connects to a master server and shows how to create a room, join a random game and how to send and receive events within a running game.

	/demo_particle:
	The demo client connects to a master server and shows the random matchmaking mechanism, how to create a room and how to send and receive events within a running game.
	Players move 'their' blocks around and the positions are updated in realtime between clients.


Contact
------------------------------------------

To get in touch with other Photon developers and our engineers, visit our Developer Forum:
https://forum.photonengine.com  
Keep yourself up to date following Exit Games on Twitter http://twitter.com/exitgames
and our blog at http://blog.photonengine.com/.
 
Realtime
PlayStation®5

PlayStation®5

 

Read Me


Photon PS5 SDK
------------------------------------------

Please contact the console producer on additional setup information or required authorization.

Photon is the world's #1 independent networking engine and multiplayer platform — Fast, reliable, scalable.

Use the Photon SDK to easily add multiplayer to your games.
Run them in the global Photon Cloud or host your own Photon Servers.
Match your players to a shared game session (called "room") and transfer messages synchronously, in real-time, between connected players across platforms.
All client SDKs can interact with each other, no matter if iOS, Android, web, console or standalone.


Package Contents
------------------------------------------

/Chat-cpp              - Photon Chat sources
/Common-cpp            - common sources
/doc                   - Release history, API documentation
/LoadBalancing-cpp     - Photon Realtime sources
/Photon-cpp            - common Photon sources
/PhotonVoice-cpp       - Photon Voice sources
/Demos

	/demo_loadbalancing:
	The demo client connects to a master server and shows how to create a room, join a random game and how to send and receive events within a running game.


Contact
------------------------------------------

To get in touch with other Photon developers and our engineers, visit our Developer Forum:
https://forum.photonengine.com  
Keep yourself up to date following Exit Games on Twitter http://twitter.com/exitgames
and our blog at http://blog.photonengine.com/.
 
Realtime
tvOS

tvOS

 

Read Me


Photon tvOS SDK
------------------------------------------

Photon is the world's #1 independent networking engine and multiplayer platform — Fast, reliable, scalable.

Use the Photon tvOS SDK to easily add multiplayer to your games.
Run them in the global Photon Cloud or host your own Photon Servers.
Match your players to a shared game session (called "room") and transfer messages synchronously, in real-time, between connected players across platforms.
All client SDKs can interact with each other, no matter if iOS, Android, web, console or standalone.


Package Contents
------------------------------------------

/Chat-cpp              - Photon Chat sources
/Chat-objc             - Photon Chat sources Objective-C
/Common-cpp            - common sources
/Common-objc           - common sources Objective-C
/doc                   - Release history, API documentation
/LoadBalancing-cpp     - Photon Realtime sources
/LoadBalancing-objc    - Photon Realtime sources Objective-C
/Photon-cpp            - common Photon sources
/Photon-objc           - common Photon sources Objective-C
/PhotonVoice-cpp       - Photon Voice sources
/Demos

For demos please look into the iOS SDK: http://doc.photonengine.com/en/realtime/current/sdks-and-api/sdk-ios 


Contact
------------------------------------------

To get in touch with other Photon developers and our engineers, visit our Developer Forum:
https://forum.photonengine.com  
Keep yourself up to date following Exit Games on Twitter http://twitter.com/exitgames
and our blog at http://blog.photonengine.com/.
 
Realtime
Unity

Unity

 

Read Me


Photon Realtime SDK for Unity - Readme
www.photonengine.com


Content
----------------------------------------------------------------------------------------------------
	- Photon Client libraries for Unity (.Net Standard 2.0)
	- Realtime API (C# source)
	- Chat API (C# source)



Versions
----------------------------------------------------------------------------------------------------
	The v5 version includes several breaking API changes compared to v4.
	Pick the one fitting to your project, unless you deliberately want to update. 
	Breaking changes ahead! Backup your project.
	
	v4 is used by PUN 2, Fusion, Quantum 2 and Voice 2
	v5 is used by Quantum 3. A special Voice 2 version for Quantum 3 is available on request.



Documentation
----------------------------------------------------------------------------------------------------
    The API reference is included in this package as CHM file.
    Find the manuals, tutorials, API reference and more online.

    http://doc.photonengine.com



Running the Demos
----------------------------------------------------------------------------------------------------
    Our demos are built for the Photon Cloud for convenience.
    The service is free for development. Signing up is instant and without obligation.

    https://dashboard.photonengine.com

    Each application type has it's own AppId (e.g Realtime and Chat).
    This must be copied into the clients: Update the property "AppId" in the source files of the demos.

    You will find specific sections of the Dashboard per application type.


    Alternatively host the Photon Server yourself. The AppId is not needed in that case.
    https://www.photonengine.com/sdks#server

    How to start the server:
    https://doc.photonengine.com/en-us/onpremise/current/getting-started/photon-server-in-5min



Chat Documentation
----------------------------------------------------------------------------------------------------
    http://doc.photonengine.com/en/chat
    http://forum.photonengine.com



Implementing Photon Chat
----------------------------------------------------------------------------------------------------
    Photon Chat is separated from other Photon Applications, so it needs it's own AppId.
    Our demos usually don't have an AppId set.
    In code, find "<your appid>" to copy yours in. In Unity, we usually use a component
    to set the AppId via the Inspector. Look for the "Scripts" GameObject in the scenes.

    Register your Chat Application in the Dashboard:
    https://dashboard.photonengine.com

    The class ChatClient and the interface IChatClientListener wrap up most important parts
    of the Chat API. Please refer to their documentation on how to use this API.
    More documentation will follow.

    If you use Unity, copy the source from the ChatApi folder into your project.



Unity Notes
----------------------------------------------------------------------------------------------------
    If you don't use Unity, skip this chapter.


    We assume you're using Unity 5.6. or newer.
    The demos are prepared to export for Standalone only.

    The SDK contains an "Assets" folder. To import Photon into your project, copy the content
    into your project's Asset folder. You may need to setup the DLLs in the Inspector to export
    for your platform(s).


    Currently supported export platforms are:
        Standalone (Windows, OSx and Linux)
        WebGL
        iOS
        Android
        Windows 10 UWP
        Consoles			(see: https://doc.photonengine.com/en-us/pun/current/consoles)


    All Unity projects must use ExitGames.Client.Photon.Hashtable!
    This provides compatibility across all exports.
    Add this to your code (at the beginning), to resolve the "ambiguous Hashtable" declaration:
    using Hashtable = ExitGames.Client.Photon.Hashtable;


    How to add Photon to your Unity project:
    1) The Unity SDK contains an "Assets" folder.
       Copy the content into your project's Assets folder.
    2) Make sure to have the following line of code in your scripts to make it run in background:
       Application.runInBackground = true; //without this Photon will loose connection if not focussed
    3) Add "using Hashtable = ExitGames.Client.Photon.Hashtable;" to your scripts. Without quotation.
    5) If you host a Photon Server change the server address in the client. "localhost:5055" won't work on device.
    6) Implement OnApplicationQuit() and disconnect the client when the app stops.
 
Realtime
Unreal Engine

Unreal Engine

 

Read Me

All C++ based Photon SDKs are compatible with the UNREAL ENGINE off the shelf!
Find the SDKs you can gear it up with linked to below. 
 
Realtime
DemoParticle-UE

DemoParticle-UE

 

Read Me

This is a demo project for using Photon Realtime on Unreal Engine.
All C++ based Photon SDKs are compatible with the UNREAL ENGINE off the shelf!
Find the SDKs you can gear it up with linked to below. 
 
Realtime
Windows

Windows

 

Read Me


Photon Windows SDK
------------------------------------------

Photon is the world's #1 independent networking engine and multiplayer platform — Fast, reliable, scalable.

Use the Photon Windows SDK to easily add multiplayer to your games.
Run them in the global Photon Cloud or host your own Photon Servers.
Match your players to a shared game session (called "room") and transfer messages synchronously, in real-time, between connected players across platforms.
All client SDKs can interact with each other, no matter if iOS, Android, web, console or standalone.


Package Contents
------------------------------------------

/Chat-cpp              - Photon Chat sources
/Common-cpp            - common sources
/doc                   - Release history, API documentation
/LoadBalancing-cpp     - Photon Realtime sources
/Photon-cpp            - common Photon sources
/PhotonVoice-cpp       - Photon Voice sources
/Demos

	/demo_basics:
	The demo client is basically a 'Hello World'. So it's the best place to start if you are new to the SDK.

	/demo_chat:
	The demo shows a basic way of using the Photon Chat API.

	/demo_loadbalancing:
	The demo client connects to a master server and shows how to create a room, join a random game and how to send and receive events within a running game.

	/demo_memory:
	This demo displays Photon's asynchronous turnbased features in a game of Memory. This uses the Cocos2D-x graphics engine.

	/demo_particle:
	The demo client connects to a master server and shows the random matchmaking mechanism, how to create a room and how to send and receive events within a running game.
	Players move 'their' blocks around and the positions are updated in realtime between clients.

	/demo_typeSupport:
	This demo displays the proper use of Photon's serializable data types.


Contact
------------------------------------------

To get in touch with other Photon developers and our engineers, visit our Developer Forum:
https://forum.photonengine.com  
Keep yourself up to date following Exit Games on Twitter http://twitter.com/exitgames
and our blog at http://blog.photonengine.com/.
 
Realtime
Windows Store

Windows Store

 

Read Me


Photon Windows Store SDK
------------------------------------------

Photon is the world's #1 independent networking engine and multiplayer platform — Fast, reliable, scalable.

Use the Photon Windows Store SDK to easily add multiplayer to your games.
Run them in the global Photon Cloud or host your own Photon Servers.
Match your players to a shared game session (called "room") and transfer messages synchronously, in real-time, between connected players across platforms.
All client SDKs can interact with each other, no matter if iOS, Android, web, console or standalone.


Package Contents
------------------------------------------

/Chat-cpp              - Photon Chat sources
/Common-cpp            - common sources
/doc                   - Release history, API documentation
/LoadBalancing-cpp     - Photon Realtime sources
/Photon-cpp            - common Photon sources
/PhotonVoice-cpp       - Photon Voice sources
/Demos

	/demo_loadBalancing:
	The demo client connects to a master server and shows how to create a room, join a random game and how to send and receive events within a running game.


Contact
------------------------------------------

To get in touch with other Photon developers and our engineers, visit our Developer Forum:
https://forum.photonengine.com  
Keep yourself up to date following Exit Games on Twitter http://twitter.com/exitgames
and our blog at http://blog.photonengine.com/.
 
Realtime
Xbox One

Xbox One

 

Read Me


Photon XB1 SDK
------------------------------------------

Please contact the console producer on additional setup information or required authorization.

Photon is the world's #1 independent networking engine and multiplayer platform — Fast, reliable, scalable.

Use the Photon SDK to easily add multiplayer to your games.
Run them in the global Photon Cloud or host your own Photon Servers.
Match your players to a shared game session (called "room") and transfer messages synchronously, in real-time, between connected players across platforms.
All client SDKs can interact with each other, no matter if iOS, Android, web, console or standalone.


Package Contents
------------------------------------------

/Chat-cpp              - Photon Chat sources
/Common-cpp            - common sources
/doc                   - Release history, API documentation
/LoadBalancing-cpp     - Photon Realtime sources
/Photon-cpp            - common Photon sources
/PhotonVoice-cpp       - Photon Voice sources
/Demos

	/demo_loadbalancing:
	The demo client connects to a master server and shows how to create a room, join a random game and how to send and receive events within a running game.


Contact
------------------------------------------

To get in touch with other Photon developers and our engineers, visit our Developer Forum:
https://forum.photonengine.com  
Keep yourself up to date following Exit Games on Twitter http://twitter.com/exitgames
and our blog at http://blog.photonengine.com/.
 
Realtime
Xbox One Unity addOn

Xbox One Unity addOn

 

Read Me


Photon Xbox One Unity Plugin
------------------------------------------

You must be logged in and a verified Xbox One developer to download this Unity addon.

If the download is blocked, get in touch with us.
Mail to: developer@photonengine.com to get your Photon account setup.


Contact
------------------------------------------

To get in touch with other Photon developers and our engineers, visit our Developer Forum:
https://forum.photonengine.com  
Keep yourself up to date following Exit Games on Twitter http://twitter.com/exitgames
and our blog at http://blog.photonengine.com/.
 
Server
Plugin

Plugin

 

Read Me

Photon Server Plugins allow you to extend the Game/Room behavior.
Intercept in-game events, process player actions and easily add callbacks.

Photon Server Plugins are available for Enterprise Cloud or selfhosted Photon Server v4.
 
Server
Server

Server

 

Read Me

Photon Server is a on-premises real-time socket server and cross platform multiplayer game development framework.
The framework is extremely fast and very simple to use.
Use the multiplayer API from Photon Server to join many players together in a shared game session.
Transfer data and messages synchronously, in real-time, between connected players across platforms.
 
Voice
Android

Android

 

Read Me


Photon Android NDK SDK
------------------------------------------

Photon is the world's #1 independent networking engine and multiplayer platform - Fast, reliable, scalable.

Use the Photon Android NDK SDK to easily add multiplayer to your games.
Run them in the global Photon Cloud or host your own Photon Servers.
Match your players to a shared game session (called "room") and transfer messages synchronously, in real-time, between connected players across platforms.
All client SDKs can interact with each other, no matter if iOS, Android, web, console or standalone.


Package Contents
------------------------------------------

/Chat-cpp              - Photon Chat sources
/Common-cpp            - common sources
/doc                   - Release history, API documentation
/LoadBalancing-cpp     - Photon Realtime sources
/Photon-cpp            - common Photon sources
/PhotonVoice-cpp       - Photon Voice sources
/Demos

	/demo_basics:
	The demo client is basically a 'Hello World'. So it's the best place to start if you are new to the SDK.

	/demo_chat:
	The demo shows a basic way of using the Photon Chat API with a graphical user interface. This uses the Cocos2D-x graphics engine.

	/demo_loadbalancing:
	The demo client connects to a master server and shows how to create a room, join a random game and how to send and receive events within a running game.

	/demo_memory:
	This demo displays Photon's asynchronous turnbased features in a game of Memory. This uses the Cocos2D-x graphics engine.

	/demo_particle:
	The demo client connects to a master server and shows the random matchmaking mechanism, how to create a room and how to send and receive events within a running game.
	Players move 'their' blocks around and the positions are updated in realtime between clients. The UI shows areas of interest when activated. This uses the Cocos2D-x graphics engine.

	/demo_typeSupport:
	This demo displays the proper use of Photon's serializable data types.


Contact
------------------------------------------

To get in touch with other Photon developers and our engineers, visit our Developer Forum:
https://forum.photonengine.com  
Keep yourself up to date following Exit Games on Twitter http://twitter.com/exitgames
and our blog at http://blog.photonengine.com/.


 
Download SDK
v5.0.11
Doc
Voice 說明文件
API Doc
C++ API
Voice
Game Core

Game Core

 

Read Me


Photon Game Core SDK
------------------------------------------

Please contact the console producer on additional setup information or required authorization.

Photon is the world's #1 independent networking engine and multiplayer platform — Fast, reliable, scalable.

Use the Photon SDK to easily add multiplayer to your games.
Run them in the global Photon Cloud or host your own Photon Servers.
Match your players to a shared game session (called "room") and transfer messages synchronously, in real-time, between connected players across platforms.
All client SDKs can interact with each other, no matter if iOS, Android, web, console or standalone.


Package Contents
------------------------------------------

/Chat-cpp              - Photon Chat sources
/Common-cpp            - common sources
/doc                   - Release history, API documentation
/LoadBalancing-cpp     - Photon Realtime sources
/Photon-cpp            - common Photon sources
/PhotonVoice-cpp       - Photon Voice sources
/Demos

	/demo_loadbalancing:
	The demo client connects to a master server and shows how to create a room, join a random game and how to send and receive events within a running game.


Contact
------------------------------------------

To get in touch with other Photon developers and our engineers, visit our Developer Forum:
https://forum.photonengine.com  
Keep yourself up to date following Exit Games on Twitter http://twitter.com/exitgames
and our blog at http://blog.photonengine.com/.
 
Download SDK
v5.0.11
Doc
Voice 說明文件
API Doc
C++ API
Voice
Game Core Unity addOn

Game Core Unity addOn

 

Read Me


Photon Game Core Unity Plugin
------------------------------------------

You must be logged in and a verified Game Core developer to download this Unity addon.

If the download is blocked, get in touch with us.
Mail to: developer@photonengine.com to get your Photon account setup.


Contact
------------------------------------------

To get in touch with other Photon developers and our engineers, visit our Developer Forum:
https://forum.photonengine.com  
Keep yourself up to date following Exit Games on Twitter http://twitter.com/exitgames
and our blog at http://blog.photonengine.com/.
 
Voice
Game Core Voice

Game Core Voice

 

Read Me


Photon Game Core Voice Plugin SDK
------------------------------------------

Please contact the console producer on additional setup information or required authorization.
Photon is the world's #1 independent networking engine and multiplayer platform — Fast, reliable, scalable.


Contact
------------------------------------------

To get in touch with other Photon developers and our engineers, visit our Developer Forum:
https://forum.photonengine.com  
Keep yourself up to date following Exit Games on Twitter http://twitter.com/exitgames
and our blog at http://blog.photonengine.com/.
 
Download SDK
v4.0
Doc
Voice 說明文件
API Doc
C# API
Voice
iOS

iOS

 

Read Me


Photon iOS SDK
------------------------------------------

Photon is the world's #1 independent networking engine and multiplayer platform — Fast, reliable, scalable.

Use the Photon iOS SDK to easily add multiplayer to your games.
Run them in the global Photon Cloud or host your own Photon Servers.
Match your players to a shared game session (called "room") and transfer messages synchronously, in real-time, between connected players across platforms.
All client SDKs can interact with each other, no matter if iOS, Android, web, console or standalone.


Package Contents
------------------------------------------

/Chat-cpp              - Photon Chat sources
/Chat-objc             - Photon Chat sources Objective-C
/Common-cpp            - common sources
/Common-objc           - common sources Objective-C
/doc                   - Release history, API documentation
/LoadBalancing-cpp     - Photon Realtime sources
/LoadBalancing-objc    - Photon Realtime sources Objective-C
/Photon-cpp            - common Photon sources
/Photon-objc           - common Photon sources Objective-C
/PhotonVoice-cpp       - Photon Voice sources
/Demos

	/demo_basics:
	The demo client is basically a 'Hello World'. So it's the best place to start if you are new to the SDK. It is implemented in C++.

	/demo_chat:
	The demo shows a basic way of using the Photon Chat API with a graphical user interface. This uses the Cocos2D-x graphics engine and is implemented in C++.

	/demo_chat_objc:
	The demo shows a basic way of using the Photon Chat API within a console. It is implemented in Objective-C.

	/demo_iPhone_realtime_objc:
	The demo client connects to a Photon Server running the Lite application and and shows how to create a room and how to send and receive events within a running game.
	Players move 'their' blocks around and the positions are updated in realtime between clients. It uses the Cocos2D-iPhone graphics engine and is implemented in Objective-C.

	/demo_loadBalancing:
	The demo client connects to a master server and shows how to create a room, join a random game and how to send and receive events within a running game. It is implemented in C++.

	/demo_loadBalancing_objc:
	The demo client connects to a master server and shows how to create a room, join a random game and how to send and receive events within a running game. It is implemented in Objective-C.

	/demo_loadBalancing_swift:
	The demo client connects to a master server and shows how to create a room, join a random game and how to send and receive events within a running game. It is implemented in Swift.

	/demo_memory:
	This demo displays Photon's asynchronous turnbased features in a game of Memory. This uses the Cocos2D-x graphics engine. It is implemented in C++.

	/demo_particle:
	The demo client connects to a master server and shows the random matchmaking mechanism, how to create a room and how to send and receive events within a running game.
	Players move 'their' blocks around and the positions are updated in realtime between clients. The UI shows areas of interest when activated. This uses the Cocos2D-x graphics engine.
	It is implemented in C++.

	/demo_typeSupport:
	This demo displays the proper use of Photon's serializable data types. It is implemented in C++.

	/demo_typeSupport_objc:
	This demo displays the proper use of Photon's serializable data types. It is implemented in Objective-C.


Contact
------------------------------------------

To get in touch with other Photon developers and our engineers, visit our Developer Forum:
https://forum.photonengine.com  
Keep yourself up to date following Exit Games on Twitter http://twitter.com/exitgames
and our blog at http://blog.photonengine.com/.
 
Voice
Linux

Linux

 

Read Me


Photon Linux SDK
------------------------------------------

Photon is the world's #1 independent networking engine and multiplayer platform — Fast, reliable, scalable.

Use the Photon Linux SDK to easily add multiplayer to your games.
Run them in the global Photon Cloud or host your own Photon Servers.
Match your players to a shared game session (called "room") and transfer messages synchronously, in real-time, between connected players across platforms.
All client SDKs can interact with each other, no matter if iOS, Android, web, console or standalone.


Package Contents
------------------------------------------

/Chat-cpp              - Photon Chat sources
/Common-cpp            - common sources
/doc                   - Release history, API documentation
/LoadBalancing-cpp     - Photon Realtime sources
/Photon-cpp            - common Photon sources
/PhotonVoice-cpp       - Photon Voice sources
/Demos

	/demo_basics:
	The demo client is basically a 'Hello World'. So it's the best place to start if you are new to the SDK.

	/demo_chat:
	The demo shows a basic way of using the Photon Chat API in a console.

	/demo_loadBalancing:
	The demo client connects to a master server and shows how to create a room, join a random game and how to send and receive events within a running game.

	/demo_particle:
	The demo client connects to a master server and shows the random matchmaking mechanism, how to create a room and how to send and receive events within a running game.
	Blocks are being moved automatically and the positions are updated in realtime between clients. This is a console application.

	/demo_typeSupport:
	This demo displays the proper use of Photon's serializable data types.


Contact
------------------------------------------

To get in touch with other Photon developers and our engineers, visit our Developer Forum:
https://forum.photonengine.com  
Keep yourself up to date following Exit Games on Twitter http://twitter.com/exitgames
and our blog at http://blog.photonengine.com/.
 
Download SDK
v5.0.11
Doc
Voice 說明文件
API Doc
C++ API
Voice
Mac OS X

Mac OS X

 

Read Me


Photon Mac OS X SDK
------------------------------------------

Photon is the world's #1 independent networking engine and multiplayer platform — Fast, reliable, scalable.

Use the Photon Mac OS X SDK to easily add multiplayer to your games.
Run them in the global Photon Cloud or host your own Photon Servers.
Match your players to a shared game session (called "room") and transfer messages synchronously, in real-time, between connected players across platforms.
All client SDKs can interact with each other, no matter if iOS, Android, web, console or standalone.


Package Contents
------------------------------------------

/Chat-cpp              - Photon Chat sources
/Chat-objc             - Photon Chat sources Objective-C
/Common-cpp            - common sources
/Common-objc           - common sources Objective-C
/doc                   - Release history, API documentation
/LoadBalancing-cpp     - Photon Realtime sources
/LoadBalancing-objc    - Photon Realtime sources Objective-C
/Photon-cpp            - common Photon sources
/Photon-objc           - common Photon sources Objective-C
/PhotonVoice-cpp       - Photon Voice sources
/Demos

	/demo_basics:
	The demo client is basically a 'Hello World'. So it's the best place to start if you are new to the SDK. It is implemented in C++.

	/demo_chat:
	The demo shows a basic way of using the Photon Chat API within a console. It is implemented in C++.	

	/demo_loadBalancing:
	The demo client connects to a master server and shows how to create a room, join a random game and how to send and receive events within a running game. It is implemented in C++.

	/demo_loadBalancing_objc:
	The demo client connects to a master server and shows how to create a room, join a random game and how to send and receive events within a running game. It is implemented in Objective-C.

	/demo_loadBalancing_swift:
	The demo client connects to a master server and shows how to create a room, join a random game and how to send and receive events within a running game. It is implemented in Swift.

	/demo_particle:
	The demo client connects to a master server and shows the random matchmaking mechanism, how to create a room and how to send and receive events within a running game.
	Blocks are being moved automatically and the positions are updated in realtime between clients. This is a console application which is implemented in C++.

	/demo_typeSupport:
	This demo displays the proper use of Photon's serializable data types. It is implemented in C++.

	/demo_typeSupport_objc:
	This demo displays the proper use of Photon's serializable data types. It is implemented in Objective-C.


Contact
------------------------------------------

To get in touch with other Photon developers and our engineers, visit our Developer Forum:
https://forum.photonengine.com  
Keep yourself up to date following Exit Games on Twitter http://twitter.com/exitgames
and our blog at http://blog.photonengine.com/.
 
Voice
Nintendo Switch

Nintendo Switch

 

Read Me


Photon Nintendo Switch SDK
------------------------------------------

Please contact the console producer on additional setup information or required authorization.

Photon is the world's #1 independent networking engine and multiplayer platform — Fast, reliable, scalable.

Use the Photon SDK to easily add multiplayer to your games.
Run them in the global Photon Cloud or host your own Photon Servers.
Match your players to a shared game session (called "room") and transfer messages synchronously, in real-time, between connected players across platforms.
All client SDKs can interact with each other, no matter if iOS, Android, web, console or standalone.


Package Contents
------------------------------------------

/Chat-cpp              - Photon Chat sources
/Common-cpp            - common sources
/doc                   - Release history, API documentation
/LoadBalancing-cpp     - Photon Realtime sources
/Photon-cpp            - common Photon sources
/PhotonVoice-cpp       - Photon Voice sources
/Demos

	/demo_loadbalancing:
	The demo client connects to a master server and shows how to create a room, join a random game and how to send and receive events within a running game.


Contact
------------------------------------------

To get in touch with other Photon developers and our engineers, visit our Developer Forum:
https://forum.photonengine.com  
Keep yourself up to date following Exit Games on Twitter http://twitter.com/exitgames
and our blog at http://blog.photonengine.com/.
 
Voice
Nintendo Switch Voice

Nintendo Switch Voice

 

Read Me


Photon Nintendo Switch Voice Plugin SDK
------------------------------------------

Please contact the console producer on additional setup information or required authorization.
Photon is the world's #1 independent networking engine and multiplayer platform — Fast, reliable, scalable.


Contact
------------------------------------------

To get in touch with other Photon developers and our engineers, visit our Developer Forum:
https://forum.photonengine.com  
Keep yourself up to date following Exit Games on Twitter http://twitter.com/exitgames
and our blog at http://blog.photonengine.com/.
 
Download SDK
v4.0.0.4
Doc
Voice 說明文件
API Doc
C# API
Voice
PlayStation®4

PlayStation®4

 

Read Me


Photon PS4 SDK
------------------------------------------

Please contact the console producer on additional setup information or required authorization.

Photon is the world's #1 independent networking engine and multiplayer platform — Fast, reliable, scalable.

Use the Photon SDK to easily add multiplayer to your games.
Run them in the global Photon Cloud or host your own Photon Servers.
Match your players to a shared game session (called "room") and transfer messages synchronously, in real-time, between connected players across platforms.
All client SDKs can interact with each other, no matter if iOS, Android, web, console or standalone.


Package Contents
------------------------------------------

/Chat-cpp              - Photon Chat sources
/Common-cpp            - common sources
/doc                   - Release history, API documentation
/LoadBalancing-cpp     - Photon Realtime sources
/Photon-cpp            - common Photon sources
/PhotonVoice-cpp       - Photon Voice sources
/Demos

	/demo_chat:
	The demo shows a basic way of using the Photon Chat API.

	/demo_loadbalancing:
	The demo client connects to a master server and shows how to create a room, join a random game and how to send and receive events within a running game.

	/demo_particle:
	The demo client connects to a master server and shows the random matchmaking mechanism, how to create a room and how to send and receive events within a running game.
	Players move 'their' blocks around and the positions are updated in realtime between clients.


Contact
------------------------------------------

To get in touch with other Photon developers and our engineers, visit our Developer Forum:
https://forum.photonengine.com  
Keep yourself up to date following Exit Games on Twitter http://twitter.com/exitgames
and our blog at http://blog.photonengine.com/.
 
Voice
PlayStation®4 Voice

PlayStation®4 Voice

 

Read Me


Photon PS4 Voice Plugin SDK
------------------------------------------

Please contact the console producer on additional setup information or required authorization.
Photon is the world's #1 independent networking engine and multiplayer platform — Fast, reliable, scalable.


Contact
------------------------------------------

To get in touch with other Photon developers and our engineers, visit our Developer Forum:
https://forum.photonengine.com  
Keep yourself up to date following Exit Games on Twitter http://twitter.com/exitgames
and our blog at http://blog.photonengine.com/.
 
Download SDK
v4.0.1.11
Doc
Voice 說明文件
API Doc
C# API
Voice
PlayStation®5

PlayStation®5

 

Read Me


Photon PS5 SDK
------------------------------------------

Please contact the console producer on additional setup information or required authorization.

Photon is the world's #1 independent networking engine and multiplayer platform — Fast, reliable, scalable.

Use the Photon SDK to easily add multiplayer to your games.
Run them in the global Photon Cloud or host your own Photon Servers.
Match your players to a shared game session (called "room") and transfer messages synchronously, in real-time, between connected players across platforms.
All client SDKs can interact with each other, no matter if iOS, Android, web, console or standalone.


Package Contents
------------------------------------------

/Chat-cpp              - Photon Chat sources
/Common-cpp            - common sources
/doc                   - Release history, API documentation
/LoadBalancing-cpp     - Photon Realtime sources
/Photon-cpp            - common Photon sources
/PhotonVoice-cpp       - Photon Voice sources
/Demos

	/demo_loadbalancing:
	The demo client connects to a master server and shows how to create a room, join a random game and how to send and receive events within a running game.


Contact
------------------------------------------

To get in touch with other Photon developers and our engineers, visit our Developer Forum:
https://forum.photonengine.com  
Keep yourself up to date following Exit Games on Twitter http://twitter.com/exitgames
and our blog at http://blog.photonengine.com/.
 
Voice
PlayStation®5 Voice

PlayStation®5 Voice

 

Read Me


Photon PS5 Voice Plugin SDK
------------------------------------------

Please contact the console producer on additional setup information or required authorization.
Photon is the world's #1 independent networking engine and multiplayer platform — Fast, reliable, scalable.


Contact
------------------------------------------

To get in touch with other Photon developers and our engineers, visit our Developer Forum:
https://forum.photonengine.com  
Keep yourself up to date following Exit Games on Twitter http://twitter.com/exitgames
and our blog at http://blog.photonengine.com/.
 
Download SDK
v4.0.0.11
Doc
Voice 說明文件
API Doc
C# API
Voice
tvOS

tvOS

 

Read Me


Photon tvOS SDK
------------------------------------------

Photon is the world's #1 independent networking engine and multiplayer platform — Fast, reliable, scalable.

Use the Photon tvOS SDK to easily add multiplayer to your games.
Run them in the global Photon Cloud or host your own Photon Servers.
Match your players to a shared game session (called "room") and transfer messages synchronously, in real-time, between connected players across platforms.
All client SDKs can interact with each other, no matter if iOS, Android, web, console or standalone.


Package Contents
------------------------------------------

/Chat-cpp              - Photon Chat sources
/Chat-objc             - Photon Chat sources Objective-C
/Common-cpp            - common sources
/Common-objc           - common sources Objective-C
/doc                   - Release history, API documentation
/LoadBalancing-cpp     - Photon Realtime sources
/LoadBalancing-objc    - Photon Realtime sources Objective-C
/Photon-cpp            - common Photon sources
/Photon-objc           - common Photon sources Objective-C
/PhotonVoice-cpp       - Photon Voice sources
/Demos

For demos please look into the iOS SDK: http://doc.photonengine.com/en/realtime/current/sdks-and-api/sdk-ios 


Contact
------------------------------------------

To get in touch with other Photon developers and our engineers, visit our Developer Forum:
https://forum.photonengine.com  
Keep yourself up to date following Exit Games on Twitter http://twitter.com/exitgames
and our blog at http://blog.photonengine.com/.
 
Voice
Unreal Engine

Unreal Engine

 

Read Me

All C++ based Photon SDKs are compatible with the UNREAL ENGINE off the shelf!
Find the SDKs you can gear it up with linked to below. 
 
Voice
PhotonVoiceDemo-UE

PhotonVoiceDemo-UE

 

Read Me

This is a demo project for using Photon Voice on Unreal Engine.
All C++ based Photon SDKs are compatible with the UNREAL ENGINE off the shelf!
Find the SDKs you can gear it up with linked to below. 
 
Voice
HoloLens 2 Addon

HoloLens 2 Addon

 

Read Me


Photon Voice HoloLens 2 Addon
------------------------------------------

This is an Addon for Photon Voice 2 (available in the Unity Asset Store).
Import this package to an existing Photon Voice 2 project to get HoloLens 2 platform support.

http://u3d.as/1kuq


Download
------------------------------------------

To download this Photon Voice 2 addon, join our Industries Circle and log in.

If the download is blocked, get in touch with us.
Mail to: developer@photonengine.com to get your Photon account setup.


Package Contents
------------------------------------------

Assets\Photon\PhotonVoice\PhotonVoiceLibs\WSA\ARM64\opus_egpv.dll                   			- Opus Library Build for UWP/WSA ARM64.
Assets\Photon\PhotonVoice\PhotonVoiceLibs\WSA\ARM64\Photon.Voice.UWP.MediaExtensions.dll		- Native plugin for media capture for UWP/WSA ARM64.
Assets\Photon\PhotonVoice\PhotonVoiceLibs\WSA\ARM64\UnitySharedVideoTexture.dll                 - Native plugin for sharing video data with native capture library.
Assets\Photon\PhotonVoice\PhotonVoiceLibs\WSA\ARM64\webrtc-audio.dll							- Native plugin for WebRtcAudioDSP for UWP/WSA ARM64.

Contact
------------------------------------------

To get in touch with other Photon developers and our engineers, visit our forum:
https://forum.photonengine.com  

Stay up to date following Exit Games on Twitter and our blog:
http://twitter.com/exitgames
http://blog.photonengine.com
 
Voice
Magic Leap Addon

Magic Leap Addon

 

Read Me


Photon Voice MagicLeap Addon
------------------------------------------

This is an Addon for Photon Voice 2 (available in the Unity Asset Store).
Add this package to an existing Photon Voice 2 project to get Magic Leap platform support.

Minimal Photon Voice version: 2.5
http://u3d.as/1kuq


Download
------------------------------------------

To download this Photon Voice 2 addon, join our Industries Circle and log in.

If the download is blocked, get in touch with us.
Mail to: developer@photonengine.com to get your Photon account setup.


Package Contents
------------------------------------------

/Photon/PhotonVoice/MagicLeap-PhotonVoice-AddOn.txt     - this file.
/Photon/PhotonVoice/Demos/DemoMagicLeap                 - Minimal demo to test Photon Voice working on device.
/Photon/PhotonVoice/PhotonVoiceLibs/Lumin               - Audio plugin for Lumin / Magic Leap.


Contact
------------------------------------------

To get in touch with other Photon developers and our engineers, visit our forum:
https://forum.photonengine.com  

Stay up to date following Exit Games on Twitter and our blog:
http://twitter.com/exitgames
http://blog.photonengine.com
 
Voice
Unity Asset

Photon Voice Made for UNITY

Photon Voice Unity Asset

整合多人即時語音對話功能至您的多人連線遊戲。Photon Voices能適用於任何需要讓玩家們之間進行語音對話的遊戲。

Doc
Voice 說明文件
API Doc
Voice API

免費取得VOICE

Voice
Windows

Windows

 

Read Me


Photon Windows SDK
------------------------------------------

Photon is the world's #1 independent networking engine and multiplayer platform — Fast, reliable, scalable.

Use the Photon Windows SDK to easily add multiplayer to your games.
Run them in the global Photon Cloud or host your own Photon Servers.
Match your players to a shared game session (called "room") and transfer messages synchronously, in real-time, between connected players across platforms.
All client SDKs can interact with each other, no matter if iOS, Android, web, console or standalone.


Package Contents
------------------------------------------

/Chat-cpp              - Photon Chat sources
/Common-cpp            - common sources
/doc                   - Release history, API documentation
/LoadBalancing-cpp     - Photon Realtime sources
/Photon-cpp            - common Photon sources
/PhotonVoice-cpp       - Photon Voice sources
/Demos

	/demo_basics:
	The demo client is basically a 'Hello World'. So it's the best place to start if you are new to the SDK.

	/demo_chat:
	The demo shows a basic way of using the Photon Chat API.

	/demo_loadbalancing:
	The demo client connects to a master server and shows how to create a room, join a random game and how to send and receive events within a running game.

	/demo_memory:
	This demo displays Photon's asynchronous turnbased features in a game of Memory. This uses the Cocos2D-x graphics engine.

	/demo_particle:
	The demo client connects to a master server and shows the random matchmaking mechanism, how to create a room and how to send and receive events within a running game.
	Players move 'their' blocks around and the positions are updated in realtime between clients.

	/demo_typeSupport:
	This demo displays the proper use of Photon's serializable data types.


Contact
------------------------------------------

To get in touch with other Photon developers and our engineers, visit our Developer Forum:
https://forum.photonengine.com  
Keep yourself up to date following Exit Games on Twitter http://twitter.com/exitgames
and our blog at http://blog.photonengine.com/.
 
Download SDK
v5.0.11
Doc
Voice 說明文件
API Doc
C++ API
Voice
Windows Store

Windows Store

 

Read Me


Photon Windows Store SDK
------------------------------------------

Photon is the world's #1 independent networking engine and multiplayer platform — Fast, reliable, scalable.

Use the Photon Windows Store SDK to easily add multiplayer to your games.
Run them in the global Photon Cloud or host your own Photon Servers.
Match your players to a shared game session (called "room") and transfer messages synchronously, in real-time, between connected players across platforms.
All client SDKs can interact with each other, no matter if iOS, Android, web, console or standalone.


Package Contents
------------------------------------------

/Chat-cpp              - Photon Chat sources
/Common-cpp            - common sources
/doc                   - Release history, API documentation
/LoadBalancing-cpp     - Photon Realtime sources
/Photon-cpp            - common Photon sources
/PhotonVoice-cpp       - Photon Voice sources
/Demos

	/demo_loadBalancing:
	The demo client connects to a master server and shows how to create a room, join a random game and how to send and receive events within a running game.


Contact
------------------------------------------

To get in touch with other Photon developers and our engineers, visit our Developer Forum:
https://forum.photonengine.com  
Keep yourself up to date following Exit Games on Twitter http://twitter.com/exitgames
and our blog at http://blog.photonengine.com/.
 
Download SDK
v5.0.11
Doc
Voice 說明文件
API Doc
C++ API
Voice
Xbox One

Xbox One

 

Read Me


Photon XB1 SDK
------------------------------------------

Please contact the console producer on additional setup information or required authorization.

Photon is the world's #1 independent networking engine and multiplayer platform — Fast, reliable, scalable.

Use the Photon SDK to easily add multiplayer to your games.
Run them in the global Photon Cloud or host your own Photon Servers.
Match your players to a shared game session (called "room") and transfer messages synchronously, in real-time, between connected players across platforms.
All client SDKs can interact with each other, no matter if iOS, Android, web, console or standalone.


Package Contents
------------------------------------------

/Chat-cpp              - Photon Chat sources
/Common-cpp            - common sources
/doc                   - Release history, API documentation
/LoadBalancing-cpp     - Photon Realtime sources
/Photon-cpp            - common Photon sources
/PhotonVoice-cpp       - Photon Voice sources
/Demos

	/demo_loadbalancing:
	The demo client connects to a master server and shows how to create a room, join a random game and how to send and receive events within a running game.


Contact
------------------------------------------

To get in touch with other Photon developers and our engineers, visit our Developer Forum:
https://forum.photonengine.com  
Keep yourself up to date following Exit Games on Twitter http://twitter.com/exitgames
and our blog at http://blog.photonengine.com/.
 
Download SDK
v5.0.11
Doc
Voice 說明文件
API Doc
C++ API
Voice
Xbox One Unity addOn

Xbox One Unity addOn

 

Read Me


Photon Xbox One Unity Plugin
------------------------------------------

You must be logged in and a verified Xbox One developer to download this Unity addon.

If the download is blocked, get in touch with us.
Mail to: developer@photonengine.com to get your Photon account setup.


Contact
------------------------------------------

To get in touch with other Photon developers and our engineers, visit our Developer Forum:
https://forum.photonengine.com  
Keep yourself up to date following Exit Games on Twitter http://twitter.com/exitgames
and our blog at http://blog.photonengine.com/.
 
Voice
Xbox One Voice

Xbox One Voice

 

Read Me


Photon XBox One Voice Plugin SDK
------------------------------------------

Please contact the console producer on additional setup information or required authorization.
Photon is the world's #1 independent networking engine and multiplayer platform — Fast, reliable, scalable.


Contact
------------------------------------------

To get in touch with other Photon developers and our engineers, visit our Developer Forum:
https://forum.photonengine.com  
Keep yourself up to date following Exit Games on Twitter http://twitter.com/exitgames
and our blog at http://blog.photonengine.com/.
 
Download SDK
v4.0.0.1
Doc
Voice 說明文件
API Doc
C# API
Voice
Unity Video SDK

Unity Video SDK

 

Read Me

# Photon Voice 2 Video Unity SDK

## Names
For now, we use Voice term in a meaning of Stream. PhotonVoice2 supports Audio Voices. This SDK adds Video Voices support.
We may change this naming to less confusing later.

## Video Processing
H264 codec is used for video streaming. Encoding and decoding are implemented with native platform API.

Video capture is implemented via native platform API on mobile platforms and UWP. On desktops, capture uses Unity WebCam API.

All platforms support video output to Unity textures (Platform.Create[PreviewManager,VideoRecorder,VideoPlayer]UnityTexture calls). This is the preferred output method. To use an object for video output, apply a material with "PhotonVoiceApi/VideoTexture3D" shader ("PhotonVoiceApi/VideoTextureExt3D" for Android) to it and assign PlatformView property of recorder or player as material's texture.

Mobile platforms and UWP also support video output via native platform API (Platform.CreateDefault[PreviewManager,VideoRecorder,VideoPlayer] methods).

## Supported platforms
- Windows
- MacOS
- iOS
- Android
- UWP (HL2)
- Unity WebGL (Chrome, Opera, Edge)

IL2CPP is the recommended scripting backend. Mono is not guaranteed to work.

There is no Unty integration for video streaming. Voice client should be used directly. It's possible to reuse existing audio Voice client in Unity or PUN app.

## Installation
- If updating existing project, remove PhotonVoiceLibs and PhotonVoiceApi folders in Assets\Photon\PhotonVoice\
- Import Photon Video SDK package
- Select *Window -> Photon Voice -> Enable Video* from the Editor menu (or manually add *PHOTON_VOICE_VIDEO_ENABLE* scripting define symbol for each platform).
- Open TestVideo/scene
- Set App Id in Settings component of Client object
- Make sure that Camera and Microphone permissions enabled
## iOS
- Add VideoToolbox framework to UnityFramework target link dependencies (Build Phases)
## Android
- Android 5.0 (API level 21) is required for video capture.
- If Unity Texture is used for video output, Multithreading render is not supported, Vulkan Graphics API is not supported
- Video encoder and decoder do not work on some Unuty versions beause of the bug: https://issuetracker.unity3d.com/issues/android-sbyte-type-is-considered-to-be-not-primitive-when-compiling-il2cpp-code
## UWP
- If using MediaPlayerElement for video output, export XAML project.
- If using IMGUI (OnGUI driven) user interface, limit fps by setting QualitySettings.vSyncCount = 1 or Application.targetFrameRate = 60, otherwise UI methoda calls make D3D video stall.
## Mac
- In case Unity can't load a bundle library and reports that it's damaged, try to:
  1. Open the MacOS terminal
  2. ```cd``` to ```Assets/Photon/PhotonVoice/PhotonVoiceLibs/OSX```
  3. Run ```xattr -d com.apple.quarantine *.bundle```

## Video Settings
- Bitrate. Currently Photon Cloud servers do not support rates higher than 400 kbit.
- Resolution. Please stick to the following video sizes which are tested with PhotonVoice Video:
   - 320x240
   - 640x480
   - 768x432
   - 848x480
   - 1024x576
   - 1280x720
   - 1920x1440
   
## Streaming Settings (VoiceCreateOptions and LocalVoice properties)
- Fragment. Set it to true to split large video frames into small packets sent independently by Photon transports. In unreliable mode, if some small packets are lost, the frame buffer is still passed to the decoder with 0s instead of lost data.
- Reliable. All packets are guaranteed to deliver. May be used in combination with Fragment.
- FEC. If > 0, after the specified numnber of frames, a forward error correction packet is sent. Do not use with Reliable. Mostly useful in Fragment mode because it reduces losses of large packet fragments.

## Multiple streams from the same camera
- Supported on Windows, Mac and WebGL.
- Create a 2nd video stream and specify the same camera name, but different bitrate.
- On Windows and Mac, also different resolutions are supported. High-res video stream must be created before low-res to avoid camera initialization with lower resolution.
 
Voice
JavaScript

JavaScript

 

Read Me

Photon Voice JavaScript SDK

(C) Exit Games GmbH 2024


Overview 
----------------------------------------------------------------------------------------------------
The Photon Javascript library provides a simple to use framework to access the Photon Server and the Photon Cloud.
Cross platform communication is possible, so Javascript clients can interact with DotNet or native clients.
The SDK supports 3 APIs.


Realtime (LoadBalancing) API
----------------------------------------------------------------------------------------------------
Allows to access Photon Cloud Realtime service: https://doc.photonengine.com/en-us/realtime/current/getting-started/realtime-intro


Voice API
----------------------------------------------------------------------------------------------------
To implement voice and video communication clients based on Photon Cloud Realtime: https://doc.photonengine.com/en-us/voice/current/getting-started/voice-intro
Supported browsers:
- Chrome Wndows, MacOS, Android
- Edge
- Opera

Chat API
----------------------------------------------------------------------------------------------------
Allows to access Photon Chat service: https://doc.photonengine.com/en-us/chat/current/getting-started/chat-intro


Documentation
----------------------------------------------------------------------------------------------------
The reference documentation is in this package. Follow links per API above for more documentation for Photon development.


Download
----------------------------------------------------------------------------------------------------
The latest version of Javascript SDK can be found at https://www.photonengine.com/sdks#realtime-sdkrealtimejavascript


Installation
----------------------------------------------------------------------------------------------------
- Extract the Photon Javascript SDK to a location of your choice

- Create an application in https://dashboard.photonengine.com/
  Use Voice application type for demo-voice and demo-voice-basics, Chat for demo-chat-api and Realtime for other demos.
- Set up you application info with a text editor in cloud-app-info.js file found in the demo root folder.
- Optionally for demo-particle and demo-pairs-mc samples, set FbAppId to your Facebook App id 
  in cloud-app-info.js for Facebook login. Place your HTML5 / JavaScript client code on one of 
  App Domains specified in your Facebook App settings. This required for proper Facebook Login 
  button work.
- Open default.html in browser.


Contact
----------------------------------------------------------------------------------------------------
To get in touch with other Photon developers and our engineers, Join our Discord Server https://dashboard.photonengine.com/account/profile
Keep yourself up to date following Exit Games on Twitter http://twitter.com/exitgames and our blog http://blog.photonengine.com


Package Contents
----------------------------------------------------------------------------------------------------
- license.txt         - the license terms
- readme.txt          - readme text
- release_history.txt - release history
- /doc                - the JavaScript API reference documentation
- /lib                - Photon JavaScript libraries
  -  /photon.js              - Photon Realtime library
  -  /photon.min.js          - minimized version
  -  /photon-em.js           - Photon Realtime Emscripten library (binary protocol)
  -  /photon-em.min.js       - minimized version
  -  /photon-voice.js        - Photon Voice library (includes Photon Realtime Emscripten)
  -  /photon-voice.min.js    - minimized version
  -  /photon.d.ts            - Photon Realtime Typescript declaration file
  -  /photon-voice.d.ts      - Photon Voice Typescript declaration file
- /src    
  -  /demo-loadbalancing     - basic Realtime (LoadBalancing) API demo application
  -  /demo-particle          - demo showing more of the Realtime API's features
  -  /demo-pairs-mc          - Turnbased Realtime application demo
  -  /demo-voice             - Voice API demo application
  -  /demo-voice-basics      - Voice API basics demo application
  -  /demo-chat-api          - Chat API demo application
 
Voice
Android x86-64 Addon

Android x86-64 Addon

 

Read Me


Photon Voice Android x86_64 Addon
------------------------------------------

This is an Addon for Photon Voice 2 (available in the Unity Asset Store).
Import this package to an existing Photon Voice 2 project to get Android x86_64 support.

http://u3d.as/1kuq


Download
------------------------------------------

To download this Photon Voice 2 addon, join our Industries Circle and log in.

If the download is blocked, get in touch with us.
Mail to: developer@photonengine.com to get your Photon account setup.


Package Contents
------------------------------------------
Assets\Photon\PhotonVoice\PhotonVoiceLibs\Android\libs\x86_64\libopus_egpv.so                   - Opus Library
Assets\Photon\PhotonVoice\PhotonVoiceLibs\Android\libs\x86_64\libwebrtc-audio.so                - Native plugin for WebRtcAudioDSP

Contact
------------------------------------------

To get in touch with other Photon developers and our engineers, visit our forum:
https://forum.photonengine.com  

Stay up to date following Exit Games on Twitter and our blog:
http://twitter.com/exitgames
http://blog.photonengine.com
 
 

“PlayStation”, “PlayStation Family Mark”, “PS5 logo” and “PS4 logo” are registered trademarks or trademarks of Sony Interactive Entertainment Inc.


 

Photon 作品

我們要求獨立製作開發人員在應用程式的啟動顯示畫面或製作群中凸顯 Exit Games Photon 標誌。
當然,也非常歡迎其他人共襄盛舉 :]

下載 Photon 作品。

 

 

Q + A

若您有意見或想與我們分享構想 僅需寄送電子郵件給我們 我們將盡快回信。

問題 歡迎進入我們的社群。 https://support.photonengine.jp/hc/zh-tw .
說明文件 可於線上使用 https://doc.photonengine.com/zh-tw/fusion/current .
更新 至我們的 SDK,其他項目將定時公布 https://twitter.com/PhotonTaiwan .