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 Bralgs · Jun 20, 2013 at 09:33 PM · controllerxboxsplit screen

Split-Screen with 2 Xbox 360 Controllers Input help

Does any one know how to make split screen? Now I have a splittet screen but I also want two diffrent Controller/Inputs wich, not only for the buttons, also for the left and right joystick. sorry for my english and I am a beginner in Unity3d.

Thanks

Comment
Add comment · Show 2
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 AmoralAckbar · Jun 21, 2013 at 03:03 PM 0
Share

Is the problem that you don't know how to make the split screen using 2 cameras and viewports? Or is the problem that you don't know how to have 2 players moved around by 2 controllers?

avatar image Bralgs · Jun 22, 2013 at 12:36 AM 0
Share

how to have 2 players moved around by 2 controllers :)

1 Reply

· Add your reply
  • Sort: 
avatar image
1

Answer by Kreg Neg · Jun 21, 2013 at 07:20 PM

1st you asked how to make a split screen - if you go to your camera component you will see a "Normalized View Port Rect". There set one camera to something like "x-0.5,y-0,w-.5,h-1" and the other to "x-0,y-0,w-.5,h-1" if I remember correctly.

2nd i'm not sure if your doing this over the internet(netwrorked multiplayer) or with a person next to you but if it is over the interent you can use something like "networkview.ismine". Im not sure how you can go about this if you're going to play with a guy next to you

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 AlucardJay · Jun 22, 2013 at 01:48 AM 1
Share

upvote for Normalized View Port.

2nd : you'll need to set up inputs for both players in the Input $$anonymous$$anager : http://docs.unity3d.com/Documentation/Components/class-Input$$anonymous$$anager.html

To see the Input $$anonymous$$anager choose: Edit -> Project Settings -> Input.

Joy Num : Which joystick should be used. By default this is set to retrieve the input from all joysticks. This is only used for input axes and not buttons.

set up controls for Joystick 1 and Joystick 2.

If you're clever about it, you only need to make 2 separate Player Input scripts, and then feed the inputs to the character script of each player.

avatar image Kreg Neg · Jun 22, 2013 at 03:57 PM 0
Share

shame you cant upvote a comment...

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

17 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

Related Questions

Split Screen Issues *Two Xbox Controllers* 0 Answers

Gamepad: Trigger Axes 0 Answers

How to have multiple types of controller input using the input manager 0 Answers

Xbox 360 controller vibration in build? 1 Answer

How to detect if its a X360 or Ps3 controller that is connected. 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