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 /
avatar image
0
Question by Anymeese · May 21, 2014 at 11:49 PM · multiplayermultiplayer-networkingonlinehosting

Is it possible to make a Multiplayer (1v1) game WITHOUT hosting servers?

I'm working on a turn-based multiplayer (1v1) game, and am curious if there is a way to allow both players into the same game (read: the same scene, idk if it makes a difference) without having to pay for servers or anything. I've never done anything multiplayer so I honestly don't even know where to begin.. Is it possible for Player 1 to "host" and Player 2 "join" on one of their networks, is there at least a way to TEST playing against myself in two separate instances of the application (LAN), etc?

Thanks for any and all help

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 meat5000 ♦ · May 21, 2014 at 11:52 PM 0
Share

I think you answered all your own questions :P

3 Replies

· Add your reply
  • Sort: 
avatar image
2

Answer by Clet_ · May 22, 2014 at 12:07 AM

One player would be the server and the other would be the client. So you don't need a specific hosting machine to do so, Unity's built-in networking works pretty much that way.

If you every want to have dedicated servers later on, you just need to run the server code on a dedicated machine. Until then, one will be host and the other will be client

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 Anymeese · May 22, 2014 at 12:48 AM 0
Share

Unity has built-in networking? I'll have to look into that... Thank you for a great explanation

avatar image
1

Answer by RetepTrun · May 22, 2014 at 12:41 AM

One of the players just has to run the server software which can be part of the game. Or make it splitscreen.

Comment
Add comment · Show 2 · 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 Anymeese · May 22, 2014 at 12:47 AM 0
Share

splitscreen isn't an option. The game is meant to be online multiplayer. But the first bit is very interesting, and a good explanation! Is this why "host" and "join" are usually different buttons in games? Host being the one that runs server stuff

avatar image RetepTrun · May 23, 2014 at 02:43 PM 0
Share

Correct (in a general/traditional case).

So with friends I like to be host because my machine is faster and has better internet than thiers so less lag for all players.

avatar image
1

Answer by Jeff-Kesselman · May 23, 2014 at 03:00 PM

Sure it is.

LAN games existed long before online games. On a LAN you can use simple multicast for game discovery.

BIut this does require you actually understand network programming.

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

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

24 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

Related Questions

UNet child objects: MonoBehavior or NetworkBehavior? 0 Answers

Best way to host Unity2D Game online with multiplayer 0 Answers

How many current players will I get daily if I have 10k installs 1 Answer

Should I be using peer-to-peer networking for my 1v1 game? 1 Answer

Multiplayer advanced - Single Player in Multiplayer game, using another Hosting services. 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