This document is about: PUN 2
SWITCH TO

PUN Classic (v1), PUN 2 and Bolt are in maintenance mode. PUN 2 will support Unity 2019 to 2022, but no new features will be added. Of course all your PUN & Bolt projects will continue to work and run with the known performance in the future. For any upcoming or new projects: please switch to Photon Fusion or Quantum.

Overview

Asteroids

The Asteroids demo is the result of porting Unity's NetworkMeteoroid demo from uNet to PUN 2. In this demo 1 to 8 players can compete in destroying asteroids. The player with the most points wins the game.

If you want to find out more about the porting process from uNet to PUN, you can take a look at the demo's documentation page.

Demo Location: /Photon/PhotonUnityNetworking/Demos/DemoAsteroids/

Screenshot of the Asteroids demo
Screenshot of the Asteroids demo

Procedural

The Procedural demo shows how procedurally generated worlds can be handled when using the Photon Cloud. Therefore the demo's focus is on both generating the world and synchronizing modifications applied to it across multiple clients. You can read more about it on the demo's documentation page.

Demo Location: /Photon/PhotonUnityNetworking/Demos/DemoProcedural/

Screenshot of the Procedural demo
Screenshot of the Procedural demo

Slot Racer

In the Slot Racer demo, 1 to 4 players can drive with their slotcars on the track. Instead of using 'classical' position synchronization, the demos uses the driven distance to synchronize the players' slotcars on the track.

Demo Location: /Photon/PhotonUnityNetworking/Demos/DemoSlotRacer/

Screenshot of the Slot Racer demo
Screenshot of the Slot Racer demo

PUN Cockpit

The Cockpit demo provides a visualized approach of region pinging, the connection process, room creation and in room management and is perfectly embedded in the Slot Racer demo. To make use of it, you have to add both the PunCockpit-Scene and the SlotCar-Scene to the build settings and launch the Slot Racer demo.

Demo Location: /Photon/PhotonUnityNetworking/Demos/PunCockpit/

Screenshot of the Cockpit demo
Screenshot of the Cockpit demo

LoadBalancing

The LoadBalancing demo shows how to directly use the Realtime API.

Demo Location: /Photon/PhotonRealtime/Demos/DemoLoadBalancing/

Chat

Taken over from PUN Classic the Chat demo shows a simple chat room by using the Chat API.

Demo Location: /Photon/PhotonChat/Demos/DemoChat/

Back to top