Timers and BPM
So, correct time is ESSENTIAL in a rhythm game. You don't want a offbeat game!
First, get your BPM, or Beats Per Minute, by searching it online.
I found my BPM! It's 120, so keep that in mind! Now, time to open Godot! Create a project, give it a name, and create it!
Now follow me:
Create THIS scene tree:
Make sure to add your song to AudioStreamPlayer and activate Autoplay.
Add a script to Node2D, and name it "Beat".
Insert this code (NOT copyable; this is actually to learn):
The comments explain themselves.
Create a script to ColorRect, as "Bop".
Here's code:
Again, everything in comments.
Comments
Post a Comment