Jump to content

Playable Harmonica Idle


salles44

Recommended Posts

It does say "Licensed to YouTube by The Orchard Music (on behalf of Smithsonian Folkways Recordings); Public Domain Compositions" so I think it should be OK, I'll pop over to their website and double check when I get a chance. I don't really need additional samples but if you do find more you want included that's cool too (other players will probably appreciate it.

 

what I'm probably going to do is follow a format that I used on a previous mod to capture a hotkey. It's a little clunky initially to set up (you click on a message box while you have the hotkey you prefer pressed), but it works fine once initialized (and lets my lazy butt re-use code, which is handy since I'm not a coder). Then when you hit the hot key it will fire off a playMusic and a playIdle (the harmonica animation).

 

I'm guessing you don't want to have the music continue playing if the animation is interrupted (by the player or external events/actors). I poked around a bit and there is a isAnimPlaying function, so if that can tell us when the harmonica animation is playing we can use it to interrupt the music.

 

Does the above sound about right, especially in re: to interrupting teh music if the animation isn't playing?

Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...