How do I properly manage sound volume in C3?

0 favourites
  • 2 posts
From the Asset Store
Jump on the mole rats and see how far you can go!
  • Hi guys! Hopefully you can help me out on this.

    I am aware that C3 deals with sound volume with db. and the help text for the 'Volume' property says: "0 is original volume, -10db is about half as loud, etc."

    So based on this information My tought was:

    Since 10db is about half of 0db, I created a 'volume display' sprite with 20 frames and no animation speed, representing a range from -20db to 0db. Pressing left decreases the frames, right increases it. And I'll save the frame number on an array and use it as the volume when music plays:

    The issue is that at -20db I still can hear the music. And I have no idea how should I do to properly set this up.

    Could someone help me with this? Are there any better solutions to this? Any formula or something like that?

    Thanks in advance!


  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • I think I've used -60 as the cutoff, so you could just drop by a factor of 3 each time. You just have to experiment and decide what makes sense to you.

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)