Quantcast
Channel: Photon Unity Networking (PUN) — Photon Engine
Browsing all 8947 articles
Browse latest View live
↧

Manually add new PhotonPlayer

Hi all,I am new here! Doing our first multiplayer project. Quick question.Is it possible to 'manually'/locally add new PhotonPlayers?Something like:PhotonPlayer newPlayer new PhotonPlayer(false, 1,...

View Article


What callback to expect on a kicked clients machine

Hi!I am implementing a (debug) system for checking clients - this is both available for masterclient and non-masterclients.Only the masterclient can kick other players. I am using the CloseConnection...

View Article


Moved: SimulateOwner() - Missing GetKeyDown Events [Bolt 104 Tutorial]

This discussion has been moved.

View Article

High RoomTtl + high PlayerTtl = joining the room with copies of yourself

HI everybody!I'm loosing a fight with PUN again!In my game I have a lobby where if you click "Play online", the game is trying to join a random room. If such room doesn't exist, the game creates a new...

View Article

Webhooks with GameSparks

Hi, Im trying to setup webhooks with GameSparks I have my url setup like this:https://preview.gamesparks.net/callback/286806FRSf6P/photonHook/LPXRvTNnut3n20N1RTDgEfsJ13zaxjL5/?path=GameCreate?The...

View Article


Best way to determine when an owner has been assigned?

I have some scene objects which become assigned ownership to players by the server. Once the players have control of the objects, I need to do some initialization on the client sides, but I'm not sure...

View Article

Exception in Web Player (v1.79)

Get this exception when I trying connect to photon: TypeLoadException: Error verifying ExitGames.Client.Photon.EnetPeer:get_encryptor (): Could not load type...

View Article

Keep player instantiated objects in game when player leaves room

First off, I realise there is PhotonNetwork.InstantiateSceneObject which will instantiate objects to a scene, however only the master host can instantiate objects this way and all other players will...

View Article


OnPhotonSerializeView for SceneObjects

Hello guys. I am working on a game where I have to move and sync SceneObjects. I am creating SceneObjects using "PhotonNetwork.InstantiateSceneObject" and they have a photonView attached to them. My...

View Article


Syncing AI enemy health

HiI just started using photon and after watching lof of tutorials, i am trying to sync Enemy AI health.My player is a mele player and when i hit enemy i am trying to sync damage to AI. [PunRPC] public...

View Article

Destroying grenade over the network

Hey,I implemented a grenade and I got a tiny issue. The grenade sends a RPC once it is hot and the time is ticking. Once the timer reaches 0 it will explode. The owner of the object calls...

View Article

Manual destroy of Photon View

Hi,I'm Andrea, from 3GoGames. We are working on an arcade game. At the end of the game, we want to allow players to vote for rematch. When they do that, the scene is re-loaded and the flow starts...

View Article

Help Object spawn Photon

Hello, I wanted a little help with my script because I'm having problems trying to go to the photon I add PhotonNetworking.Instantiate , there are several errors I do not know what to do, thank you,...

View Article


Syncing Buffs Across the Network

Our MOBA has around 30 network objects in game at any given time. They can be affected by buffs and debuffs. I’m fairly certain this means i need to sync the current active buffs across the network for...

View Article

'unreliable' vs 'unreliable on change' for Players

For our MOBA, the player is moving most of the time. But the player does stop to purchase items and heal.I was thinking we could save network resources by using 'unreliable on change'. But i'm...

View Article


Problem with PUN i need help

Hello i create a 3D games but i need help for instantiation.The networking function:SCRIPT:http://imgur.com/giJ6u7VBut the Mobilesinglestickcontrol, control all the player in game.I have try the...

View Article

Image may be NSFW.
Clik here to view.

Photon public connection error

Hello!I am using the Photon Control panel (Self Hosted). This works with 127.0.0.1But i have portforwarded my public ip and the port 5055 on TCP and UDP.i have it setup like this:But everytime i try to...

View Article


Start Coroutine by RPC?

Is it possible to start a coroutine the same way as a regular method in C# using RPC? Do I follow the same syntax?

View Article

Photon Turn base

Im planning to create a rock paper scissor game using Photon . Any docs for this ?Its a 2 player game where I will send to the server what I chose if its rock paper or scissor then It will announce the...

View Article

When someone disconnects to the room during the game?

When someone disconnects to the room during the game, I do not want another one to enter the room. ?how can i do

View Article
Browsing all 8947 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>