メインコンテンツにスキップ

シンプルで信頼のおける
Unity向けマルチプレイヤー

PUNはUnity向けに作られた状態転送マルチプレイヤーSDKです。星5つの高評価を誇りし、Unityで『もっともダウンロードされたアセット』として表彰されています。

Evolution

FusionはPUNを
革命的に飛躍させたもの
です。

Fusionの機能性・性能の高さにより状態転送マルチプレイヤーエンジン界に、新しいベンチマークが樹立されました。今後の新しいプロジェクトでは、Fusionをご利用になり、素晴らしく飛躍した技術をご活用ください。

Photon Unity Networkingについて学習し、これを使った構築のために、コミュニティの皆さんが費やしてきた時間や努力に敬意と感謝を表します。PUNは今後もサポートを継続し、稼働中または開発中のプロジェクトの安全が守られ、サポートが受けられる環境を確保しています。

PUN 特徴

PUN and its community has been instrumental in shaping the landscape for multiplayer game development for over a decade. Its basic, but robust feature set helped developers from all over the world to build and scale their games to global success.

PUN

2011

Fusion

2021

セッションごとのターゲットプレイヤー数 16 200
リアルタイムトランスポートレイヤー:
マッチメイキング、低いレイテンシーリレー
プレビルド機能:
関心領域(AOI)、ネットワークアニメータ、ネットワークKCC、ネットワーク物理アドオン
RPC、ステートレプリケーション
パフォーマンスと帯域幅
ティックベースシミュレーション
フルワールド、クライアントサイド予測
ラグ補正
スナップショット挿入
強整合性または結果整合性
ダウンロード

Photon Unity Networking
アセットストアパッケージ

PUN Free

Unity5.x Personal またはProの場合、すべてのプラットフォームをサポートしています。Unity4.xをご利用の場合、iOSとAndroid以外のプラットフォームでエキスポートできます。

PUN Plus

どのUnityバージョンをご利用でも全ての対応プラットフォームにエキスポートできます。また、Photon Realtime100CCUを利用できるライセンスも含まれています。 Just $95

TOPアセット

PUNとの統合を簡単に

弊社およびサードパーティー作成のPhotonパッケージ対応アセットを検索

Playmaker UFPS Highroad Engine Tanks Multiplayer

あなたのゲームを世界へ

当社のPhoton製品を使用して構築したアプリケーションは、すべてPhoton Cloud上で動きます。サービスホスティング、オペレーション、スケール調整などもこちらで行います。お客様がすることは、ゲームやアプリの構築へ集中することのみです!

Photon

Photon Sharedモード -
ユニークでコスト効率の良いモード

In a nutshell the Photon Enterprise Cloud is like our well established public Photon Cloud and adds the following features: Runs on dedicated servers, provides guaranteed service levels (SLAs) and high priority support. Another big plus: You can run your own authoritative server logic via Plug-ins. Typical Photon Enterprise Cloud scenarios are apps with 10,000 concurrent users or more, bigger game projects that need authoritative server logic or companies whose compliance policies restrict them to dedicated resources.

お問合せはこちら: [email protected].

カスタムプラグイン -
当社クラウド内でのサーバーオーソリティ

All Photon Cloud products are based on a client to server architecture, the most stable solution for multiplayer games! In peer-to-peer architectures clients often cannot connect due to NAT punch-through issues. This problem is even worse in mobile networks. With the Photon Cloud your games will always connect.
Our operations team monitors servers 24/7 and can scale up required resources at any time. Whether your game needs capacity for hundreds or for hundreds of thousands of concurrent users: we scale it to your demands.

PHOTON CLOUDリージョン

プレイヤーのことを考えた低レイテンシ ゲーミング

リアルタイムのマルチプレイヤーゲームにおいて、レイテンシが低いことは欠かせない条件です。この観点から、世界中の主要なリージョンでPhoton Cloudがホスティングされ、プレイヤーのレイテンシを最小限まで抑えています。
FPSまたはRTSなどのゲームタイプではレイテンシの低さを重要していることから、最も近くのリージョンにいるプレイヤーを繋ぎます。レイテンシが高くなっても処理できるターンゲーム系のゲームでは同一リージョン内ですべてのプレイヤーを繋ぐことができます。

利用可能なリージョンと、セットアップ手順はこちらを参照してください。

World
UNET

PUN
コード例

Photon Unity Networking (PUN) re-implements and enhances the features of Unity’s built-in networking. Under the hood, it uses Photon’s features to communicate and match players. The API is very similar to Unity’s. Developers with prior networking experience in Unity will feel at home immediately. An automatic converter assists you porting existing Unity multiplayer projects.

Controller

接続をする


                            PhotonNetwork.ConnectUsingSettings("1.0");
                            

Connecting our loadbalanced servers is as easy. You can use the passed in string to distinguish between versions or use it to group clients. ロードバランシングされたサーバーへの接続は簡単です。渡された文字列を使ってバージョンを区別したり、クライアントをグループ化するために使うことができます。

ゲームに参加する


                            PhotonNetwork.JoinRandomRoom("1.0");
                            

To join any existing game (often referred to as room as well) that is all it takes. Filters for max amount of players and game specific criteria are optionally passed in. 既存のゲーム(ルームとも言います)に参加するにはこれだけでOKです。最大プレイヤー数やゲームに特化した基準のフィルタもオプションで渡すことができます。

ゲームを作成する


                            public void OnConnectedToMaster()
                            {
                                PhotonNetwork.CreateRoom("Room42", true, true, 4);
                            }
                            

Set up a new room using CreateRoom. Hand it over the room’s name, the room’s ability to be found by others, the option for others to join in and the max player count.

マルチプレイヤーゲームをスタートする


                            PhotonNetwork.RaiseEvent( (byte) eventCode,
                                (object) eventContent,
                                (bool) sendReliable
                            );
                            

ゲーム内データを交換したり、リモートオブジェクトプロパティを設定する e.a それらをRPCで送る。

さらにサンプルやクイックスタートガイド、デモ、参考ドキュメントなどをお求めの方はPhoton PUNの オンラインドキュメント サービス Photon PUN.

Freeパッケージをダウンロードください!

仲間がたくさんいます。
80万人規模のデベロッパーやスタジオが加入

  • Recroom
  • Spatial
  • VW
  • Tacx

Photon Cloudにホスティングされている849,933件のアプリのうち、一部のタイトルを紹介します。

Frag
Phantasmophobia
Gorilla Tag
Golfclash
Recroom
Stumbleguys
The Tan
VR Chat