Page 1 of 1
Changing Music during a battle
Posted: Wed Mar 06, 2013 12:31 am
by Meowskivich
Can it happen? that's about all. I want to know this as I have certain plans and certain music to have this go with.
I essentially want to have it where an enemy will spawn in a battle sequence and it will change the music to basically being "oh crud, it's mr. badman who wants to smite me", but I'm unsure how to go about this other than through sound effect manipulation, which would be terrible as I'd have two themes playing at once, which COULD work if sound effect was an extra instrument put in, but even that would be terrible as it can easily be off tempo and will run out eventually).
Posted: Wed Mar 06, 2013 1:11 am
by Mogri
Nope, sorry. You'd have to make two separate battles.
Posted: Wed Mar 06, 2013 1:58 am
by Bob the Hamster
I wonder if I should make it possible for an attack to change the music?
(I guess the only thing about that idea that scares me is I don't want people to then ask for an attack that pauses the current music, plays another song, and them resumes it where it left off, because there is no way any of our current backends could handle that.)
Posted: Wed Mar 06, 2013 2:09 am
by Meowskivich
would that be possible just with a string of attacks then? It would seem like a waste of effort to make all that happen at once.
Honestly, I feel that there should be "battle script" that's essentially plotscripting for battles, where you can assign an attack to just run off a battlescript and it works precisely as the writer says, where they can make an attack change backdrops, sorta like a summon skill animation or something, and even change the music that way.
Just....idea, I'm sure it's been suggested before.
edit: also, I would appreciate having an attack that can change music.
Posted: Wed Mar 06, 2013 6:14 am
by TMC
Bob the Hamster wrote:I wonder if I should make it possible for an attack to change the music?
(I guess the only thing about that idea that scares me is I don't want people to then ask for an attack that pauses the current music, plays another song, and them resumes it where it left off, because there is no way any of our current backends could handle that.)
I think it's unlikely that you would want to change the music for a single attack since that's a rather short duration; more likely you would want it for a whole chain. But maybe you could just achieve that by giving each attack in the chain had the same "temporarily change music" setting?
Otherwise, best left to "battlescripting".
Also, Audiere could probably pause and resume where it left off, but the doxygen docs are really unpleasant to shift through.