Can an action be performed by audio cues?

For example, can I have an actor spawn every time a certain note in my music track is hit? Can Gamesalad do that?

Comments

  • gyroscopegyroscope I am here.Member, Sous Chef, PRO Posts: 6,598
    edited April 2013

    Hi @Kangavark There's no way that a Spawn Behaviour can be activated by a certain note in GSC.

    Even in other game engines that allow actual coding (rather than just programming like in GSC) that would be a ton of work....

    I can think of one workaround: split your music track up into sections in an Audio Editor, the splits made just before each of those particular notes play.

    Then to play all of the sections as one track, you'd need to accurately time each section, then with Timer behaviours, set a bunch of After so many seconds, play TrackSection2, play TrackSection3, etc. This might be a bit innacurate however... ideally you'd use the scene Time attribute and Rules for playing the sections one after the other. THen add your Spawn Behaviours at the beginning of each section Rule.

    Hope that gives you some ideas.

    ""You are in a maze of twisty passages, all alike." - Zork        temp domain http://spidergriffin.wix.com/alphaghostapps

  • KangavarkKangavark Member Posts: 62
    thanks @gyroscope
    That sounds laborious, but I guess that's why it's a "work"around!
  • gyroscopegyroscope I am here.Member, Sous Chef, PRO Posts: 6,598
    thanks @gyroscope
    That sounds laborious, but I guess that's why it's a "work"around!
    :-) you're right there! Can't think of any easier way unfortunately.

    ""You are in a maze of twisty passages, all alike." - Zork        temp domain http://spidergriffin.wix.com/alphaghostapps

Sign In or Register to comment.