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
3
Question by fuzzywobs · Jul 24, 2010 at 08:13 PM · multiplayeraudiolistenersplit-screen

Split Screen Game Audio Listeners

How do I get sound from both characters in the game seeing as only one audio listener is allowed.

As it stands only one character can have an audio listener and you can only hear the other character if he is making the sounds near the character with the audio listener.

Thanks.

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

5 Replies

· Add your reply
  • Sort: 
avatar image
3
Best Answer

Answer by jashan · Jul 25, 2010 at 12:40 PM

I think this is currently not possible in Unity, and it's a good point - for split-screen multiplayer it would be really nice to have that kind of feature.

So what I'd recommend is adding this as a feature request to Unity Feedback.

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
avatar image
3
Best Answer

Answer by Eric5h5 · Jul 25, 2010 at 03:19 PM

You simply use an audio listener that isn't attached to either character, and play the sounds relative to that. See some discussion on the matter here.

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
avatar image
1

Answer by Tinus · Jan 11, 2013 at 02:31 PM

I'm developing a Multi Audio Listener plugin that allows you to do split screen games. Let me know if you're interested in testing it!

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
avatar image
0

Answer by LunaArgenteus · Oct 22, 2014 at 06:11 AM

I've just released an asset that allows you to simulate multiple Audio Listeners. With it, you can pick one of three methods to play audio back (on a per clip basis), depending on what suits your needs best! You can get it here:

https://www.assetstore.unity3d.com/en/#!/content/23584

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
avatar image
0

Answer by Jjules · Jul 16, 2015 at 01:46 PM

In case anyone is still wondering (or visits the post after the fact), although those plugins are nice, here is how I plan on doing it:

The problem is that there cannot be two audio listeners in the scene, so 3d sounds will not be picked up accurately. The solution: make all the sounds in your game 2d!

A problem with this, however, is that you can't tell how close something is. The solution: Find the Distance between the players and the sounds and use that to adjust the volume of the sounds.

Another problem with this solution (and with multiple audio listeners in general) is that if more than one player was near the same object, the sound would be played more than once, and that could be VERY LOUD. The solution: only have the audio play for the player CLOSEST to the sound.

That's just my 2 cents, and I'll tell you if it worked for me later. That is all, and good luck!

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

3 People are following this question.

avatar image avatar image avatar image

Related Questions

How can I disable Audio Listener? I've tried it all... 0 Answers

Disabling Audio Listener in unity 3d 1 Answer

Networked Piano 0 Answers

Multiplayer (two people on 1 PC) 1 Answer

Split-Screen 2 players in different scenes but same game (offline),Split-screen two players in separate scenes (offline) but same 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