Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 12 Next capture
2021 2022 2023
1 capture
12 Jun 22 - 12 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
0
Question by Kiyoshi35 · Aug 14, 2017 at 05:04 PM · androidiosmultiplayermultiplayer-networking

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.

Comment
Add comment
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

1 Reply

· Add your reply
  • Sort: 
avatar image
0

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 :)

Comment
Add comment · Show 1 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image Kiyoshi35 · Aug 15, 2017 at 09:07 AM 0
Share

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 alt text

Do you know why? And I'll try Nakama once Thanks

スクリーンショット-2017-08-15-180234.png (130.7 kB)

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

186 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

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


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges