Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FlxSound.proximity is broken. #4

Closed
FlixelCommunityBot opened this issue Sep 13, 2012 · 2 comments
Closed

FlxSound.proximity is broken. #4

FlixelCommunityBot opened this issue Sep 13, 2012 · 2 comments
Assignees
Milestone

Comments

@FlixelCommunityBot
Copy link

Issue #228 by: noio

The proximity feature doesn't work.

I'm guessing this line: https://github.com/AdamAtomic/flixel/blob/master/org/flixel/FlxSound.as#L226 should be something like

_volumeAdjust = (1 - radial) * fade
@Dovyski
Copy link
Member

Dovyski commented Sep 18, 2012

noio's tip was good, but at the wrong line.

@IQAndreas
Copy link
Member

Fixed by commit 6486760

IQAndreas pushed a commit to IQAndreas-testprojects/IQAndreas-flixel that referenced this issue Nov 15, 2013
FlxSound.proximity was inverted: the closer the object was, the lower was the volume.
Fix FlixelCommunity#4, AdamAtomic#228 .
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants