Sound distribution

transglobals's Avatar

transglobals

23 Jan, 2014 08:58 AM

Is ok place playing sound to VIEW section if have much little sound, responsive to like over button?

  1. 1 Posted by matej on 23 Jan, 2014 10:10 AM

    matej's Avatar

    If that sound will only be played inside that view than yes.
    But you can also dispatch an event on mouse over, and have soundService for some sound Manager.

  2. 2 Posted by transglobals on 23 Jan, 2014 10:24 AM

    transglobals's Avatar

    Yet that might mean using large number Command class. Or is possible one Command class using for many instructions in service?

  3. Support Staff 3 Posted by Ondina D.F. on 25 Jan, 2014 03:03 PM

    Ondina D.F.'s Avatar

    Hi,

    As Matej pointed out, it depends on the way you're using the sounds.

    There are various opinions about sound management with robotlegs. I recommend reading other discussions on this topic and then choose the approach that best suits your needs:

    http://knowledge.robotlegs.org/discussions/questions/441-robotlegs-...

    and look at Krasimir's example:

    http://krasimirtsonev.com/blog/article/creating-mp3-player-with-rob...

    http://knowledge.robotlegs.org/discussions/questions/1457-placing-s...

    http://knowledge.robotlegs.org/discussions/questions/881-conceptual...

    http://knowledge.robotlegs.org/discussions/questions/592-changing-v...

    Ondina

  4. Ondina D.F. closed this discussion on 03 Feb, 2014 02:06 PM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac