Photon

デモを実行してみる。いくつかデモがあるがチャットとかわかりやすそうではある。

  • コマンドラインにひたすらログが流れる。
    何を意味しているのかさっぱり分からない。そもそも1台でしか起動していないこのデモで誰と何をチャットしてるのか?怖い
  • とりあえずAPPIDを入れておかなければエラーになることだけは分かった。

次にパーティクルというデモを実行してみる。派手な画面を期待したけれども、やっぱりコマンドラインでログが流れるだけ。シンプルでいいんだけど、なんともわかりにくいな

とりあえずプログラムを追いかけてみるしかなさそう。

Photon Windows SDK


Photon is the world's #1 independent networking engine and multiplayer platform — Fast, reliable, scalable.
Photonは、世界でも第1位の独立したネットワークエンジンとマルチプレイヤープラットフォームです - 高速で信頼性が高く拡張性があります。

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.

Photon Windows SDKを使用すると、ゲームにマルチプレイヤーを簡単に追加できます。
グローバルなPhoton Cloudでそれらを実行するか、独自のPhoton Serverをホストします。
プレーヤを共有ゲームセッション(「ルーム」と呼ばれます)に合わせて、プラットフォーム間で接続されたプレーヤ間でメッセージをリアルタイムで同期して転送します。
すべてのクライアントSDKは、iOS、Android、Web、コンソール、またはスタンドアロンのいずれであっても相互にやりとりできます。

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.
	デモクライアントは基本的な「Hello World」です。したがって、SDKを初めてお使いの方には最適な場所です。
	/demo_chat:
	The demo shows a basic way of using the Photon Chat API.
	このデモでは、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.
	このデモでは、ゲームのメモリ内にあるPhotonの非同期ターンベースの機能を表示します。これは、Cocos2D-xグラフィックエンジンを使用します。
	
	/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.
	このデモでは、Photonのシリアライズ可能なデータ型の使い方を表示します。

Contact


To get in touch with other Photon developers and our engineers, visit our Developer Forum:
他のPhoton開発者やエンジニアと連絡を取るには、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/.