OK, I thought making the music for this would be really interesting, so I went ahead and wrote some demo tracks with my idea:
https://soundcloud.com/nch0/sets/post-haste-demo-tracks/s-UqpeenFNEyR?si=0df4eba...
The creepy version is exactly half the speed of the happy version so I have an excuse to pitch everything down and have a slower tempo, so when you switch back and forth you have to multiple the play position either by 2 or 1/2. E.g.:
def set_mode_creepy(): happy_track.pause() SeekPosition(creepy_track, GetTrackPosition(happy_track) * 2) creepy_track.play() def set_mode_happy(): creepy_track.pause() SeekPosition(happy_track, GetTrackPosition(creepy_track) / 2) happy_track.play()
If you want to use these tracks in the updated version of your game feel free to ping me on Discord (I'm also "ncharlie" on there) and I can send you the loopable ogg files.