Techpack
Member
Hi, I'm attempting to make a platformer rhythm game similar to Bit.Trip Runner games. I want make it so depending on the bpm of the song, the character moves at the right speed in time with the music. Imagine a bunch of blocks and every 4th block there is an obstacle. I want to make it so if the song was say, 150 bpm or a different bpm like 180, the character would always hit the obstacles on time and with the beat. I've tried myself by simply dividing by 100 and then making the character move that amount of pixels but to no avail. Is there a specific calculation for something like this?