Quantcast
Channel: Multiplayer
Browsing all 16796 articles
Browse latest View live
↧

Photon Network Player Position Sync

Hey Guys, I need help with my script. I dont now how Sync the Position of the Player with the Network. Code (CSharp): using UnityEngine; using System.Collections;   public class NetworkManager :...

View Article


Not clear what OnPhotonSerializeView does

Hallo in all tutorials I see that an object sends data over the network and receives the data for sync in the same method: Code (csharp):   void OnPhotonSerializeView(PhotonStream stream,...

View Article


Image may be NSFW.
Clik here to view.

Login system with PUN

Hi all, and @tobiass Like the title say's i try to make a login system with Photon's friends PlayFab, but since PlayFab it's a web-based API they don't have any method to check if the player is already...

View Article

Client prediction and Physics

Hello. For my online game I am using unity's physics engine for the character movement. Since it's not exactly a physics based game, I just instantly apply a constant velocity ( I may use more of the...

View Article

Photon Enable Components Problem

Hello I have a problem, when i spawn my player it's enabling scripts on the Local player only, however the remote player it's scripts are enabled but not visible in the hierachi. But i need the scripts...

View Article


Login System

Hello. For my online game I want people to use an account ( name + password ). What's the best way to implement a login system, so that in order to play my game people have to be logged in? I have 2...

View Article

Persistent Data in Multiplayer?

Hello all, I've recently begun researching persistent data for saving/loading variables etc in Unity, but I've noticed a weird issue when trying to get this working with Unity's improved UNET. After...

View Article

ClientScene.RegisterSpawnHandler() for custom objects.

I don't understand how to use this function when there is no prefab involved. All the networking documentation is highly limited. At: http://docs.unity3d.com/Manual/UNetSpawning.html it says: You can...

View Article


Multiplayer RPCs and CMDs work between PC and Mac but not on mobile

When connecting a PC and a Mac the game runs just fine, but when trying to connect my PC with my Windows Phone I can see both player's Player game object being instantiated so I know that's fine, but...

View Article


Bolt Source / Fholm's Unity Multiplayer Example

Is there anyone who still has @fholm's unity multiplayer example on his hdd? I don't mind paying for it. Feel free to pm me.

View Article

Is it possible to use Unity's high level multiplayer components without using...

I'm confused about it.

View Article

Question about object spawning.

Do we have to instantiate objects on both the client AND server? Or do we just instantiate objects on the server then spawn them? So far, my code only generates a rectangular map on the host, while the...

View Article

Image may be NSFW.
Clik here to view.

After creating a new empty game object in the Hierarchy tab, how to give game...

This is my current problem, which is relevant to this other problem, but not entirely the same. The "Input Manager" game object is just an empty game object, with a Network Identity component and a...

View Article


Each play has a custom name?

Hello! I want to achieve this.. So in the offline scene players choose what would they like their name to be, name gets saved to PlayerPrefs. Then when player connects, I want to pull that name from...

View Article

direct socket connection to UNET...

I'm using LLAPI. I've tried using a DatagramSocket and a Socket with a native Android app, to communicate to a UNET 'server', to pass JSON data back and forth.. but having some troubles. With that UNET...

View Article


View RPC call method from other script

let's say we have two script, script A and script B, attach on two different object with photon view. I want to use rpc in script A to call function in script B. How can I do it???

View Article

Updating Room list with Webservice [Photon Cloud]

I am using photon cloud, I have a lobby with a roomlist in the game, but once i join the room still i need to update the other room details, Which is not possible from photon. so i am using webservices...

View Article


UNET solutions are simple?

Hello everyone. I have already read the documentation and made a bit research on UNET topic. But for code beginners is still a mess to develop a Multiplayer process so I would like to ask this...

View Article

Object Pooling in UNET

I am trying to create a game using UNET and i've hit a road block. It's a tank game, in which the bullets are objects, so therefore I would like to object pool them. I simply cannot understand how to...

View Article

Spawning 2 separate Player prefabs

How can you spawn 2 separate player prefabs with the new Unity networking. There is a Girl and a Boy. Start server as a Girl Join as a boy Separate spawning locations for each prefab.

View Article
Browsing all 16796 articles
Browse latest View live


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