- Home /
Music game, Spawn Enemies with Beat? C#
We are making a rhythm game where you have to tap buttons on the screen with the beat of the song, similar to games like tap tap revenge or !osu. We want to write a script in C# that will recognize the beat of the song and spawn objects to be pressed accordingly. Any suggestions?
Answer by ZhaoJiawei2333 · Apr 12, 2018 at 02:58 AM
Up to now there's no acceptable real-time beat auto-recognizition solution, though many investigator propose some algorithms about it. On the ost!, most maps are edited manuallly. Indeed some software such as Ableton Live can recognize beat. To be frank, the effect is not good enought to be used in commercial games. So my advice is generating beat data by above software, and adjust it manually to a better effect. Coding script to read data in C#.
BTW, this is a beat recognizition library for you reference: https://github.com/cjcliffe/beatdetektor