Can an action be performed by audio cues?
Kangavark
Member Posts: 62
For example, can I have an actor spawn every time a certain note in my music track is hit? Can Gamesalad do that?
Comments
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
That sounds laborious, but I guess that's why it's a "work"around!
""You are in a maze of twisty passages, all alike." - Zork temp domain http://spidergriffin.wix.com/alphaghostapps