Photon SDK

Photonは複数プラットフォームでのマルチプレイヤーゲームの開発を容易にし、開発に必要なプラットフォームやAPIを広範にサポートします。
APIやプラットフォームに合致するSDKを選択いただければ、お客様のタイトルのPhoton製品が継続して稼動します。

あなたのプロジェクト用に選択してください:

製品
  • マルチプレイヤー
  • Realtime
  • PUN
  • Bolt
  • Thunder
  • TrueSync
  • メッセージング
  • Chat
  • Voice
  • オンプレミス
エンジン、フレームワークまたはプラットフォーム
  • クライアント
  • サーバー
  • .NET
  • アンドロイド
  • Cocos2d-x
  • Construct 2
  • Corona
  • Emscripten
  • HTML5
  • iOS
  • Linux
  • Mac OS X
  • PlayStation 4
  • PS Vita
  • Switch
  • tvOS
  • Unity
  • Unreal Engine
  • V-Play / Qt
  • WebGL
  • Windows
  • Windows Store
  • Xamarin
  • Xbox One
言語
  • C++
  • C#
  • JavaScript
  • Lua
  • Objective C
  • TypeScript
 
アンドロイド SDK
Realtime

アンドロイド SDK

ReadMe


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

/doc                 - Release history, API documentation
/Chat-cpp            - Photon Chat sources
/Common-cpp          - common sources
/LoadBalancing-cpp   - Loadbalancing specific sources
/Photon-cpp          - common Photon 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/.



展開する 折りたたむ
SDKをダウンロード
v4.1.8.1
ドキュメント
Realtime ドキュメント
API ドキュメント
C++API
Cocos2d-x SDK
Realtime

Cocos2d-x SDK

ReadMe

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
アンドロイド , iOS , Windows
ドキュメント
Realtime ドキュメント
API ドキュメント
C++API
Construct 2 SDK
Realtime

Construct 2 SDK

ReadMe

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  



展開する 折りたたむ
SDKをダウンロード
v4.0.0.7
ドキュメント
Realtime ドキュメント
API ドキュメント
JavaScriptAPI
Corona SDK
Realtime

Corona SDK

ReadMe


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/.
展開する 折りたたむ
SDKをダウンロード
v4.0.0.2
ドキュメント
Realtime ドキュメント
API ドキュメント
LuaAPI
.NET SDK
Realtime

.NET SDK

ReadMe


This is the readme for the Photon Client SDKs.
(C) Exit Games GmbH 2016



LoadBalancing Documentation
----------------------------------------------------------------------------------------------------
The API reference is included in this package as CHM file.
Find the current manuals, tutorials, API reference and more online:
http://doc.photonengine.com



Running the Demos
----------------------------------------------------------------------------------------------------
Our demos are built for the Photon Cloud for convenience (no initial server setup needed).
The service is free for development and signing up is instant and without obligation.

Every game title on the Cloud gets it's own AppId string which must be copied into the clients.
The demos use a property "AppId" in the source files. Set it's value before you build them.

Sign In:             https://www.photonengine.com/en/Account/SignIn
AppId in Dashboard:  https://www.photonengine.com/dashboard

Each application type has it's own AppId (e.g Realtime and Chat).
You will find specific sections of the Dashboard per application type.


Alternatively you can host a "Photon Cloud" yourself. The AppId is not used in that case.
Download the server SDK here:
https://www.photonengine.com/OnPremise/Download

How to start the server:
http://doc.photonengine.com/en/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://www.photonengine.com/en/Chat/Dashboard

    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.
    It should run in most cases (unless your Photon assembly is very old).




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


We assume you're using Unity 5.x. 
The demos are prepared to export for Standalone, not WSA or other.

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


Currently supported export platforms are:
    Standalone (Windows, OSx and Linux)
    Web (Windows and MacOS)
    WebGL
    iOS         (Unity 4 needs iOS Pro Unity license)
    Android     (Unity 4 needs Android Pro Unity license)
    Windows Store 8.1 and 10    (including Phone and UWP with one library)
    PS3, PS4 and XBox           (certified developers should get in contact with us on demand)


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;


Web players do a policy-file request to port TCP 843 before they connect to a remote server.
The Photon Cloud and Server SDK will handle these requests.
If you host the server, open the additional "policy request" port: TCP 843. If you configure
your server applications, run "Policy Application" for webplayers.


How to add Photon to your Unity project:
1) The Unity SDK contains a "PhotonAssets" folder. 
   Copy the content of PhotonAssets\ 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.
4) iOS build settings (Edit->Project Settings->Player)
   "iPhone Stripping Level" to "Strip Bytecode" and use
   "DotNet 2.0 Subset".
5) If you host Photon, change the server address in the client. A default of "localhost:5055" won't work on device.
6) Implement OnApplicationQuit() and disconnect the client when the app stops.



Windows Store Notes
----------------------------------------------------------------------------------------------------
To run demos on a smartphone or simulator, you need to setup your server's network address or
use the Photon Cloud.

We assume you run a Photon Server on the same development machine, so by default, our demos have a
address set to "127.0.0.1:5055" and use UDP.
Demos for LoadBalancing or the Cloud will be set to: "ns.exitgames.com:5055" and use UDP.

Search the code and replace those values to run the demos on your own servers or in a simulator.
The Peer.Connect() method is usually used to set the server's address.

A smartphone has it's own IP address, so 127.0.0.1 will contact the phone instead of the machine
that also runs Photon.



展開する 折りたたむ
SDKをダウンロード
v4.1.1.17
ドキュメント
Realtime ドキュメント
API ドキュメント
C#API
Emscripten SDK
Realtime

Emscripten SDK

ReadMe


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

/Common-cpp          - common sources
/doc                 - Release history, API documentation
/LoadBalancing-cpp   - Loadbalancing specific 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/.
展開する 折りたたむ
SDKをダウンロード
v4.1.8.0
ドキュメント
Realtime ドキュメント
API ドキュメント
C++API
iOS SDK
Realtime

iOS SDK

ReadMe


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   - Loadbalancing specific sources
/LoadBalancing-objc  - Loadbalancing specific sources Objective-C
/Photon-cpp          - common Photon sources
/Photon-objc         - common Photon sources Objective-C
/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/.
展開する 折りたたむ
SDKをダウンロード
v4.1.8.0
ドキュメント
Realtime ドキュメント
API ドキュメント
C++API , Objective CAPI
JavaScript SDK
Realtime

JavaScript SDK

ReadMe

Photon Client Javascript SDK readme.
(C) Exit Games GmbH 2016


Overview 
----------------------------------------------------------------------------------------------------
The Photon Javascript library provides a simple to use framework to access the Photon Server
and the Photon Cloud. It works on many up to date browsers using either native WebSocket or 
a Flash plugin.
Cross platform communication is possible, so Javascript 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 SDK supports 2 APIs.


LoadBalancing API (Realtime and Turnbased)
----------------------------------------------------------------------------------------------------
LoadBalancing API allows to access Photon Cloud Realtime and Turnbased services as well as 
Photon Server LoadBalancing Application:
https://doc.photonengine.com/en/realtime/current/getting-started/realtime-intro
https://doc.photonengine.com/en/turnbased/current/getting-started/turnbased-intro
https://doc.photonengine.com/en/onpremise/current/reference/load-balancing


Chat API
----------------------------------------------------------------------------------------------------
Chat API allows to access Photon Chat service:
https://doc.photonengine.com/en/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/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


Package Contents
----------------------------------------------------------------------------------------------------
license.txt         - the license terms
install.txt         - installation info
readme.txt          - this readme text
release_history.txt - release history
/doc                - the Javascript API reference documentation
/lib                - the different versions of the lib
/src    
    /demo-loadbalancing     - basic Realtime application (Loadbalancing API) demo
    /demo-particle          - demo showing more of the Loadbalancing API's features
    /demo-pairs-mc          - Turnbased application demo
    /demo-chat-api          - demo showing Photon Chat API's features
    /Photon                 - library typescript source files
    PhotonWebsockets.sln    - Visual Studio solution file for samples typescript projects
                              (Typescript minimal version 1.0.0.0 required)
展開する 折りたたむ
SDKをダウンロード
v4.0.0.6
ドキュメント
Realtime ドキュメント
API ドキュメント
JavaScriptAPI , TypeScriptAPI
Linux SDK
Realtime

Linux SDK

ReadMe


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   - Loadbalancing specific sources
/Photon-cpp          - common Photon 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/.
展開する 折りたたむ
SDKをダウンロード
v4.1.8.0
ドキュメント
Realtime ドキュメント
API ドキュメント
C++API
Mac OS X SDK
Realtime

Mac OS X SDK

ReadMe


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, IPA documentation
/LoadBalancing-cpp   - Loadbalancing specific sources
/LoadBalancing-objc  - Loadbalancing specific sources Objective-C
/Photon-cpp          - common Photon sources
/Photon-objc         - common Photon sources Objective-C
/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/.
展開する 折りたたむ
SDKをダウンロード
v4.1.8.0
ドキュメント
Realtime ドキュメント
API ドキュメント
C++API , Objective CAPI
PlayStation 4 SDK
Realtime

PlayStation 4 SDK

ReadMe


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     - Loadbalancing specific sources
/Photon-cpp            - common Photon 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/.
展開する 折りたたむ
SDKをダウンロード
v4.1.8.0
ドキュメント
Realtime ドキュメント
API ドキュメント
C++API
PS Vita SDK
Realtime

PS Vita SDK

ReadMe


Photon PSVita 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     - Loadbalancing specific 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.


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/.
展開する 折りたたむ
SDKをダウンロード
v4.1.8.0
ドキュメント
Realtime ドキュメント
API ドキュメント
C++API
Switch SDK
Realtime

Switch SDK

ReadMe


Photon 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     - Loadbalancing specific 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.


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/.
展開する 折りたたむ
SDKをダウンロード
v4.1.8.0
ドキュメント
Realtime ドキュメント
API ドキュメント
C++API
tvOS SDK
Realtime

tvOS SDK

ReadMe


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       - Loadbalancing specific sources
/LoadBalancing-objc      - Loadbalancing specific sources Objective-C
/Photon-cpp              - common Photon sources
/Photon-objc             - common Photon sources Objective-C

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/.
展開する 折りたたむ
SDKをダウンロード
v4.1.8.0
ドキュメント
Realtime ドキュメント
API ドキュメント
C++API , Objective CAPI
Unity SDK
Realtime

Unity SDK

ReadMe


This is the readme for the Photon Client SDKs.
(C) Exit Games GmbH 2016



LoadBalancing Documentation
----------------------------------------------------------------------------------------------------
The API reference is included in this package as CHM file.
Find the current manuals, tutorials, API reference and more online:
http://doc.photonengine.com



Running the Demos
----------------------------------------------------------------------------------------------------
Our demos are built for the Photon Cloud for convenience (no initial server setup needed).
The service is free for development and signing up is instant and without obligation.

Every game title on the Cloud gets it's own AppId string which must be copied into the clients.
The demos use a property "AppId" in the source files. Set it's value before you build them.

Sign In:             https://www.photonengine.com/en/Account/SignIn
AppId in Dashboard:  https://www.photonengine.com/dashboard

Each application type has it's own AppId (e.g Realtime and Chat).
You will find specific sections of the Dashboard per application type.


Alternatively you can host a "Photon Cloud" yourself. The AppId is not used in that case.
Download the server SDK here:
https://www.photonengine.com/OnPremise/Download

How to start the server:
http://doc.photonengine.com/en/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://www.photonengine.com/en/Chat/Dashboard

    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.
    It should run in most cases (unless your Photon assembly is very old).




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


We assume you're using Unity 5.x. 
The demos are prepared to export for Standalone, not WSA or other.

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


Currently supported export platforms are:
    Standalone (Windows, OSx and Linux)
    Web (Windows and MacOS)
    WebGL
    iOS         (Unity 4 needs iOS Pro Unity license)
    Android     (Unity 4 needs Android Pro Unity license)
    Windows Store 8.1 and 10    (including Phone and UWP with one library)
    PS3, PS4 and XBox           (certified developers should get in contact with us on demand)


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;


Web players do a policy-file request to port TCP 843 before they connect to a remote server.
The Photon Cloud and Server SDK will handle these requests.
If you host the server, open the additional "policy request" port: TCP 843. If you configure
your server applications, run "Policy Application" for webplayers.


How to add Photon to your Unity project:
1) The Unity SDK contains a "PhotonAssets" folder. 
   Copy the content of PhotonAssets\ 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.
4) iOS build settings (Edit->Project Settings->Player)
   "iPhone Stripping Level" to "Strip Bytecode" and use
   "DotNet 2.0 Subset".
5) If you host Photon, change the server address in the client. A default of "localhost:5055" won't work on device.
6) Implement OnApplicationQuit() and disconnect the client when the app stops.



Windows Store Notes
----------------------------------------------------------------------------------------------------
To run demos on a smartphone or simulator, you need to setup your server's network address or
use the Photon Cloud.

We assume you run a Photon Server on the same development machine, so by default, our demos have a
address set to "127.0.0.1:5055" and use UDP.
Demos for LoadBalancing or the Cloud will be set to: "ns.exitgames.com:5055" and use UDP.

Search the code and replace those values to run the demos on your own servers or in a simulator.
The Peer.Connect() method is usually used to set the server's address.

A smartphone has it's own IP address, so 127.0.0.1 will contact the phone instead of the machine
that also runs Photon.



展開する 折りたたむ
SDKをダウンロード
v4.1.1.17
ドキュメント
Realtime ドキュメント
API ドキュメント
C#API
Unreal Engine SDK
Realtime

Unreal Engine SDK

ReadMe

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. 
展開する 折りたたむ
V-Play / Qt SDK
Realtime

V-Play / Qt SDK

ドキュメント
Realtime ドキュメント
API ドキュメント
JavaScriptAPI
Windows SDK
Realtime

Windows SDK

ReadMe


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     - Loadbalancing specific sources
/Photon-cpp            - common Photon 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/.
展開する 折りたたむ
SDKをダウンロード
v4.1.8.0
ドキュメント
Realtime ドキュメント
API ドキュメント
C++API
Windows Store SDK
Realtime

Windows Store SDK

ReadMe


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     - Loadbalancing specific 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.
	
	
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/.
展開する 折りたたむ
SDKをダウンロード
v4.1.8.0
ドキュメント
Realtime ドキュメント
API ドキュメント
C++API
Xamarin SDK
Realtime

Xamarin SDK

ReadMe


This is the readme for the Photon Client SDKs.
(C) Exit Games GmbH 2014



Reference Documentation
----------------------------------------------------------------------------------------------------
The API reference is included in this package as CHM file.
Find the current API reference, manuals, tutorials and more online:
http://doc.exitgames.com



Running the Demos
----------------------------------------------------------------------------------------------------
Our demos are built for the Photon Cloud to reduce the effort to run them. No server setup needed.
The service is free for development and signing up takes less than 5 minutes.

Every game title on the Cloud gets it's own AppId string, which must be copied into the clients. 
The demos use a property "AppId" in the source files. Set it's value before you build them.

Sign Up:                https://cloud.exitgames.com
App ID in Dashboard:    https://cloud.exitgames.com/dashboard

The Application ID is per application type (Realtime, Turnbased, Chat)!
You will find specific sections of the Dashboard per application type.


Alternatively you can host a "Photon Cloud" yourself and use any AppId. This is what you need to do:
- Download the Photon Server SDK (it comes as 7zip file or self-extracting exe).
- Unpack-
- Execute PhotonControl.exe.
- Click "Game Server IP Config" and pick a suitable IP address (local network or public).
- This IP must be used in your game as (master) server address. Don't forget the port after ":".
- Click "Loadbalancing (MyCloud)" and "Start as Application".

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

Download the server SDK here:
https://www.exitgames.com/OnPremise/Download




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

Currently supported export platforms are: 
    Standalone (Windows, OSx and Linux)
    Web (Windows and MacOS)
    iOS (needs iOS Pro Unity license)
    Android (needs Android Pro Unity license)
    Windows 8 Store and Phone
    PS3, PS4 and XBox (certified developers should get in contact with us on demand)

As of v3.2.1.6 all Unity projects must use ExitGames.Client.Photon.Hashtable!
This provides compatibility with Win 8 RT and Win 8 Phone exports.
Add this to your code (at the beginning), to resolve the "ambiguous Hashtable" declaration:
using Hashtable = ExitGames.Client.Photon.Hashtable;

Web players do a policy-file request to port TCP 843 before they connect to a remote server. 
The Photon Cloud and Server SDK will handle these requests.
If you host the server, open the additional "policy request" port: TCP 843. If you configure
your server applications, run "Policy Application" for webplayers.


How to add Photon to your Unity project:
1) Copy the Photon .dll into the "Assets\Plugins" folder of your project. Avoid dll duplicates!
2) Make sure to have the following line of code somewhere in your scripts, to run it 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.
4) iOS build settings (Edit->Project Settings->Player) 
   "iPhone Stripping Level" to "Strip Bytecode" and use 
   "DotNet 2.0 subset".
   If your project runs fine in IDE but fails on device, check the "DotNet 2.0 Subset" option!
5) Change the server address in the client. A default of "localhost:5055" won't work on device.
6) Implement OnApplicationQuit() and disconnect the client when the app stops.



Windows Phone Notes
----------------------------------------------------------------------------------------------------
To run demos on a smartphone or simulator, you need to setup your server's network address or 
use the Photon Cloud. 

We assume you run a Photon Server on the same development machine, so by default, our demos have a 
address set to "127.0.0.1:5055" and use UDP.
Demos for LoadBalancing or the Cloud will be set to: "app.exitgamescloud.com:5055" and use UDP.

Search the code and replace those values to run the demos on your own servers or in a simulator.
The Peer.Connect() method is usually used to set the server's address.

A smartphone has it's own IP address, so 127.0.0.1 will contact the phone instead of the machine 
that also runs Photon.



Xamarin Notes
----------------------------------------------------------------------------------------------------
Edit MainActivity.cs with your own AppId (approx. line 33). Read "Running Loadbalancing Demos".
Alternatively change the ServerAddress to a Photon Server you are hosting. Don't forget the ":port".

Our library dlls are fully Xamarin.iOS, Xamarin.Android and Xamarin.mac compatible, 
but the projects to build them are not. So you can't reference the LoadBalancingApi project 
directly.
Instead, we reference the dlls to minimize the number of projects to maintain and potential for 
desaster.

The demo particle links directly to some of the source files of demo-particle-logic for similar 
reasons.

Let us know if our workflow doesn't work for you.




Playstation Mobile Notes
----------------------------------------------------------------------------------------------------
The demo by default connects to the EU Photon Cloud servers. You only need to register to run your 
own application (game) on it. This gives you the AppId which must be inserted into:
demo-particle-psm\AppMain.cs
展開する 折りたたむ
SDKをダウンロード
v4.0.0.4
ドキュメント
Realtime ドキュメント
API ドキュメント
C#API
Xbox One SDK
Realtime

Xbox One SDK

ReadMe


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     - Loadbalancing specific 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.


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/.
展開する 折りたたむ
SDKをダウンロード
v4.1.8.0
ドキュメント
Realtime ドキュメント
API ドキュメント
C++API
Unity パッケージ
PUN

Photon PUN Unityアセット Unityに対応

Photon Unity Networking (PUN) は、Unity対応のマルチプレイ機能です:
コールバックやコンポーネントを使用して簡単にゲームオブジェクトを同期でき、リモートプロシージャーコール(RPC)ですぐに開始できます。より詳細に管理するには、強固な拡張APIをご利用いただけます。

または、Photon Unity .NET SDKをご利用ください。
Photon Unity .NET SDKのダウンロードはこちらから。

PUN FREE Unity Asset
PUN フリーではじめよう
Unity5.x Personal またはProの場合、すべてのプラットフォームをサポートしています。Unity4.xをご利用の場合、iOSとAndroid以外のプラットフォームでExportできます。

ドキュメント
PUN ドキュメント
API ドキュメント
PUN API

PUN+ Unity Asset
PUN プラスではじめよう
どのUnityバージョンをご利用でも全ての対応プラットフォームにエクスポートできます。また、Photon Realtime100CCUを利用できるライセンスも含まれています。

ドキュメント
PUN ドキュメント
API ドキュメント
PUN API

Powerのインディーシリーズ-弊社が発行し、パートナーが開発

VR Shooting Range このサンプルは、パッケージに含まれる無料PUN上で構築されたVRシューティングマルチプレイ・オンラインゲームの実装リファレンスです。主要なVRキットやハンドコントローラーに対応しています。

VRデモを入手する

PUN Rally PUN Rallyはマルチプレイヤー・レーシングゲームの完全な基盤です。このプロジェクトにはすべてのソースが含まれ、30ページ以上にわたる図解入りのチュートリアルブック(PDF)では、実際の物理的な性質、デッドレコニング、チェックポイントにもとづく位置などの重要な機能について説明しています。

PUN Rallyを入手

Sky Arena このチュートリアルでは、高速なペースの3D宇宙シューティングゲームの開発方法を説明します。動画のほか、ソースコードなどすべてのアセットが含まれています。ゲームオブジェクト、RPC、シーンオブジェクトおよびその他を同期する方法を習得しましょう。

SKY ARENAを入手

Photon Powerと連携する、厳選されたサードパーティーパッケージ

Playmaker Hearthstone やDreamfall Chaptersで使用されている強力なビジュアルスクリプトソリューションです。ゲームプレイのプロトタイプや人工知能動作、アニメーショングラフ、インタラクティブなオブジェクト、カットシーンやウォークスルーを容易に作成可能です。Photon Unity Networkingはマルチプレイヤー機能を強化します。

PLAYMAKERを入手

UFPS ファーストパーソンゲームをPhoton Cloudと連携するためのUFPS対応のアドオンです。    ラッパースクリプトのフレームワークで、UFPSとPhoton Unity Networkingの互換性を気にすることなくゲーム開発が可能です。

UFPSを入手

Switch PUN SDK
PUN

Switch PUN SDK

ReadMe


Photon Switch PUN Plugin SDK
------------------------------------------

You must be logged in and verified Nintendo Switch developer to download this PUN addon.

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


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

To get in touch with other Photon developers and our engineers, visit our Developer Forum:
https://forum.photonengine.com  
Keep yourself up to date following Exit Games on Twitter http://twitter.com/exitgames
and our blog at http://blog.photonengine.com/.
展開する 折りたたむ
SDKをダウンロード
v1.86
ドキュメント
https://doc.photonengine.com/ja-JP/pun/current/consoles/switch
API ドキュメント
Included in the package
Xbox One PUN SDK
PUN

Xbox One PUN SDK

ReadMe


Photon Xbox One PUN Plugin
------------------------------------------

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

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


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

To get in touch with other Photon developers and our engineers, visit our Developer Forum:
https://forum.photonengine.com  
Keep yourself up to date following Exit Games on Twitter http://twitter.com/exitgames
and our blog at http://blog.photonengine.com/.
展開する 折りたたむ
SDKをダウンロード
v1.87
その他のバージョン
Photon-XboxOne-PUN-Addon-rev4340-v1-86.zip
ドキュメント
https://doc.photonengine.com/ja-JP/pun/current/getting-started/xbox
API ドキュメント
Included in the package
Unity Asset
Bolt

Photon Bolt Unityに対応

Photon Bolt Unity Asset
購入する Bolt
BOLTはピアツーピアのネットワークエンジンです。Steam対応のゲームの場合、またSteamworksのネットワークリレーサービスを使用する場合やクライアントサーバー・アーキテクチャを構築する場合に推奨されます。強力なイベントシステム、オーソリテーティブな動作、mecanimレプリケーションなど豊富な機能が実現されます。

ドキュメント
Bolt ドキュメント
API ドキュメント
Bolt API

Unity Asset
Thunder

Photon Thunder Unityに対応

Photon Thunder Unity Asset
無料ダウンロード
Photon CloudでUnityのUNET APIを強化
あなたのUnityマルチプレイヤー(HLAPI)ゲーム にマッチメイキング、リレーサービスを追加しましょう。 シンプルな価格ですべてご提供します。

Unity Asset
TrueSync

Photon TrueSync Unityに対応

Photon TrueSync Unity Asset
購入する TrueSync
TrueSyncは完全同期アーキテクチャと独自の物理エンジンを搭載しています。このため、Unityマルチプレイヤーゲームの予測可能なゲーム状態が保持されます。 PUNの機能はすべて含まれます。

ドキュメント
TrueSync ドキュメント
API ドキュメント
TrueSync API

アンドロイド SDK
Chat

アンドロイド SDK

ReadMe


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

/doc                 - Release history, API documentation
/Chat-cpp            - Photon Chat sources
/Common-cpp          - common sources
/LoadBalancing-cpp   - Loadbalancing specific sources
/Photon-cpp          - common Photon 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/.



展開する 折りたたむ
SDKをダウンロード
v4.1.8.1
ドキュメント
Chat ドキュメント
API ドキュメント
C++API
Unity Asset
Chat

Photon Chat Unityアセット Unityに対応

Photon Chat の無料パッケージを使用すれば、 あなたのUnityのゲームに簡単にチャット機能を追加できます。 Photon Chatの柔軟なチャネルシステムを使えば、あなたのゲームに好きなだけチャットチャネルを設定できます。たとえばグローバルチャット、複数リージョンチャットなどと家族チャットの併用が可能です。 または、Photon Chat .NET SDKをお使いください。クライアントSDKを使用すれば、プログラマーはより詳細に管理できます。
Photon Chat .NET SDKのダウンロードはこちらから。

Photon Chat
CHATを無料で入手
マルチプレイヤー機能ではなくチャットが必要ですか?Photon Chatなら無料で簡単に追加できます。
Chatフリーは、PUNフリーとPUN Plusに含まれています。このパッケージは、PUN FreeとPUN Plusと併用しないでください。

ドキュメント
Chat ドキュメント

Chat UI
Chat UIを入手
簡単な手順で、強力なチャットシステムをアプリケーションに追加できます。タブ化されたチャネル、フローティングウィンドウ、エモーティコン、プライベートなメッセージなどの機能が装備されています。コーディングは不要で、ソースコードはすべて含まれています。UI要素やグラフィックはすべて、好みのスタイルに変更可能です。

Cocos2d-x SDK
Chat

Cocos2d-x SDK

ReadMe

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
アンドロイド , iOS , Windows
ドキュメント
Chat ドキュメント
API ドキュメント
C++API
Construct 2 SDK
Chat

Construct 2 SDK

ReadMe

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  



展開する 折りたたむ
SDKをダウンロード
v4.0.0.7
ドキュメント
Chat ドキュメント
API ドキュメント
JavaScriptAPI
Corona SDK
Chat

Corona SDK

ReadMe


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/.
展開する 折りたたむ
SDKをダウンロード
v4.0.0.2
ドキュメント
Chat ドキュメント
API ドキュメント
LuaAPI
.NET SDK
Chat

.NET SDK

ReadMe


This is the readme for the Photon Client SDKs.
(C) Exit Games GmbH 2016



LoadBalancing Documentation
----------------------------------------------------------------------------------------------------
The API reference is included in this package as CHM file.
Find the current manuals, tutorials, API reference and more online:
http://doc.photonengine.com



Running the Demos
----------------------------------------------------------------------------------------------------
Our demos are built for the Photon Cloud for convenience (no initial server setup needed).
The service is free for development and signing up is instant and without obligation.

Every game title on the Cloud gets it's own AppId string which must be copied into the clients.
The demos use a property "AppId" in the source files. Set it's value before you build them.

Sign In:             https://www.photonengine.com/en/Account/SignIn
AppId in Dashboard:  https://www.photonengine.com/dashboard

Each application type has it's own AppId (e.g Realtime and Chat).
You will find specific sections of the Dashboard per application type.


Alternatively you can host a "Photon Cloud" yourself. The AppId is not used in that case.
Download the server SDK here:
https://www.photonengine.com/OnPremise/Download

How to start the server:
http://doc.photonengine.com/en/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://www.photonengine.com/en/Chat/Dashboard

    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.
    It should run in most cases (unless your Photon assembly is very old).




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


We assume you're using Unity 5.x. 
The demos are prepared to export for Standalone, not WSA or other.

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


Currently supported export platforms are:
    Standalone (Windows, OSx and Linux)
    Web (Windows and MacOS)
    WebGL
    iOS         (Unity 4 needs iOS Pro Unity license)
    Android     (Unity 4 needs Android Pro Unity license)
    Windows Store 8.1 and 10    (including Phone and UWP with one library)
    PS3, PS4 and XBox           (certified developers should get in contact with us on demand)


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;


Web players do a policy-file request to port TCP 843 before they connect to a remote server.
The Photon Cloud and Server SDK will handle these requests.
If you host the server, open the additional "policy request" port: TCP 843. If you configure
your server applications, run "Policy Application" for webplayers.


How to add Photon to your Unity project:
1) The Unity SDK contains a "PhotonAssets" folder. 
   Copy the content of PhotonAssets\ 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.
4) iOS build settings (Edit->Project Settings->Player)
   "iPhone Stripping Level" to "Strip Bytecode" and use
   "DotNet 2.0 Subset".
5) If you host Photon, change the server address in the client. A default of "localhost:5055" won't work on device.
6) Implement OnApplicationQuit() and disconnect the client when the app stops.



Windows Store Notes
----------------------------------------------------------------------------------------------------
To run demos on a smartphone or simulator, you need to setup your server's network address or
use the Photon Cloud.

We assume you run a Photon Server on the same development machine, so by default, our demos have a
address set to "127.0.0.1:5055" and use UDP.
Demos for LoadBalancing or the Cloud will be set to: "ns.exitgames.com:5055" and use UDP.

Search the code and replace those values to run the demos on your own servers or in a simulator.
The Peer.Connect() method is usually used to set the server's address.

A smartphone has it's own IP address, so 127.0.0.1 will contact the phone instead of the machine
that also runs Photon.



展開する 折りたたむ
SDKをダウンロード
v4.1.1.17
ドキュメント
Chat ドキュメント
API ドキュメント
C#API
Emscripten SDK
Chat

Emscripten SDK

ReadMe


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

/Common-cpp          - common sources
/doc                 - Release history, API documentation
/LoadBalancing-cpp   - Loadbalancing specific 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/.
展開する 折りたたむ
SDKをダウンロード
v4.1.8.0
ドキュメント
Chat ドキュメント
API ドキュメント
C++API
iOS SDK
Chat

iOS SDK

ReadMe


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   - Loadbalancing specific sources
/LoadBalancing-objc  - Loadbalancing specific sources Objective-C
/Photon-cpp          - common Photon sources
/Photon-objc         - common Photon sources Objective-C
/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/.
展開する 折りたたむ
SDKをダウンロード
v4.1.8.0
ドキュメント
Chat ドキュメント
API ドキュメント
C++API , Objective CAPI
JavaScript SDK
Chat

JavaScript SDK

ReadMe

Photon Client Javascript SDK readme.
(C) Exit Games GmbH 2016


Overview 
----------------------------------------------------------------------------------------------------
The Photon Javascript library provides a simple to use framework to access the Photon Server
and the Photon Cloud. It works on many up to date browsers using either native WebSocket or 
a Flash plugin.
Cross platform communication is possible, so Javascript 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 SDK supports 2 APIs.


LoadBalancing API (Realtime and Turnbased)
----------------------------------------------------------------------------------------------------
LoadBalancing API allows to access Photon Cloud Realtime and Turnbased services as well as 
Photon Server LoadBalancing Application:
https://doc.photonengine.com/en/realtime/current/getting-started/realtime-intro
https://doc.photonengine.com/en/turnbased/current/getting-started/turnbased-intro
https://doc.photonengine.com/en/onpremise/current/reference/load-balancing


Chat API
----------------------------------------------------------------------------------------------------
Chat API allows to access Photon Chat service:
https://doc.photonengine.com/en/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/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


Package Contents
----------------------------------------------------------------------------------------------------
license.txt         - the license terms
install.txt         - installation info
readme.txt          - this readme text
release_history.txt - release history
/doc                - the Javascript API reference documentation
/lib                - the different versions of the lib
/src    
    /demo-loadbalancing     - basic Realtime application (Loadbalancing API) demo
    /demo-particle          - demo showing more of the Loadbalancing API's features
    /demo-pairs-mc          - Turnbased application demo
    /demo-chat-api          - demo showing Photon Chat API's features
    /Photon                 - library typescript source files
    PhotonWebsockets.sln    - Visual Studio solution file for samples typescript projects
                              (Typescript minimal version 1.0.0.0 required)
展開する 折りたたむ
SDKをダウンロード
v4.0.0.6
ドキュメント
Chat ドキュメント
API ドキュメント
JavaScriptAPI , TypeScriptAPI
Linux SDK
Chat

Linux SDK

ReadMe


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   - Loadbalancing specific sources
/Photon-cpp          - common Photon 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/.
展開する 折りたたむ
SDKをダウンロード
v4.1.8.0
ドキュメント
Chat ドキュメント
API ドキュメント
C++API
Mac OS X SDK
Chat

Mac OS X SDK

ReadMe


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, IPA documentation
/LoadBalancing-cpp   - Loadbalancing specific sources
/LoadBalancing-objc  - Loadbalancing specific sources Objective-C
/Photon-cpp          - common Photon sources
/Photon-objc         - common Photon sources Objective-C
/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/.
展開する 折りたたむ
SDKをダウンロード
v4.1.8.0
ドキュメント
Chat ドキュメント
API ドキュメント
C++API , Objective CAPI
PlayStation 4 SDK
Chat

PlayStation 4 SDK

ReadMe


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     - Loadbalancing specific sources
/Photon-cpp            - common Photon 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/.
展開する 折りたたむ
SDKをダウンロード
v4.1.8.0
ドキュメント
Chat ドキュメント
API ドキュメント
C++API
PS Vita SDK
Chat

PS Vita SDK

ReadMe


Photon PSVita 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     - Loadbalancing specific 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.


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/.
展開する 折りたたむ
SDKをダウンロード
v4.1.8.0
ドキュメント
Chat ドキュメント
API ドキュメント
C++API
Switch SDK
Chat

Switch SDK

ReadMe


Photon 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     - Loadbalancing specific 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.


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/.
展開する 折りたたむ
SDKをダウンロード
v4.1.8.0
ドキュメント
Chat ドキュメント
API ドキュメント
C++API
tvOS SDK
Chat

tvOS SDK

ReadMe


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       - Loadbalancing specific sources
/LoadBalancing-objc      - Loadbalancing specific sources Objective-C
/Photon-cpp              - common Photon sources
/Photon-objc             - common Photon sources Objective-C

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/.
展開する 折りたたむ
SDKをダウンロード
v4.1.8.0
ドキュメント
Chat ドキュメント
API ドキュメント
C++API , Objective CAPI
Unity SDK
Chat

Unity SDK

ReadMe


This is the readme for the Photon Client SDKs.
(C) Exit Games GmbH 2016



LoadBalancing Documentation
----------------------------------------------------------------------------------------------------
The API reference is included in this package as CHM file.
Find the current manuals, tutorials, API reference and more online:
http://doc.photonengine.com



Running the Demos
----------------------------------------------------------------------------------------------------
Our demos are built for the Photon Cloud for convenience (no initial server setup needed).
The service is free for development and signing up is instant and without obligation.

Every game title on the Cloud gets it's own AppId string which must be copied into the clients.
The demos use a property "AppId" in the source files. Set it's value before you build them.

Sign In:             https://www.photonengine.com/en/Account/SignIn
AppId in Dashboard:  https://www.photonengine.com/dashboard

Each application type has it's own AppId (e.g Realtime and Chat).
You will find specific sections of the Dashboard per application type.


Alternatively you can host a "Photon Cloud" yourself. The AppId is not used in that case.
Download the server SDK here:
https://www.photonengine.com/OnPremise/Download

How to start the server:
http://doc.photonengine.com/en/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://www.photonengine.com/en/Chat/Dashboard

    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.
    It should run in most cases (unless your Photon assembly is very old).




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


We assume you're using Unity 5.x. 
The demos are prepared to export for Standalone, not WSA or other.

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


Currently supported export platforms are:
    Standalone (Windows, OSx and Linux)
    Web (Windows and MacOS)
    WebGL
    iOS         (Unity 4 needs iOS Pro Unity license)
    Android     (Unity 4 needs Android Pro Unity license)
    Windows Store 8.1 and 10    (including Phone and UWP with one library)
    PS3, PS4 and XBox           (certified developers should get in contact with us on demand)


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;


Web players do a policy-file request to port TCP 843 before they connect to a remote server.
The Photon Cloud and Server SDK will handle these requests.
If you host the server, open the additional "policy request" port: TCP 843. If you configure
your server applications, run "Policy Application" for webplayers.


How to add Photon to your Unity project:
1) The Unity SDK contains a "PhotonAssets" folder. 
   Copy the content of PhotonAssets\ 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.
4) iOS build settings (Edit->Project Settings->Player)
   "iPhone Stripping Level" to "Strip Bytecode" and use
   "DotNet 2.0 Subset".
5) If you host Photon, change the server address in the client. A default of "localhost:5055" won't work on device.
6) Implement OnApplicationQuit() and disconnect the client when the app stops.



Windows Store Notes
----------------------------------------------------------------------------------------------------
To run demos on a smartphone or simulator, you need to setup your server's network address or
use the Photon Cloud.

We assume you run a Photon Server on the same development machine, so by default, our demos have a
address set to "127.0.0.1:5055" and use UDP.
Demos for LoadBalancing or the Cloud will be set to: "ns.exitgames.com:5055" and use UDP.

Search the code and replace those values to run the demos on your own servers or in a simulator.
The Peer.Connect() method is usually used to set the server's address.

A smartphone has it's own IP address, so 127.0.0.1 will contact the phone instead of the machine
that also runs Photon.



展開する 折りたたむ
SDKをダウンロード
v4.1.1.17
ドキュメント
Chat ドキュメント
API ドキュメント
C#API
Unreal Engine SDK
Chat

Unreal Engine SDK

ReadMe

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. 
展開する 折りたたむ
V-Play / Qt SDK
Chat

V-Play / Qt SDK

ドキュメント
Chat ドキュメント
API ドキュメント
JavaScriptAPI
Windows SDK
Chat

Windows SDK

ReadMe


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     - Loadbalancing specific sources
/Photon-cpp            - common Photon 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/.
展開する 折りたたむ
SDKをダウンロード
v4.1.8.0
ドキュメント
Chat ドキュメント
API ドキュメント
C++API
Windows Store SDK
Chat

Windows Store SDK

ReadMe


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     - Loadbalancing specific 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.
	
	
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/.
展開する 折りたたむ
SDKをダウンロード
v4.1.8.0
ドキュメント
Chat ドキュメント
API ドキュメント
C++API
Xamarin SDK
Chat

Xamarin SDK

ReadMe


This is the readme for the Photon Client SDKs.
(C) Exit Games GmbH 2014



Reference Documentation
----------------------------------------------------------------------------------------------------
The API reference is included in this package as CHM file.
Find the current API reference, manuals, tutorials and more online:
http://doc.exitgames.com



Running the Demos
----------------------------------------------------------------------------------------------------
Our demos are built for the Photon Cloud to reduce the effort to run them. No server setup needed.
The service is free for development and signing up takes less than 5 minutes.

Every game title on the Cloud gets it's own AppId string, which must be copied into the clients. 
The demos use a property "AppId" in the source files. Set it's value before you build them.

Sign Up:                https://cloud.exitgames.com
App ID in Dashboard:    https://cloud.exitgames.com/dashboard

The Application ID is per application type (Realtime, Turnbased, Chat)!
You will find specific sections of the Dashboard per application type.


Alternatively you can host a "Photon Cloud" yourself and use any AppId. This is what you need to do:
- Download the Photon Server SDK (it comes as 7zip file or self-extracting exe).
- Unpack-
- Execute PhotonControl.exe.
- Click "Game Server IP Config" and pick a suitable IP address (local network or public).
- This IP must be used in your game as (master) server address. Don't forget the port after ":".
- Click "Loadbalancing (MyCloud)" and "Start as Application".

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

Download the server SDK here:
https://www.exitgames.com/OnPremise/Download




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

Currently supported export platforms are: 
    Standalone (Windows, OSx and Linux)
    Web (Windows and MacOS)
    iOS (needs iOS Pro Unity license)
    Android (needs Android Pro Unity license)
    Windows 8 Store and Phone
    PS3, PS4 and XBox (certified developers should get in contact with us on demand)

As of v3.2.1.6 all Unity projects must use ExitGames.Client.Photon.Hashtable!
This provides compatibility with Win 8 RT and Win 8 Phone exports.
Add this to your code (at the beginning), to resolve the "ambiguous Hashtable" declaration:
using Hashtable = ExitGames.Client.Photon.Hashtable;

Web players do a policy-file request to port TCP 843 before they connect to a remote server. 
The Photon Cloud and Server SDK will handle these requests.
If you host the server, open the additional "policy request" port: TCP 843. If you configure
your server applications, run "Policy Application" for webplayers.


How to add Photon to your Unity project:
1) Copy the Photon .dll into the "Assets\Plugins" folder of your project. Avoid dll duplicates!
2) Make sure to have the following line of code somewhere in your scripts, to run it 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.
4) iOS build settings (Edit->Project Settings->Player) 
   "iPhone Stripping Level" to "Strip Bytecode" and use 
   "DotNet 2.0 subset".
   If your project runs fine in IDE but fails on device, check the "DotNet 2.0 Subset" option!
5) Change the server address in the client. A default of "localhost:5055" won't work on device.
6) Implement OnApplicationQuit() and disconnect the client when the app stops.



Windows Phone Notes
----------------------------------------------------------------------------------------------------
To run demos on a smartphone or simulator, you need to setup your server's network address or 
use the Photon Cloud. 

We assume you run a Photon Server on the same development machine, so by default, our demos have a 
address set to "127.0.0.1:5055" and use UDP.
Demos for LoadBalancing or the Cloud will be set to: "app.exitgamescloud.com:5055" and use UDP.

Search the code and replace those values to run the demos on your own servers or in a simulator.
The Peer.Connect() method is usually used to set the server's address.

A smartphone has it's own IP address, so 127.0.0.1 will contact the phone instead of the machine 
that also runs Photon.



Xamarin Notes
----------------------------------------------------------------------------------------------------
Edit MainActivity.cs with your own AppId (approx. line 33). Read "Running Loadbalancing Demos".
Alternatively change the ServerAddress to a Photon Server you are hosting. Don't forget the ":port".

Our library dlls are fully Xamarin.iOS, Xamarin.Android and Xamarin.mac compatible, 
but the projects to build them are not. So you can't reference the LoadBalancingApi project 
directly.
Instead, we reference the dlls to minimize the number of projects to maintain and potential for 
desaster.

The demo particle links directly to some of the source files of demo-particle-logic for similar 
reasons.

Let us know if our workflow doesn't work for you.




Playstation Mobile Notes
----------------------------------------------------------------------------------------------------
The demo by default connects to the EU Photon Cloud servers. You only need to register to run your 
own application (game) on it. This gives you the AppId which must be inserted into:
demo-particle-psm\AppMain.cs
展開する 折りたたむ
SDKをダウンロード
v4.0.0.4
ドキュメント
Chat ドキュメント
API ドキュメント
C#API
Xbox One SDK
Chat

Xbox One SDK

ReadMe


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     - Loadbalancing specific 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.


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/.
展開する 折りたたむ
SDKをダウンロード
v4.1.8.0
ドキュメント
Chat ドキュメント
API ドキュメント
C++API
PlayStation 4 Voice SDK
Voice

PlayStation 4 Voice SDK

ReadMe


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/.
展開する 折りたたむ
SDKをダウンロード
v4.0.0.0
ドキュメント
Voice ドキュメント
API ドキュメント
C#API
Unity Asset
Voice

Photon Voice Unityに対応

Photon Voice Unity Asset
VOICEを無料で入手
大規模なリアルタイムVoice ChatをUnityのマルチプレイヤーゲームに追加しよう! Photon Voiceはプレイヤー同士のコミュニケーションにボイスチャットを使用しているアプリケーションに最適なアドオンです。

ドキュメント
Voice ドキュメント

アンドロイド SDK
On-Premises

アンドロイド SDK

ReadMe


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

/doc                 - Release history, API documentation
/Chat-cpp            - Photon Chat sources
/Common-cpp          - common sources
/LoadBalancing-cpp   - Loadbalancing specific sources
/Photon-cpp          - common Photon 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/.



展開する 折りたたむ
SDKをダウンロード
v4.1.8.1
ドキュメント
Server ドキュメント
API ドキュメント
C++API
Cocos2d-x SDK
On-Premises

Cocos2d-x SDK

ReadMe

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
アンドロイド , iOS , Windows
ドキュメント
Server ドキュメント
API ドキュメント
C++API
Construct 2 SDK
On-Premises

Construct 2 SDK

ReadMe

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  



展開する 折りたたむ
SDKをダウンロード
v4.0.0.7
ドキュメント
Server ドキュメント
API ドキュメント
JavaScriptAPI
Corona SDK
On-Premises

Corona SDK

ReadMe


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/.
展開する 折りたたむ
SDKをダウンロード
v4.0.0.2
ドキュメント
Server ドキュメント
API ドキュメント
LuaAPI
.NET SDK
On-Premises

.NET SDK

ReadMe


This is the readme for the Photon Client SDKs.
(C) Exit Games GmbH 2016



LoadBalancing Documentation
----------------------------------------------------------------------------------------------------
The API reference is included in this package as CHM file.
Find the current manuals, tutorials, API reference and more online:
http://doc.photonengine.com



Running the Demos
----------------------------------------------------------------------------------------------------
Our demos are built for the Photon Cloud for convenience (no initial server setup needed).
The service is free for development and signing up is instant and without obligation.

Every game title on the Cloud gets it's own AppId string which must be copied into the clients.
The demos use a property "AppId" in the source files. Set it's value before you build them.

Sign In:             https://www.photonengine.com/en/Account/SignIn
AppId in Dashboard:  https://www.photonengine.com/dashboard

Each application type has it's own AppId (e.g Realtime and Chat).
You will find specific sections of the Dashboard per application type.


Alternatively you can host a "Photon Cloud" yourself. The AppId is not used in that case.
Download the server SDK here:
https://www.photonengine.com/OnPremise/Download

How to start the server:
http://doc.photonengine.com/en/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://www.photonengine.com/en/Chat/Dashboard

    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.
    It should run in most cases (unless your Photon assembly is very old).




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


We assume you're using Unity 5.x. 
The demos are prepared to export for Standalone, not WSA or other.

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


Currently supported export platforms are:
    Standalone (Windows, OSx and Linux)
    Web (Windows and MacOS)
    WebGL
    iOS         (Unity 4 needs iOS Pro Unity license)
    Android     (Unity 4 needs Android Pro Unity license)
    Windows Store 8.1 and 10    (including Phone and UWP with one library)
    PS3, PS4 and XBox           (certified developers should get in contact with us on demand)


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;


Web players do a policy-file request to port TCP 843 before they connect to a remote server.
The Photon Cloud and Server SDK will handle these requests.
If you host the server, open the additional "policy request" port: TCP 843. If you configure
your server applications, run "Policy Application" for webplayers.


How to add Photon to your Unity project:
1) The Unity SDK contains a "PhotonAssets" folder. 
   Copy the content of PhotonAssets\ 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.
4) iOS build settings (Edit->Project Settings->Player)
   "iPhone Stripping Level" to "Strip Bytecode" and use
   "DotNet 2.0 Subset".
5) If you host Photon, change the server address in the client. A default of "localhost:5055" won't work on device.
6) Implement OnApplicationQuit() and disconnect the client when the app stops.



Windows Store Notes
----------------------------------------------------------------------------------------------------
To run demos on a smartphone or simulator, you need to setup your server's network address or
use the Photon Cloud.

We assume you run a Photon Server on the same development machine, so by default, our demos have a
address set to "127.0.0.1:5055" and use UDP.
Demos for LoadBalancing or the Cloud will be set to: "ns.exitgames.com:5055" and use UDP.

Search the code and replace those values to run the demos on your own servers or in a simulator.
The Peer.Connect() method is usually used to set the server's address.

A smartphone has it's own IP address, so 127.0.0.1 will contact the phone instead of the machine
that also runs Photon.



展開する 折りたたむ
SDKをダウンロード
v4.1.1.17
ドキュメント
Server ドキュメント
API ドキュメント
C#API
Emscripten SDK
On-Premises

Emscripten SDK

ReadMe


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

/Common-cpp          - common sources
/doc                 - Release history, API documentation
/LoadBalancing-cpp   - Loadbalancing specific 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/.
展開する 折りたたむ
SDKをダウンロード
v4.1.8.0
ドキュメント
Server ドキュメント
API ドキュメント
C++API
iOS SDK
On-Premises

iOS SDK

ReadMe


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   - Loadbalancing specific sources
/LoadBalancing-objc  - Loadbalancing specific sources Objective-C
/Photon-cpp          - common Photon sources
/Photon-objc         - common Photon sources Objective-C
/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/.
展開する 折りたたむ
SDKをダウンロード
v4.1.8.0
ドキュメント
Server ドキュメント
API ドキュメント
C++API , Objective CAPI
JavaScript SDK
On-Premises

JavaScript SDK

ReadMe

Photon Client Javascript SDK readme.
(C) Exit Games GmbH 2016


Overview 
----------------------------------------------------------------------------------------------------
The Photon Javascript library provides a simple to use framework to access the Photon Server
and the Photon Cloud. It works on many up to date browsers using either native WebSocket or 
a Flash plugin.
Cross platform communication is possible, so Javascript 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 SDK supports 2 APIs.


LoadBalancing API (Realtime and Turnbased)
----------------------------------------------------------------------------------------------------
LoadBalancing API allows to access Photon Cloud Realtime and Turnbased services as well as 
Photon Server LoadBalancing Application:
https://doc.photonengine.com/en/realtime/current/getting-started/realtime-intro
https://doc.photonengine.com/en/turnbased/current/getting-started/turnbased-intro
https://doc.photonengine.com/en/onpremise/current/reference/load-balancing


Chat API
----------------------------------------------------------------------------------------------------
Chat API allows to access Photon Chat service:
https://doc.photonengine.com/en/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/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


Package Contents
----------------------------------------------------------------------------------------------------
license.txt         - the license terms
install.txt         - installation info
readme.txt          - this readme text
release_history.txt - release history
/doc                - the Javascript API reference documentation
/lib                - the different versions of the lib
/src    
    /demo-loadbalancing     - basic Realtime application (Loadbalancing API) demo
    /demo-particle          - demo showing more of the Loadbalancing API's features
    /demo-pairs-mc          - Turnbased application demo
    /demo-chat-api          - demo showing Photon Chat API's features
    /Photon                 - library typescript source files
    PhotonWebsockets.sln    - Visual Studio solution file for samples typescript projects
                              (Typescript minimal version 1.0.0.0 required)
展開する 折りたたむ
SDKをダウンロード
v4.0.0.6
ドキュメント
Server ドキュメント
API ドキュメント
JavaScriptAPI , TypeScriptAPI
Linux SDK
On-Premises

Linux SDK

ReadMe


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   - Loadbalancing specific sources
/Photon-cpp          - common Photon 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/.
展開する 折りたたむ
SDKをダウンロード
v4.1.8.0
ドキュメント
Server ドキュメント
API ドキュメント
C++API
Mac OS X SDK
On-Premises

Mac OS X SDK

ReadMe


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, IPA documentation
/LoadBalancing-cpp   - Loadbalancing specific sources
/LoadBalancing-objc  - Loadbalancing specific sources Objective-C
/Photon-cpp          - common Photon sources
/Photon-objc         - common Photon sources Objective-C
/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/.
展開する 折りたたむ
SDKをダウンロード
v4.1.8.0
ドキュメント
Server ドキュメント
API ドキュメント
C++API , Objective CAPI
PlayStation 4 SDK
On-Premises

PlayStation 4 SDK

ReadMe


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     - Loadbalancing specific sources
/Photon-cpp            - common Photon 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/.
展開する 折りたたむ
SDKをダウンロード
v4.1.8.0
ドキュメント
Server ドキュメント
API ドキュメント
C++API
PS Vita SDK
On-Premises

PS Vita SDK

ReadMe


Photon PSVita 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     - Loadbalancing specific 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.


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/.
展開する 折りたたむ
SDKをダウンロード
v4.1.8.0
ドキュメント
Server ドキュメント
API ドキュメント
C++API
Plugin SDK
On-Premises

Plugin SDK

ReadMe

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.
展開する 折りたたむ
SDKをダウンロード
v4.0.29.11263
ドキュメント
Server ドキュメント
API ドキュメント
C#API
Server SDK
On-Premises

Server SDK

ReadMe

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.
展開する 折りたたむ
SDKをダウンロード
v4.0.29.11263
その他のバージョン
Photon-Server-SDK_v3-4-31-10808.exe
ドキュメント
SDK Docs , Requirements
API ドキュメント
C#API
Switch SDK
On-Premises

Switch SDK

ReadMe


Photon 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     - Loadbalancing specific 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.


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/.
展開する 折りたたむ
SDKをダウンロード
v4.1.8.0
ドキュメント
Server ドキュメント
API ドキュメント
C++API
tvOS SDK
On-Premises

tvOS SDK

ReadMe


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       - Loadbalancing specific sources
/LoadBalancing-objc      - Loadbalancing specific sources Objective-C
/Photon-cpp              - common Photon sources
/Photon-objc             - common Photon sources Objective-C

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/.
展開する 折りたたむ
SDKをダウンロード
v4.1.8.0
ドキュメント
Server ドキュメント
API ドキュメント
C++API , Objective CAPI
Unity SDK
On-Premises

Unity SDK

ReadMe


This is the readme for the Photon Client SDKs.
(C) Exit Games GmbH 2016



LoadBalancing Documentation
----------------------------------------------------------------------------------------------------
The API reference is included in this package as CHM file.
Find the current manuals, tutorials, API reference and more online:
http://doc.photonengine.com



Running the Demos
----------------------------------------------------------------------------------------------------
Our demos are built for the Photon Cloud for convenience (no initial server setup needed).
The service is free for development and signing up is instant and without obligation.

Every game title on the Cloud gets it's own AppId string which must be copied into the clients.
The demos use a property "AppId" in the source files. Set it's value before you build them.

Sign In:             https://www.photonengine.com/en/Account/SignIn
AppId in Dashboard:  https://www.photonengine.com/dashboard

Each application type has it's own AppId (e.g Realtime and Chat).
You will find specific sections of the Dashboard per application type.


Alternatively you can host a "Photon Cloud" yourself. The AppId is not used in that case.
Download the server SDK here:
https://www.photonengine.com/OnPremise/Download

How to start the server:
http://doc.photonengine.com/en/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://www.photonengine.com/en/Chat/Dashboard

    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.
    It should run in most cases (unless your Photon assembly is very old).




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


We assume you're using Unity 5.x. 
The demos are prepared to export for Standalone, not WSA or other.

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


Currently supported export platforms are:
    Standalone (Windows, OSx and Linux)
    Web (Windows and MacOS)
    WebGL
    iOS         (Unity 4 needs iOS Pro Unity license)
    Android     (Unity 4 needs Android Pro Unity license)
    Windows Store 8.1 and 10    (including Phone and UWP with one library)
    PS3, PS4 and XBox           (certified developers should get in contact with us on demand)


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;


Web players do a policy-file request to port TCP 843 before they connect to a remote server.
The Photon Cloud and Server SDK will handle these requests.
If you host the server, open the additional "policy request" port: TCP 843. If you configure
your server applications, run "Policy Application" for webplayers.


How to add Photon to your Unity project:
1) The Unity SDK contains a "PhotonAssets" folder. 
   Copy the content of PhotonAssets\ 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.
4) iOS build settings (Edit->Project Settings->Player)
   "iPhone Stripping Level" to "Strip Bytecode" and use
   "DotNet 2.0 Subset".
5) If you host Photon, change the server address in the client. A default of "localhost:5055" won't work on device.
6) Implement OnApplicationQuit() and disconnect the client when the app stops.



Windows Store Notes
----------------------------------------------------------------------------------------------------
To run demos on a smartphone or simulator, you need to setup your server's network address or
use the Photon Cloud.

We assume you run a Photon Server on the same development machine, so by default, our demos have a
address set to "127.0.0.1:5055" and use UDP.
Demos for LoadBalancing or the Cloud will be set to: "ns.exitgames.com:5055" and use UDP.

Search the code and replace those values to run the demos on your own servers or in a simulator.
The Peer.Connect() method is usually used to set the server's address.

A smartphone has it's own IP address, so 127.0.0.1 will contact the phone instead of the machine
that also runs Photon.



展開する 折りたたむ
SDKをダウンロード
v4.1.1.17
ドキュメント
Server ドキュメント
API ドキュメント
C#API
Unreal Engine SDK
On-Premises

Unreal Engine SDK

ReadMe

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. 
展開する 折りたたむ
V-Play / Qt SDK
On-Premises

V-Play / Qt SDK

ドキュメント
Server ドキュメント
API ドキュメント
JavaScriptAPI
Windows SDK
On-Premises

Windows SDK

ReadMe


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     - Loadbalancing specific sources
/Photon-cpp            - common Photon 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/.
展開する 折りたたむ
SDKをダウンロード
v4.1.8.0
ドキュメント
Server ドキュメント
API ドキュメント
C++API
Windows Store SDK
On-Premises

Windows Store SDK

ReadMe


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     - Loadbalancing specific 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.
	
	
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/.
展開する 折りたたむ
SDKをダウンロード
v4.1.8.0
ドキュメント
Server ドキュメント
API ドキュメント
C++API
Xamarin SDK
On-Premises

Xamarin SDK

ReadMe


This is the readme for the Photon Client SDKs.
(C) Exit Games GmbH 2014



Reference Documentation
----------------------------------------------------------------------------------------------------
The API reference is included in this package as CHM file.
Find the current API reference, manuals, tutorials and more online:
http://doc.exitgames.com



Running the Demos
----------------------------------------------------------------------------------------------------
Our demos are built for the Photon Cloud to reduce the effort to run them. No server setup needed.
The service is free for development and signing up takes less than 5 minutes.

Every game title on the Cloud gets it's own AppId string, which must be copied into the clients. 
The demos use a property "AppId" in the source files. Set it's value before you build them.

Sign Up:                https://cloud.exitgames.com
App ID in Dashboard:    https://cloud.exitgames.com/dashboard

The Application ID is per application type (Realtime, Turnbased, Chat)!
You will find specific sections of the Dashboard per application type.


Alternatively you can host a "Photon Cloud" yourself and use any AppId. This is what you need to do:
- Download the Photon Server SDK (it comes as 7zip file or self-extracting exe).
- Unpack-
- Execute PhotonControl.exe.
- Click "Game Server IP Config" and pick a suitable IP address (local network or public).
- This IP must be used in your game as (master) server address. Don't forget the port after ":".
- Click "Loadbalancing (MyCloud)" and "Start as Application".

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

Download the server SDK here:
https://www.exitgames.com/OnPremise/Download




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

Currently supported export platforms are: 
    Standalone (Windows, OSx and Linux)
    Web (Windows and MacOS)
    iOS (needs iOS Pro Unity license)
    Android (needs Android Pro Unity license)
    Windows 8 Store and Phone
    PS3, PS4 and XBox (certified developers should get in contact with us on demand)

As of v3.2.1.6 all Unity projects must use ExitGames.Client.Photon.Hashtable!
This provides compatibility with Win 8 RT and Win 8 Phone exports.
Add this to your code (at the beginning), to resolve the "ambiguous Hashtable" declaration:
using Hashtable = ExitGames.Client.Photon.Hashtable;

Web players do a policy-file request to port TCP 843 before they connect to a remote server. 
The Photon Cloud and Server SDK will handle these requests.
If you host the server, open the additional "policy request" port: TCP 843. If you configure
your server applications, run "Policy Application" for webplayers.


How to add Photon to your Unity project:
1) Copy the Photon .dll into the "Assets\Plugins" folder of your project. Avoid dll duplicates!
2) Make sure to have the following line of code somewhere in your scripts, to run it 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.
4) iOS build settings (Edit->Project Settings->Player) 
   "iPhone Stripping Level" to "Strip Bytecode" and use 
   "DotNet 2.0 subset".
   If your project runs fine in IDE but fails on device, check the "DotNet 2.0 Subset" option!
5) Change the server address in the client. A default of "localhost:5055" won't work on device.
6) Implement OnApplicationQuit() and disconnect the client when the app stops.



Windows Phone Notes
----------------------------------------------------------------------------------------------------
To run demos on a smartphone or simulator, you need to setup your server's network address or 
use the Photon Cloud. 

We assume you run a Photon Server on the same development machine, so by default, our demos have a 
address set to "127.0.0.1:5055" and use UDP.
Demos for LoadBalancing or the Cloud will be set to: "app.exitgamescloud.com:5055" and use UDP.

Search the code and replace those values to run the demos on your own servers or in a simulator.
The Peer.Connect() method is usually used to set the server's address.

A smartphone has it's own IP address, so 127.0.0.1 will contact the phone instead of the machine 
that also runs Photon.



Xamarin Notes
----------------------------------------------------------------------------------------------------
Edit MainActivity.cs with your own AppId (approx. line 33). Read "Running Loadbalancing Demos".
Alternatively change the ServerAddress to a Photon Server you are hosting. Don't forget the ":port".

Our library dlls are fully Xamarin.iOS, Xamarin.Android and Xamarin.mac compatible, 
but the projects to build them are not. So you can't reference the LoadBalancingApi project 
directly.
Instead, we reference the dlls to minimize the number of projects to maintain and potential for 
desaster.

The demo particle links directly to some of the source files of demo-particle-logic for similar 
reasons.

Let us know if our workflow doesn't work for you.




Playstation Mobile Notes
----------------------------------------------------------------------------------------------------
The demo by default connects to the EU Photon Cloud servers. You only need to register to run your 
own application (game) on it. This gives you the AppId which must be inserted into:
demo-particle-psm\AppMain.cs
展開する 折りたたむ
SDKをダウンロード
v4.0.0.4
ドキュメント
Server ドキュメント
API ドキュメント
C#API
Xbox One SDK
On-Premises

Xbox One SDK

ReadMe


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     - Loadbalancing specific 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.


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/.
展開する 折りたたむ
SDKをダウンロード
v4.1.8.0
ドキュメント
Server ドキュメント
API ドキュメント
C++API

Photonアートワーク

インディーズライセンスを利用されている場合、アプリケーション内のクレジットやスプラッシュ画面に目立つ形でPhotonロゴを入れていただく必要があります。その他の部分にもぜひ挿入していただければ幸いです。

Photonアートワークのダウンロードはこちら。


Q & A

コメントやご意見がございましたら、 電子メール にてご連絡ください。速やかにご回答いたします。

質問 をお待ちしております。 https://support.photonengine.jp/hc/ja/ .
ドキュメント はこちらのリンクから入手可能です。 https://doc.photonengine.com/ja-JP/realtime/current/ .
アップデート情報 はtwitter経由で、定期的にお知らせします。 https://twitter.com/exitgames .