- Home /
Photon Network Pong Game
Hi there,
I'm trying to make a simple Pong game.
Currently what I have is a lobby where players can create and join a room.
The room they join is a room that lets them chat together, and then when the room has two players, they press "Start" and they LoadLevel the pong game scene.
Now,
I have also created a player using PhotonNetwork.Instantiate. This creates two players as there are two people in the game room. How do I make it so the players are created on opposite sides of the field? Currently they are both spawned in the same position.
The game also spawns the ball in the same way as above ^. However this spawns two balls instead of just one. How would I just create one?
Is there a way to have an object that is shared between users running the game? Like the two users playing against each other, is there a way to have a SHARED game controller between them?
Or is there an example using Photon Cloud in the style of a Pong game?
Thanks.
Your answer
Follow this Question
Related Questions
The name 'Joystick' does not denote a valid type ('not found') 2 Answers
Close room on host exit 0 Answers
Photon networking 0 Answers
The other client does not receive chat messages.(Photon Networking) 1 Answer
Stange Error, please help... 0 Answers