# Photon Module 2

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

{% embed url="https://www.youtube.com/watch?v=jdfM36jOYlA" %}

{% 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**](https://hjupter.itch.io/photon-module-2-game-creator-2) 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**](https://u3d.as/31Vd). \
You'll first need to have Game Creator 2 and Photon Unity Networking 2 installed.

Then, bring up the _Game Creator Install Window_ select the Photon Core package and install it.

{% hint style="danger" %}
This module requires [**Game Creator 2**](https://assetstore.unity.com/packages/tools/game-toolkits/game-creator-2-203069) 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 %}

<figure><img src="https://3895715781-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LDchaEIEhpBAh2gCe06%2Fuploads%2Fsk4xmoPzRqS7UlPcnjcf%2Fimage.png?alt=media&#x26;token=f4ab7735-72ab-487d-ba90-4226cd707a55" alt=""><figcaption></figcaption></figure>

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