Questions tagged [photon]

Photon is a realtime multiplayer cross-platform api from Exit Games.

Photon is a realtime multiplayer cross-platform api from Exit Games. It provides it's services in two forms. You can either choose to have it's fully managed Cloud service or can implement your own Server via it's Photon-Server api.

Links:-
Photon SDK

664 questions
0
votes
1 answer

Having trouble instantiating players on network

I'm trying to make a pretty simple multiplayer platforming type game. Until recently I had only the main scene which would automatically create or join a fixed room. All players who ran the game would auto join and instantiate, everything at this…
rthill
  • 143
  • 1
  • 7
0
votes
1 answer

Registering sub server(login) to master server - Photon Server -CJR Gaming MMO Framework

I am following Christian Richards tutorial on MMO Development using Photon Server. For those who don't know what that is, it essentially covers re-writing the photon framework from scratch, using an MMO type architecture. I have encountered numerous…
devon t
  • 55
  • 2
  • 8
0
votes
1 answer

Photon Unity Networking Unwanted Cross-scene Instantiation

I have one big problem with PUN, and that is that PhotonNetwork.Instantiate instantiates objects on a per-room basis, not a per-scene basis. The setup I have right now is one "server", the master client, and then everyone else joins the same room.…
0
votes
0 answers

Photon RPC or OnPhotonSerializeView is not calling

I'm making a multi-player game. my game allow player to get into same lobby and same room. also it does instantiate playerObj. but the problem is RPC or OnPhotonSerializeView is not calling I putted 'Debug.Log()' function to check if it does calling…
Han Kim
  • 11
  • 1
0
votes
2 answers

How to let a camera follow a rolling ball with photon in unity

I created a multiplayer game with photon in unity. The player is a rolling ball, i want to set a camera for each player but it can't be a child of the ball otherwise it rotates to. Without photon it worked with a script on the camera but now with…
0
votes
1 answer

How to assert a spawn is "filled"?

I have two spawn spots where a player will show up upon connection. I need that, when one of the players connects on one of the spots, any other player will always spawn at the other spot. Here's some visual in case it helps:…
Ivo Cunha
  • 15
  • 1
  • 5
0
votes
1 answer

Photon Unity Networking

I have a game that contains more than 5000 cubes. Once a user creates a room, cubes are created (new arrangement every time the game is played). I would like to be able to transfer a position list (vector3 list) of the created cubes to the server so…
AndTy
  • 1
  • 1
0
votes
3 answers

Unity Photon PUN RPC call

I have a question about RPC and Photon PUN. I have 1 GameObject in my game that calls an RPC method. This game object contains a C# script (that contains the RPC method) and the PhotonView component with/without (is should be the same) the…
Alessio Marzoli
  • 167
  • 2
  • 3
  • 10
0
votes
2 answers

Invite a friend to a room (PlayFab, PUN+ and Unity)

I am in the process of adding a new feature in our game. I would like to give the option for the players to invite their friends to join a room. The exact description of the feature goes like this: Player A creates a room and invites player B to…
naz89
  • 71
  • 5
  • 12
0
votes
1 answer

How to obtain event data from ExitGames::Common::Object& eventContent?

Referring to this link "http://recruit.gmo.jp/engineer/jisedai/blog/cocos2d-x_photon/", I'm trying to run the sample that display simple networking feature using cocos2dx 2.2.6 and photon sdk v4-0-0-5. The guide suggested implementing…
booyah
  • 45
  • 1
  • 5
0
votes
1 answer

How to get `EventData` in `onEvent()` in `Photon Server`

I am working on multiplayer game using Photon Server. I am send sending some data using HashMaps through loadBalancingPeer.opRaiseEvent but i am not able to get data in onEvent function of LoadBalancingClient. Here is my custom event code. public…
faisal ahsan
  • 41
  • 2
  • 10
0
votes
2 answers

photon chat unity plugin - how to know if a friend is online or not

I am using photon chat plugin in a unity3d multiplayer game. I have added some friends and can send them private message. I want to show if that friend is online or not. I can use on status update callback, but it will show only friends who changed…
Game Dev
  • 19
  • 1
  • 7
0
votes
3 answers

Does Photon Server supports multiple protocol connections?

I need to connect Unity3D client to Photon Server using both UDP and TCP connections. Is it possible? Where can I read about it? P.S. I want to use TCP to send large amount of data.
Art Drozdov
  • 157
  • 1
  • 11
0
votes
1 answer

Display a message to a specific player in a networked game using Photon Unity Networking

On entering a trigger zone of an object a message is displayed to the player (which is found by tag). If the player then presses the pickup button, the item is added to their inventory. It works fine in single-player games. When I use PUN (Photon…
0
votes
1 answer

RPC synchronization alternative MMORPG, Photon Unity3D

I'm using Photon Unity Networking and I am working on a little game of mine. I got to a point where I have a room with players and mobs. When a new player appears I use RPC call to update information about this player to all other connected users to…