open-manifold / Open-Manifold

A free and open-source clone of Rhythm 'n' Face for PC.
Other
10 stars 1 forks source link

Have characters go back to their idle loop a few frames after displaying a button animation #13

Closed xen-osd closed 1 year ago

xen-osd commented 1 year ago

Currently, the character's animations hang on whatever the last pressed button was and don't go back to idle until the CPU takes over.

SuperFromND commented 1 year ago

Holding on the button animation frame is intended behavior (I simply thought it looked nicer in motion), but Rhythm 'n' Face does actually change back to idle loop after a period of time (I believe one beat?), so I'll look into it!

xen-osd commented 1 year ago

If it looks good in some cases, perhaps it could be made a setting?

SuperFromND commented 1 year ago

I've decided to implement a timer for character states for now; this can always be made into a setting later.

Right now each state is held for a fixed amount of time (400 milliseconds), and I'd like to have it instead be the length of 1 beat relative to the song's BPM in the future, but I'm gonna go ahead and close this for now since it's been implemented. :)