Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 14 Next capture
2021 2022 2023
2 captures
13 Jun 22 - 14 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
4
Question by Ankush Arora · Jun 04, 2014 at 01:12 PM · multiplayernetworkfacebookmultiplayer-networkingturn-based

Turn Based Multiplayer

Hello all,

I have to do MultiPlayer Game for ios and android.

I have to follow the Procedure:- First i have to Login to Facebook then Get the Friends List and send invitation for the Game to download the Game from the store. If that user download the Game then User have to be shown into my Game and i can play the Game with that user that will be turn based Multiplayer

From the above part i have done with Login to Facebook, Get friends list and send invitation to the user by using Facebook Unity sdk. But i am stuck for the next part that how i can get that user into my Game to play with that user. What approach i should use for the next part that is How i can get that user into my Game and how i will implement the Multiplayer Functionality

Please let me know if anyone knows.

Thanks in Advance.

Ankush

Comment
Add comment · Show 1
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 yashpal · Mar 10, 2015 at 05:12 AM 0
Share

hello @Ankush Arora , I have same problem as yours which solution you implement? Photon, Unity Built-in Network or something else?

1 Reply

· Add your reply
  • Sort: 
avatar image
5

Answer by PouletFrit · Jun 04, 2014 at 03:07 PM

exitgames have release a public beta version of their Photon Turnbased Network or you will need to use the Unity build-in network solution which mean RPC and State Synchronization.

If you decide to choose the photon solution, there is plenty docs on their site to get you started.

As for the Unity build-in network, it shouldn't be too much trouble to implement either. Use the Master Server to define a host and connect the others players to this host. Then use RPC to send the command that the player took during his turn.

Comment
Add comment · Show 3 · 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 yashpal · Mar 10, 2015 at 05:18 AM 0
Share

hello @PouletFrit,

I know this is very old question. but I am facing same problem.

Is facebook Sdk provide inbuilt turn base feature? because i found turnbased request on there documentation. but i didn't find anything else.

avatar image PouletFrit · Mar 10, 2015 at 03:14 PM 0
Share

I dont think that the Facebook SD$$anonymous$$ provide any kind of network solution. The turnbased request your are refering to is only a notification system that inform the user that his opponent have played his turn. Which would be used mostly for exemple in a quiz game and such that would be played over several hours/days.

avatar image yashpal · Mar 10, 2015 at 06:20 PM 0
Share

Thank you @PouletFrit.

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

23 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

Related Questions

I am using NetworkDiscovery class of Unity to host and listen for a game session. The server broadcasts the game and the client is able to find a game hosted by the server, but am not able to connect to the server at all 0 Answers

Unity networking solution (PUN or Bolt) 0 Answers

How should I approach multiplayer? 1 Answer

Is Start() always after OnStaretLocalPlayer() and isLocalPlayer 0 Answers

Best practice for a turn-based game 1 Answer


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