- Home /
How to use Alljoyn to make multi-play game
I wanna make AR multi-play game with Vuforia so i tried some networking services(f.g PUN,UNET) but it doesnt work.
But actually i found that there are some AR multi-play games so i think to make AR multi-play game is possible.I hope so at least.
And I noticed that I can make AR multi-play game with Alljoyn but to use it in Unity is difficult for me. I can't import Alljoyn in Unity at first.
If you know how to use it in Unity,Pls tell me.
Answer by mofirouz · Aug 14, 2017 at 05:31 PM
What are you stuck on? Happy to help but where do things break down with those multiplayer options? Are you getting a compile time exception or is it a networking problem?
You could have a look at a project I work on for networked games. Nakama is a game server which handles multiplayer, chat, and a bunch of other things. We have tutorials which should be a good place to start.
In any case let me know more about where you've gotten stuck so far. Difficult to help otherwise :)
I use Vuforia to make AR game,do you know Vuforia? At first i wanted to use Photon which is network service but if i use Photon,Vuforia can't work.
Here is script to control Photon
 using System.Collections;
 using System.Collections.Generic;
 using UnityEngine;
 
 public class PhotonContoller : $$anonymous$$onoBehaviour {
 
     // Use this for initialization
     void Start () {
 
         //サーバー接続
         PhotonNetwork.ConnectUsingSettings (null);
         
     }
 
     //ロビーに入室
     void OnJoinedLobby(){
         
         PhotonNetwork.JoinRandomRoom ();
 
     }
 
     //
     void OnJoinedRoom(){
 
         Debug.Log ("入室完了");
     }
 
     //入室失敗した場合
     void OnPhotonRandomJoinFailed(){
 
         //自分でルームを作成して入室
         PhotonNetwork.CreateRoom (null);
         Debug.Log("新しく入りました");
 
     }
 
     void FixedUpdate(){
         if (Input.Get$$anonymous$$ouseButtonDown (0)) {
             //GameObject Cube = PhotonNetwork.Instantiate ("Cube", new Vector3 (0f, 0f, 2500f), Quaternion.identity, 0);
             GameObject Target = PhotonNetwork.Instantiate ("Card10Target", new Vector3 (202.5f, 0f, 0f), Quaternion.identity, 0);
             GameObject Target2 = PhotonNetwork.Instantiate ("Card8Target", new Vector3 (0f, 0f, 0f), Quaternion.identity, 0);
             //Debug.Log ("押されました");
         }
     }
 }
And here is my problem about Vuforia I can't understand why my Object with Vuforia can't work 
Do you know why? And I'll try Nakama once Thanks
Your answer
 
 
             Follow this Question
Related Questions
Multiplayer for Android/iOS platforms 0 Answers
Get the device IP address from Unity 3 Answers
Photon network won't join random room with a custom property 0 Answers
Cross platform multiplayer 3 Answers
Application.genuine 0 Answers
 koobas.hobune.stream
koobas.hobune.stream 
                       
                
                       
			     
			 
                