Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
Tags
A jam submission

GROOVE GUNNERView game page

Gun down aliens to the rhythm
Submitted by nethead (@_nethead) — 7 hours, 58 minutes before the deadline
Add to collection

Play game

GROOVE GUNNER's itch.io page

Leave a comment

Log in with itch.io to leave a comment.

Comments

Submitted

Awesome wave shooter game! I like how the enemies move closer to you on the beat! They wait till the beat drops! Did you just check for when the amplitude was highest in the audio file? I've done that before and it's pretty tough to get right, you did a good job!

Developer(+1)

Thanks for the comment! Since we were only using music which I made myself, we knew the BPM of each track ahead of time and the devs didn’t have to worry about scanning waveforms for beat detection. Instead we just do a little bit of math to fire signals on each beat, and maintain a “BeatOffset” value each frame.

You can check out the code here if you’re interested in the specifics: https://github.com/abdulhakeemidr/Pegjam-Waves/blob/main/Assets/Scripts/Conductor.cs