Bug Issue: Set volume to % for channel doesn't work


Pages: 1

havana24

  • Subscriber - Stencyl Studio
  • *
February 25, 2020, 12:41:08 am
"Set volume to % for channel" doesn't work (tested on html5, build 10500).
The volume stands to 100% no matter what percentage you put.

Little demo: http://www.havana24.net/html5/TestSound/

Attached the stencyl file and the behavior screenshot.
-Alessandro


New attachment added by havana24 - February 25, 2020, 12:41:23 am


New attachment added by havana24 - February 25, 2020, 12:41:28 am


Justin

  • Master Stencyler
  • *
February 25, 2020, 02:02:12 am
Change the order. Play the sound first, then set the volume.

This order is needed because otherwise the generic "play sound" block may end up on a channel that's had its volume modified. This change is described here.

http://community.stencyl.com/index.php?issue=1505.0

Admittedly, this is non-obvious. We should improve documentation in this regard.
« Last Edit: February 25, 2020, 02:02:46 am by Justin »


Issue updated by Justin - June 03, 2020, 01:31:02 am
  • Tags added: documentation


Pages: 1

Details

  • Reported
    February 25, 2020, 12:41:08 am
  • Updated
    June 03, 2020, 01:31:02 am

  • View Status
    Public
  • Type
    Bug
  • Status
    New
  • Priority
    Normal
  • Version
    (none)
  • Fixed in
    (none)
  • Assigned to
    (none)
  • Category
    Engine

Tags


Attachments


* SceneBehavior.png (15.97 kB, 596x412 - viewed 52 times.)
* TestSound.stencyl (175.61 kB - downloaded 26 times.)