# Photon Network

{% hint style="danger" %}
**Having troubles?** Join our channel in Game Creator's [**Discord server**](https://discordapp.com/invite/u2K64A7) for realtime discussions.
{% endhint %}

This is a module made for **Game Creator** that seamlessly integrates **Photon Unity Networking** and allows you to have networking in your game with just few clicks and without writing a single line of code.

![(Preview of character attachments and movement network synchronization)](https://3895715781-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LDchaEIEhpBAh2gCe06%2Fuploads%2Fgit-blob-28b0517cfb85cb66ea67d5042af78a302506409b%2Fphoton-attachments.gif?alt=media)

{% hint style="info" %}
To learn more about [Photon Unity Networking](https://doc.photonengine.com/en-us/pun/current/demos-and-tutorials/pun-basics-tutorial/intro) head out to their [website](https://doc.photonengine.com/en-us/pun/current/demos-and-tutorials/pun-basics-tutorial/intro).
{% endhint %}

{% hint style="success" %}
Try the [**Demo**](http://bit.ly/2zrSreo) now!
{% endhint %}

## Key features <a href="#key-features" id="key-features"></a>

* Complete **Character's synchronization** (Position, rotation, speed, jump etc.)
* Full control of **Player Properties** and **Room Properties** via actions.
* **Synchronize Actions** with a single click.
* Character **Attachments** synchronization.
* Cached prefab list editor, easily add prefabs for Network instantiation.
* Item **pickup system**. Useful for power-ups or Game Creator's **Inventory** or **Quest** module.
* Packed with **Actions** and **Conditions** that can be used on any other Game Creator module.
* Built-in editor **debugging tools** to see connection status, player properties, room properties and more.

{% hint style="success" %}
All actions and conditions are compatible with other Game Creator modules.
{% endhint %}

## Setup <a href="#setup" id="setup"></a>

You can get **Photon Unity Networking** from [**here**](https://www.assetstore.unity3d.com/en/#!/content/1786).

Download the package from the [**Unity Asset Store**](http://bit.ly/2N8vLmY). You'll first need to have Game Creator and Photon Unity Networking installed.

Then, bring up the *Module Manager Window* and click the Photon's **Enable** button.

{% hint style="danger" %}
This module requires [**Game Creator**](https://www.assetstore.unity3d.com/en/#!/content/89443) and [**Photon Unity Network 2**](https://assetstore.unity.com/packages/tools/network/pun-2-free-119922) and won't work without it. Don't attempt to extract the package inside the Plugins/ folder as it will throw some errors.
{% endhint %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.ninjutsugames.com/game-creator-1/photon-network.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
