Getting Started
Download The Sample Package
Go to the download page and download the Pirate Adventure game sample Unity project
Create A New AppId
Step-by-step creating a Photon account and creating a Fusion 2 AppId to run online
Playing the game online
- Start by Creating a Photon Fusion AppId and pasting it into the
PhotonServerSettings
asset - Open and start the
MainMenuScene
scene (Assets/PirateAdventure/Scenes/MainMenuScene.unity) - Click on the
Start
button or press the southern button on a gamepad (usuallyA
)
Gameplay controls
- Keyboard
- Use
W
A
S
D
for movement - Use
J
, 'Q', 'E' or the Left Mouse Button to attack Space
to interact
- Use
- Gamepad
- Use dpad or left stick for movement
- Use the western button (usually
X
) to attack - Use the southern button (usually
A
) to interact
- Mobile
- Use the in-game ui to control the character's actions.
Gameplay features
- 3D adventure game
- Shared mode topology
- Multi-peer mode
- Item collection
- Leveling up
- Multi-part attacks
- Cooperative switches
- NavMesh use on enemies
- Finite state machine add-on use
- Networked physics add-on use
- A two-phase Boss
Gameflow
- Players begin on a main menu and choose to use the best region available or a fixed one.
- Players are initially spawned at the pirate ship. There is no queue or waiting rooms; players an join and leave as they please.
- Players explore a few islands, leveling up as they collect gems, open chests, and more.
- Players fight a two-stage boss at the end.
- Once the boss is defeated, the session is closed and players return to the main menu.
Playing online with multiple clients
You can play with multiple clients in a few ways.
- Create a build on one machine for the preferred platforms using
Tools->Pirate Adventure->Build
and then run multiple instances of the game on one device or separate instances on different devices. - Utilize multi-peer mode. After starting the game, click the
Spawn New Player
button on the upper right of the screen. Then press1
through8
on the keyboard to switch between users. Note, this button is not visible on mobile builds.
By default the best
(pinged) region is connected to. Clients that are connecting to different regions will not be matched together. The region connected to can be changed in the dropdown on the main menu.