How come my sound is different in different layouts?

Get help using Construct 2

Post » Tue Apr 21, 2015 12:43 am

As far as I can tell, I've got no layout-specific sound code so far. But in one of my layouts the sounds are considerably louder than in the other layout, which baffles me as I can't see any reason this would be the case.

Is there some reason the same sound would be played at different volumes in different layouts? I'd attach my code directly but I don't see a way to attach a file. Here's the repository: https://github.com/Llorean/Femlink/tree/master/ You can try the project at http://llorean.github.io/FemLink/ if you stab with Z it should fairly quiet, but if you go through the door in the room to the left (press Up) and then stab in there, it's much louder. Same is true for being hit by enemies.
B
5
S
1
Posts: 7
Reputation: 289

Post » Tue Apr 21, 2015 12:48 am

Aaand after asking, I think I've got it, and I think I've found a bug:

Playing audio at position seems to use the position relative to the layout, rather than the position relative to the visible window area, to determine position. So since one layout I'm at the bottom of, and the other layout I'm at the top of...
B
5
S
1
Posts: 7
Reputation: 289


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 22 guests