A Rhythm Syncing Implementation for Unity
This project provides scripts that allow game objects to be synchronized with the tempo of an audio track, which is useful for rhythm based games.
An example of basic usage is provided in the _Scene directory.
- Copy the Rhythmify_Scripts directory into your Unity project.
- To sync an audio track, first create an audio source GameObject with your audio track.
- Tag the audio source with
"Rhythmify_Music"
. Each scene should only have one active object tagged with"Rhythmify_Music"
at a time. - To control a game object with the beat, create a script that extends
_AbstractRhythmObject
, or use one of the existing scripts inside the rhythmObject directory, and add the script to the game object as a component. Make sure you include this library with the lineusing Rhythmify;
at the top of your script.
For more detailed information, see the documentation in the Rhythmify_Scripts directory.