Audio games.

0 favourites
  • 3 posts
From the Asset Store
Easily generate many levels from a set of pre-built scenes (Construct 3 template)
  • Hi there, Im thinking of making a shooter that interacts with the background music(tempo controls shot speed etc) and I was wondering if there is an easy(easier) way of making it than hand programming? Im assuming not, but I wasnt sure of any audio plug ins that have been created for music games or anything like that.

    Thanks for any info,

    Adam

  • It would take a lot of CPU horsepower. You would need to sample at about

    8K samples per second (about AM radio quality). Analyze the last seconds worth of data 15 times a second, and then determine the rhythm, I would do that with finding the power (sum of selected amplitudes).

    What you are trying to do is reasonable but it takes CPU power and a fairly sophisticated algorithm.

    Other interesting effects are changing the color of the bullets based on the power at different frequencies. Do a fast fourier transform to get the spectrum, then analyze the power of each frequency, use that to to set the color of the shooting.

    Eric

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • It would take a lot of CPU horsepower. You would need to sample at about

    8K samples per second (about AM radio quality). Analyze the last seconds worth of data 15 times a second, and then determine the rhythm, I would do that with finding the power (sum of selected amplitudes).

    What you are trying to do is reasonable but it takes CPU power and a fairly sophisticated algorithm.

    Other interesting effects are changing the color of the bullets based on the power at different frequencies. Do a fast fourier transform to get the spectrum, then analyze the power of each frequency, use that to to set the color of the shooting.

    Eric

    Haha, that seems way more complicated than I would be able to pull off in time. Cool ideas tho.

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)