We Have an SDK for You!
- Realtime
- Fusion
- PUN
- BOLT
- Quantum
- Chat
- Voice
- Server
- .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
Photon BOLT
Photon BOLT is perfect for FPS/TPS, battle royale or other action multiplayer games that require a dedicated server architecture. Enjoy a unique feature set with authoritative movement, prioritization & scoping, lag compensation/hitbox recording, ultra-fast UDP and much more. Bolt's Photon Cloud integration provides matchmaking, punchthrough and a global relay service to make sure your players can always connect. Free Download
- Doc
- BOLT Documentation
- API Doc
- Bolt API
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/.
- Download SDK
- v1.3.2 ( older versions … ) ( older versions: Photon-BoltPro-Sdk_v1-2-14b.zip )
- Doc
- https://doc.photonengine.com/zh-cn/bolt
- API Doc
- http://doc-api.photonengine.com/en/bolt/current/index.html
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: [email protected] 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/.
- Download SDK
- v5.0.0.2
- Doc
- https://doc.photonengine.com/zh-cn/pun/current/consoles/xbox
- API Doc
- C# API
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/.
- Download SDK
- v1.2.14
- Doc
- https://doc.photonengine.com/zh-cn/bolt
- API Doc
- http://doc-api.photonengine.com/en/bolt/current/index.html
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/.
- Download SDK
- v1.0
- Doc
- https://doc.photonengine.com/zh-cn/bolt
- API Doc
- http://doc-api.photonengine.com/en/bolt/current/index.html
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/.
- Download SDK
- v1.0
- Doc
- https://doc.photonengine.com/zh-cn/bolt
- API Doc
- http://doc-api.photonengine.com/en/bolt/current/index.html
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/.
- Download SDK
- v1.2.12
- Doc
- https://doc.photonengine.com/zh-cn/bolt
- API Doc
- http://doc-api.photonengine.com/en/bolt/current/index.html
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: [email protected] 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/.
- Download SDK
- v5.0.0.2
- Doc
- https://doc.photonengine.com/zh-cn/pun/current/consoles/xbox
- API Doc
- C# API
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 Documentation
- API Doc
- C++ API
Photon Chat Unity Assets
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.
Get CHAT FREE
You do not need multiplayer, but a chat?
Add it easily with Photon Chat Free.
This asset is included in PUN Free and PUN Plus, please do not use with either.
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.
- Supported SDKs
- Android , iOS , Windows
- Doc
- Chat Documentation
- API Doc
- C++ API
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
- Download SDK
- v4.1.1.5 ( older versions … ) ( older versions: Photon-Construct2-SDK_v4-1-1-4.zip )
- Doc
- Chat Documentation
- API Doc
- JavaScript API
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 Documentation
- API Doc
- Lua API
.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.
- Download SDK
- v5.1.1 ( older versions … ) ( older versions: Photon-DotNet-Sdk_v5-1-0.zip , Photon-DotNet-Sdk_v4-1-8-11.zip , Photon-DotNet-Sdk_v4-1-8-10.zip , Photon-DotNet-Sdk_v4-1-8-9.zip )
- Doc
- Chat Documentation
- API Doc
- C# API
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 Documentation
- API Doc
- C++ API
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 Documentation
- API Doc
- C++ API
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: [email protected] 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/.
- Download SDK
- v5.0.0.2
- Doc
- https://doc.photonengine.com/zh-cn/pun/current/consoles/xbox
- API Doc
- C# API
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/.
- Download SDK
- v5.0.11.1
- Doc
- Chat Documentation
- API Doc
- C++ API , Objective C API
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
- Download SDK
- v4.3.2 ( older versions … ) ( older versions: Photon-Javascript-SDK_v4-3-1-0.zip )
- Doc
- Chat Documentation
- API Doc
- JavaScript API
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 Documentation
- API Doc
- C++ API
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/.
- Download SDK
- v5.0.11.2
- Doc
- Chat Documentation
- API Doc
- C++ API , Objective C API
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/.
- Download SDK
- v5.0.11.6 ( older versions … ) ( older versions: Photon-NintendoSwitch-Sdk_v5-0-8-1.7z , Photon-NintendoSwitch-Sdk_v5-0-7-1.7z , Photon-NintendoSwitch-Sdk_v5-0-6-0.7z , Photon-NintendoSwitch-Sdk_v5-0-2-3.7z )
- Doc
- Chat Documentation
- API Doc
- C++ API
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 Documentation
- API Doc
- C++ API
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 Documentation
- API Doc
- C++ API
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/.
- Download SDK
- v5.0.11.2
- Doc
- Chat Documentation
- API Doc
- C++ API , Objective C API
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.
- Download SDK
- v5.1.1 ( older versions … ) ( older versions: Photon-Unity-Sdk_v5-1-0.zip , Photon-Unity-Sdk_v4-1-8-11.zip , Photon-Unity-Sdk_v4-1-8-9.zip )
- Doc
- Chat Documentation
- API Doc
- C# API
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.
- Supported SDKs
- Android , Emscripten , Game Core , iOS , Linux , Mac OS X , Nintendo Switch , PlayStation®4 , PlayStation®5 , tvOS , Windows , Windows Store , Xbox One
- Additional Downloads
- Photon-Unreal-SDK_DemoParticle-UE.zip , Photon-Unreal-SDK_PhotonVoiceDemo-UE.zip
- Doc
- Unreal Engine
- API Doc
- C++ API
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 Documentation
- API Doc
- C++ API
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 Documentation
- API Doc
- C++ API
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 Documentation
- API Doc
- C++ API
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: [email protected] 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/.
- Download SDK
- v5.0.0.2
- Doc
- https://doc.photonengine.com/zh-cn/pun/current/consoles/xbox
- API Doc
- C# API
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: [email protected] 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/.
- Download SDK
- v1.0
- Doc
- https://doc.photonengine.com/zh-cn/fusion
- API Doc
- https://doc-api.photonengine.com/en/fusion/current/index.html
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/.
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/.
- Additional Downloads
- Photon-Fusion-PS4-11-5-0-Plugin-Sdk_v1-0-0-0.zip , Photon-Fusion-PS4-10-0-0-Plugin-Sdk_v1-0-0-0.zip , Photon-Fusion-PS4-9-0-0-Plugin-Sdk_v1-0-0-0.zip
- Doc
- https://doc.photonengine.com/zh-cn/fusion/current/getting-started/fusion-intro
- API Doc
- https://doc-api.photonengine.com/en/fusion/current/index.html
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/.
- Additional Downloads
- Photon-Fusion-PS5-9-0-0-Plugin-Sdk_v1-0-0-0.zip , Photon-Fusion-PS5-8-0-0-Plugin-Sdk_v1-0-0-0.zip , Photon-Fusion-PS5-7-0-0-Plugin-Sdk_v1-0-0-0.zip , Photon-Fusion-PS5-6-0-0-Plugin-Sdk_v1-0-0-0.zip , Photon-Fusion-PS5-5-0-0-Plugin-Sdk_v1-0-0-0.zip
- Doc
- https://doc.photonengine.com/zh-cn/fusion/current/getting-started/fusion-intro
- API Doc
- https://doc-api.photonengine.com/en/fusion/current/index.html
Fusion
Photon Fusion is the high-end state transfer netcode SDK made for Unity Professionals.
- Download SDK
- Fusion SDK
- Doc
- https://doc.photonengine.com/fusion
- API Doc
- https://doc-api.photonengine.com/
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: [email protected] 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/.
- Download SDK
- v5.0.0.2
- Doc
- https://doc.photonengine.com/zh-cn/pun/current/consoles/xbox
- API Doc
- C# API
Photon PUN Unity Assets
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.
No-cost package with various demos, pre-made scripts and reference documentation. Exports to basically all platforms.
- Doc
- PUN Documentation
- API Doc
- PUN API
Same content as PUN FREE, plus a 100 concurrent user plan for the Photon Cloud (approx. 40k MAU, valid 12 months). Just $95
- Doc
- PUN Documentation
- API Doc
- PUN API
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: [email protected] 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/.
- Download SDK
- v5.0.0.2
- Doc
- https://doc.photonengine.com/zh-cn/pun/current/consoles/xbox
- API Doc
- C# API
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: [email protected] 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/.
- Download SDK
- v5.0.0.2
- Doc
- https://doc.photonengine.com/zh-cn/pun/current/consoles/xbox
- API Doc
- C# API
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: [email protected] 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/.
- Download SDK
- v5.0.0.2
- Doc
- https://doc.photonengine.com/zh-cn/pun/current/consoles/xbox
- API Doc
- C# API
Quantum is our deterministic engine to build fast paced multiplayer action games.
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.
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
- Realtime Documentation
- API Doc
- C++ API
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.
- Supported SDKs
- Android , iOS , Windows
- Doc
- Realtime Documentation
- API Doc
- C++ API
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
- Download SDK
- v4.1.1.5 ( older versions … ) ( older versions: Photon-Construct2-SDK_v4-1-1-4.zip )
- Doc
- Realtime Documentation
- API Doc
- JavaScript API
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
- Realtime Documentation
- API Doc
- Lua API
.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.
- Download SDK
- v5.1.1 ( older versions … ) ( older versions: Photon-DotNet-Sdk_v5-1-0.zip , Photon-DotNet-Sdk_v4-1-8-11.zip , Photon-DotNet-Sdk_v4-1-8-10.zip , Photon-DotNet-Sdk_v4-1-8-9.zip )
- Doc
- Realtime Documentation
- API Doc
- C# API
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
- Realtime Documentation
- API Doc
- C++ API
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
- Realtime Documentation
- API Doc
- C++ API
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: [email protected] 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/.
- Download SDK
- v5.0.0.2
- Doc
- https://doc.photonengine.com/zh-cn/pun/current/consoles/xbox
- API Doc
- C# API
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/.
- Download SDK
- v5.0.11.1
- Doc
- Realtime Documentation
- API Doc
- C++ API , Objective C API
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
- Download SDK
- v4.3.2 ( older versions … ) ( older versions: Photon-Javascript-SDK_v4-3-1-0.zip )
- Doc
- Realtime Documentation
- API Doc
- JavaScript API
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
- Realtime Documentation
- API Doc
- C++ API
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/.
- Download SDK
- v5.0.11.2
- Doc
- Realtime Documentation
- API Doc
- C++ API , Objective C API
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/.
- Download SDK
- v5.0.11.6 ( older versions … ) ( older versions: Photon-NintendoSwitch-Sdk_v5-0-8-1.7z , Photon-NintendoSwitch-Sdk_v5-0-7-1.7z , Photon-NintendoSwitch-Sdk_v5-0-6-0.7z , Photon-NintendoSwitch-Sdk_v5-0-2-3.7z )
- Doc
- Realtime Documentation
- API Doc
- C++ API
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
- Realtime Documentation
- API Doc
- C++ API
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
- Realtime Documentation
- API Doc
- C++ API
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/.
- Download SDK
- v5.0.11.2
- Doc
- Realtime Documentation
- API Doc
- C++ API , Objective C API
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.
- Download SDK
- v5.1.1 ( older versions … ) ( older versions: Photon-Unity-Sdk_v5-1-0.zip , Photon-Unity-Sdk_v4-1-8-11.zip , Photon-Unity-Sdk_v4-1-8-9.zip )
- Doc
- Realtime Documentation
- API Doc
- C# API
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.
- Supported SDKs
- Android , Emscripten , Game Core , iOS , Linux , Mac OS X , Nintendo Switch , PlayStation®4 , PlayStation®5 , tvOS , Windows , Windows Store , Xbox One
- Additional Downloads
- Photon-Unreal-SDK_DemoParticle-UE.zip , Photon-Unreal-SDK_PhotonVoiceDemo-UE.zip
- Doc
- Unreal Engine
- API Doc
- C++ API
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.
- Download SDK
- v0.0
- Supported SDKs
- Android , Emscripten , Game Core , iOS , Linux , Mac OS X , Nintendo Switch , PlayStation®4 , PlayStation®5 , tvOS , Windows , Windows Store , Xbox One
- Doc
- Unreal Engine
- API Doc
- C++ API
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
- Realtime Documentation
- API Doc
- C++ API
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
- Realtime Documentation
- API Doc
- C++ API
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
- Realtime Documentation
- API Doc
- C++ API
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: [email protected] 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/.
- Download SDK
- v5.0.0.2
- Doc
- https://doc.photonengine.com/zh-cn/pun/current/consoles/xbox
- API Doc
- C# API
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.
- Download SDK
- v5.0.13.32034
- Doc
- Server Documentation
- API Doc
- API Doc
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.
- Download SDK
- v5.0.13.32034
- Doc
- Requirements , SDK Doc
- API Doc
- API Doc
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 Documentation
- API Doc
- C++ API
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 Documentation
- API Doc
- C++ API
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: [email protected] 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/.
- Download SDK
- v5.0.0.2
- Doc
- https://doc.photonengine.com/zh-cn/pun/current/consoles/xbox
- API Doc
- C# API
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 Documentation
- API Doc
- C# API
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/.
- Download SDK
- v5.0.11.1
- Doc
- Voice Documentation
- API Doc
- C++ API , Objective C API
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 Documentation
- API Doc
- C++ API
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/.
- Download SDK
- v5.0.11.2
- Doc
- Voice Documentation
- API Doc
- C++ API , Objective C API
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/.
- Download SDK
- v5.0.11.6 ( older versions … ) ( older versions: Photon-NintendoSwitch-Sdk_v5-0-8-1.7z , Photon-NintendoSwitch-Sdk_v5-0-7-1.7z , Photon-NintendoSwitch-Sdk_v5-0-6-0.7z , Photon-NintendoSwitch-Sdk_v5-0-2-3.7z )
- Doc
- Voice Documentation
- API Doc
- C++ API
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 Documentation
- API Doc
- C# API
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
- Voice Documentation
- API Doc
- C++ API
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 Documentation
- API Doc
- C# API
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
- Voice Documentation
- API Doc
- C++ API
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 Documentation
- API Doc
- C# API
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/.
- Download SDK
- v5.0.11.2
- Doc
- Voice Documentation
- API Doc
- C++ API , Objective C API
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.
- Supported SDKs
- Android , Emscripten , Game Core , iOS , Linux , Mac OS X , Nintendo Switch , PlayStation®4 , PlayStation®5 , tvOS , Windows , Windows Store , Xbox One
- Additional Downloads
- Photon-Unreal-SDK_DemoParticle-UE.zip , Photon-Unreal-SDK_PhotonVoiceDemo-UE.zip
- Doc
- Unreal Engine
- API Doc
- C++ API
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.
- Download SDK
- v0.0
- Supported SDKs
- Android , Emscripten , Game Core , iOS , Linux , Mac OS X , Nintendo Switch , PlayStation®4 , PlayStation®5 , tvOS , Windows , Windows Store , Xbox One
- Doc
- Unreal Engine
- API Doc
- C++ API
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: [email protected] 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
- Download SDK
- v2.0
- Doc
- https://doc.photonengine.com/zh-cn/voice/v2
- API Doc
- C# API
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: [email protected] 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
- Download SDK
- v2.5
- Doc
- https://doc.photonengine.com/zh-cn/voice/v2
- API Doc
- C# API
Photon Voice
Add massive live Voice Chat to your Unity Multiplayer Games. Photon Voice is the ideal add-on to any application using voice chat to communicate between players.
- Doc
- Voice Documentation
- API Doc
- Voice API
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 Documentation
- API Doc
- C++ API
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 Documentation
- API Doc
- C++ API
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 Documentation
- API Doc
- C++ API
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: [email protected] 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/.
- Download SDK
- v5.0.0.2
- Doc
- https://doc.photonengine.com/zh-cn/pun/current/consoles/xbox
- API Doc
- C# API
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 Documentation
- API Doc
- C# API
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.
- Download SDK
- v2.56 ( older versions … ) ( older versions: Photon-Video-SDK_v2.55.unitypackage )
- Doc
- Voice Documentation
- API Doc
- https://doc-api.photonengine.com/en/Voice/current/index.html
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
- Download SDK
- v4.3.2 ( older versions … ) ( older versions: Photon-Voice-Javascript-SDK_v4-3-1-0.zip )
- Doc
- Voice Documentation
- API Doc
- JavaScript API
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: [email protected] 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
- Download SDK
- v2.0
- Doc
- https://doc.photonengine.com/zh-cn/voice/v2
- API Doc
- C# API
“PlayStation”, “PlayStation Family Mark”, “PS5 logo” and “PS4 logo” are registered trademarks or trademarks of Sony Interactive Entertainment Inc.
Photon Artwork
We request indie developers to display the Exit Games Photon logo prominently,
in splash screen or credits, within their applications.
Of course, others are most welcome to do so as well :]
Q + A
If you have comments or just want to share a thought simply drop us an email and we will get right back to you.
Questions
are welcome in our community,
https://forum.photonengine.com
.
Documentation
is available online at
https://doc.photonengine.com/fusion/current
.
Updates
to our SDKs and other are announced on a regular basis via
http://www.twitter.com/exitgames
.