How do I a volume "slider"?

0 favourites
  • 8 posts
From the Asset Store
10 different explosions rendered as transparent PNG.
  • Anyone have a capx with an example for me?

    I'm trying to do this by myself, but with no results...

    Thanks

  • I think is a little complicated to understand what I want, so... check this:

    If it's still complicated, just tell me.. Thanks

  • hi,

    you can do it easy.

    i havn't C2 installed in this Pc, but i try to help.

    just fix the volume min and max.

    1. Put the SQUARE in min area and record its X position, assign its volume to zero "0"

    2. put the SQUARE in max area and record its X position, assign its volume to max volume (goto help to know it)

    3. Add drag drop behavior to the SQUARE and in on drop: compare the current X position and set it's value to volume.

    try and tell me the result.

  • hi,

    you can do it easy.

    i havn't C2 installed in this Pc, but i try to help.

    just fix the volume min and max.

    1. Put the SQUARE in min area and record its X position, assign its volume to zero "0"

    2. put the SQUARE in max area and record its X position, assign its volume to max volume (goto help to know it)

    3. Add drag drop behavior to the SQUARE and in on drop: compare the current X position and set it's value to volume.

    try and tell me the result.

    Hi, thank you for the answer <img src="{SMILIES_PATH}/icon_e_smile.gif" alt=":)" title="Smile">

    I understand this logic, but I really don't know how to implement this on my project. <img src="{SMILIES_PATH}/icon_e_sad.gif" alt=":(" title="Sad">

    I found this example made by Yann, and sent him a pm for more details..

    http://dl.dropboxusercontent.com/u/2355 ... index.html

    The first slider is exactly what I want.

  • You need to compare/check The squares X position.

    You will need to calculate the volume of the sound compared to where the square is on your slider.

    Double Check what Manarsoft has written and try what he suggests.It should work fine.

  • Give me some minutes ti finish your need

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Hei,

    i finished your little tutorial.

    download and try it, let me know if this solved your problem!

  • Hei,

    i finished your little tutorial.

    download and try it, let me know if this solved your problem!

    Hehe awesome

    thank you very much, dude

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