Playmaker Forum

PlayMaker Help & Tips => PlayMaker Help => Topic started by: ArctheLad on November 14, 2012, 05:49:01 AM

Title: Volume Slider
Post by: ArctheLad on November 14, 2012, 05:49:01 AM
Hello, I'm new to all of this Playmaker stuff and have been watching through the Tutorials and am now trying to test building things in playmaker outside of the tutorial stuff.

What I am trying to do is create a volume slider that places a GUI sliders on screen and allows the user to change the volume of sounds within the game menu.

Thanks!
Title: Re: Volume Slider
Post by: DARK_ETERNAL on November 14, 2012, 10:31:46 AM
I remember a tutorial from the Hutong's site showing how to use a GUISlider to animate a cube rotation. Maybe you can check that and adjust to your needs.

http://www.hutonggames.com/tutorials_getting_started.php
Title: Re: Volume Slider
Post by: ArctheLad on November 14, 2012, 10:45:27 AM
Yeah, that was where I intially started. I then moved on to the Heartbeat tutorial to try and duplicate that but to no avail.
Title: Re: Volume Slider
Post by: DARK_ETERNAL on November 14, 2012, 03:54:48 PM
Can you show us whatever you've been doing? I'm pretty sure you know how to handle volume and such things... Do you? Maybe you've been doing some scripting?
Title: Re: Volume Slider
Post by: jeanfabre on November 15, 2012, 01:12:40 AM
Hi,

 the way to debug this is to look at the variable you inject in the gui slider to see first if indeed it changes as you move the slider knob.

 then if it indeed does change and that the minimum and maximum values are correct, then see if it does reach the "set Game Volume" action. you do use this one right? not the "Set audio volume" correct?

bye,

 Jean
Title: Re: Volume Slider
Post by: Mysterian on April 01, 2014, 05:18:56 PM
Any luck on solving this problem?  I was trying the same thing with the Heartbeat Tutorial (trying to get the volume to work without the Delay portion involved) and had no luck either! 

All I am trying to do is create a simple pair of volume sliders, one for adjusting the volume level of the music, and the other for adjusting the volume level of sound effects.