Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options answers only not deleted user 7191

Audio (heard) output of a game.

7 votes
Accepted

Space & Sound? Defying Physics?

Seems strange to pick apart on just the fact that you could hear sound. … They know things make sound, so they expect things to make sound. When they don't, it's something wrong with the game and it's less entertaining. …
House's user avatar
  • 73.3k
1 vote
Accepted

Unity Sound effect playing too many times

PlayOneShot does not alter isPlaying. See here. So isPlaying will always be false. A simple fix is to change your input to only trigger once. Instead of Input.GetKey("space") you can use Input.GetKey …
House's user avatar
  • 73.3k
1 vote

How to move around in a map and remember position?

Design your game as if you were to display the player's location on a map, then instead of showing which square they're in, play the sound for the square they're in. … When the player position is inside one of the zones you've specified in your map, you play the sound for that zone. …
House's user avatar
  • 73.3k
6 votes
Accepted

Unity: stop/play only background music

You can access any object in your hierarchy by searching for it: GameObject soundObject = GameObject.Find("BackgroundSoundObjectName"); Then you're likely going to want to access the AudioSource co …
House's user avatar
  • 73.3k
1 vote

MonoGame InstancePlayLimitException on Windows w/ OpenGL

Wrap your sound code in an exception handler and examine the conditions that led to the exception being thrown. …
House's user avatar
  • 73.3k