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/
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/
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/
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/
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