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 Nov 12, 2015 at 09:25 PM by IKilledKenny_2 for the following reason:

The question is answered, right answer was accepted

This post has been wikified, any user with enough reputation can edit it.
avatar image
0
Question by IKilledKenny_2 · Apr 13, 2015 at 10:15 PM · javascriptmultiplayerlocal

4 player local multiplayer Split Screen Pc Controllers

Hello Unity3D.I have a question about multiplayer.How do i make my game able to player up to 4 players locally from the same computer?I have been looking online for some tutorials on multiplayer but they have been all about online multiplayer.I dont want that(YET).But if anyone knows any tutorials on local multiplayer or anything to get me started on it can you please tell me how?

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 Cherno · Apr 13, 2015 at 10:34 PM 0
Share

It's only a matter or setting up user input and then making those inputs affect only one gameObject.

2 Replies

  • Sort: 
avatar image
1
Best Answer

Answer by Tomer-Barkan · Apr 14, 2015 at 04:04 AM

Here's a tutorial by unity for local multiplayer: https://unity3d.com/learn/tutorials/modules/beginner/live-training-archive/local-multiplayer-with-controllers

And you can find out how to create a split screen with multiple cameras by setting each one's viewport to only a portion of the screen: http://docs.unity3d.com/Manual/class-Camera.html

Read the section about Normalized Viewport Rectangle.

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 IKilledKenny_2 · Apr 21, 2015 at 12:35 AM 0
Share

This helped me a lot=D!(Sorry if this is late) Thank You!

avatar image
0

Answer by J-R-Wood · Apr 14, 2015 at 12:33 AM

You can't effectively have 4 players play from a single computer although if you were @Cherno is right, it's just a matter of setting the Input to effect only certian gameobjects(Players) the problem is a keyboard can only pick up so many inputs at a time i beleive if anything more than 4 keys are pressed at the same time it won't read them.

you should set up a LAN connection between 4 computers instead.

Comment
Add comment · Show 5 · 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 IKilledKenny_2 · Apr 14, 2015 at 12:49 AM 0
Share

Even if i have the wireless xbox 360 controller adapter?with 4 controllers? and 4 split screens?

avatar image J-R-Wood · Apr 14, 2015 at 01:02 AM 0
Share

Haha my bad i didn't know we were talking about an Xbox here i was talking about a PC i don't work with Xbox's

avatar image J-R-Wood · Apr 14, 2015 at 01:02 AM 0
Share

You might want to edit the question to mention an xbox so noone else is confused

avatar image IKilledKenny_2 · Apr 14, 2015 at 01:23 AM 0
Share

Oh...you're right I'm sorry Q.Q.But still is there like anything around for me to get the gist of making local multiplayer with unity3D?

avatar image tanoshimi · Apr 14, 2015 at 06:32 AM 0
Share

Whyever not? There's been lots of hugely popular local multiplayer PC games - Legend of Dungeon, Starwhal, Gang Beasts and Samurai Gunn, to name just a few.

Follow this Question

Answers Answers and Comments

22 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

Related Questions

How to identify which player picked up a weapon and change parameters based on that? 1 Answer

How to make the camera follow 4 players at all times, zooming in and out, along with some extra screen space padding on all 4 sides, so that they arent always sitting on the edge ? 1 Answer

Setting up Local Multiplayer / Controller Inputs 1 Answer

How could I make a multiplayer system that works with wifi? 0 Answers

Accessing local system ( File Browser ) 2 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