Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 13 Next capture
2021 2022 2023
1 capture
13 Jun 22 - 13 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 /
This question was closed Feb 16, 2017 at 09:09 PM by Verzus for the following reason:

The question is answered, right answer was accepted

avatar image
1
Question by Verzus · Jan 17, 2013 at 08:42 PM · networkingmultiplayernetworkmultiplayer-networking

Unity Multiplayer Design. Is it complicated to implement and learn?

Hello, I have been developing singleplayer games with Unity for the last couple of years and I have now come to a point where I want to create multiplayer games. But as I have never worked with any type of mutliplayer or network programming before I am unsure if and how I should continue.

My situation:

  • I have a couple years of experince with singleplayer development for Unity.

  • Quite advance Java programming skills.

  • And my game idea would involve two maybe up to four player multiplayer games in the style of AoE,C&C and so on.

So onto my questions;

  • Would it be a long process learning how to design and implement multiplayer as described above?

  • Is it possible to develop multiplayer as described above with the free version of Unity?

  • Are there any tutorials/resources that goes from the first step to the most advanced methods in designing multiplayer games with Unity? And if yes please share.

  • Would the multiplayer I described require some kind of servers or can this be handled client side?

Thanks/// Verzus

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

  • Sort: 
avatar image
1

Answer by Kiloblargh · Jul 19, 2013 at 03:00 AM

Yes. Making an RTS for your first multiplayer game is going to be a struggle. Mine has minimal RTS elements, but many controllable units per player on the screen at once, and I wish I had done something like a fighting game or a collaborative run-and-gun game; where each player only has one character to move, first.

Yes. I'm making my game as cross-platform as possible, and all[?] third-party networking solutions for mobile require Pro.

Yes- But not for free; there was a good paid guide that I believe is now years out of date.

Yes- But only for the matchmaking / lobby, no dedicated game server is needed for built-in client-server networking. One player is the server, the others join as clients. I'm making a game that is 2 players only, with one NetworkView object each, and client and server's behavior mirror each other almost exactly. If I had 4 players, I'd have to make client and server more distinct.

You could run your own Master Server on a VPS but the Facilitator (the more important part of using the Master Server) requires a server with 4 IP addresses assigned to it, which may be expensive or hard to find. You can also use WWWForm to talk to a PHP script to talk to an SQL database and keep your own lists of active IPs and use that to connect players, which is hard but not impossible to figure out, I've got it working.

If I either had Pro or didn't care about supporting mobile I might have used Photon instead. Looked at SmartFox and it seemed like it was more than I needed, and I could only wish I had time to make a game that needed Badumna.

Comment
Add comment · 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

Follow this Question

Answers Answers and Comments

10 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

Related Questions

network player only flip on LAN Host not in Lan Client 1 Answer

Do I need a player prefab spawn to use Unity's HLAPI System?, 1 Answer

Unity networking solution (PUN or Bolt) 0 Answers

Unity multiplayer solutions: Photon, Unity Networking - what else and in what way is good? 0 Answers

Network Game - all players respond to same input 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