-
Notifications
You must be signed in to change notification settings - Fork 2.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[ENHANCEMENT/BUGFIX] Bopper sync and bpm change events #3903
base: main
Are you sure you want to change the base?
[ENHANCEMENT/BUGFIX] Bopper sync and bpm change events #3903
Conversation
Btw, this is a rewrite of #3092, which was broken and unorganized |
Ok I might found a solution, but maybe a better looking one could be found? |
|
Yeah... still confused... |
This fixes the bopper desyncing from each other, imitating the
if(curBeat % 2 == 0) dad.dance();
from the 0.3.X of the game, but calculate it automatically with the actual idle animation duration, usingdanceEvery
as a well, making it consistent with the BPM and camera bopping.For it to work, I also included
onBpmChange()
and thebpmChange
SongTimeScriptEvent
, called every time the bpm changes, allowing easier scripting instead of manually detecting it thoughbeatHit
if we use an.hxc
script.To do:
Find a way to handle the automation for a decimal
danceEvery
, currently ignored and works like before