#[Playtesters wanted] LilyLilyHop - rhythm music game about eating flies to the beat

14 messages ยท Page 1 of 1 (latest)

flint panther
#

Watch the video to get the idea.

DM me if you want to playtest!

indigo parrot
#

nice!

alpine portal
#

That is SO GROOVY

half valve
#

Iโ€™ve played it and can confirm it is made of JAM! Jammy!

next loom
flint panther
#

it's not just one track, it's a selection of clips from different categories that are picked randomly and played simultaneously

#

also @cinder fable do you want to playtest?

flint panther
next loom
# flint panther i'd need to know more about what you're doing. what's getting out of sync exactl...

basically imagine something like a progress bar that counts the beats, so for example if it's at 120bpm I'd just run a timer at 0.5s ... that seems to work, but speeding up and slowing down with the following (and changing the timer accordingly) seems to make the timer go out of sync

.set_playback_rate(
    PlaybackRate::Factor(speed as f64),
    Tween {
        start_time: kira::StartTime::Immediate,
        duration: Duration::from_secs_f32(0.0),
        easing: kira::tween::Easing::Linear,
    },
)

I'd imagine this is because this gets pushed into a queue that's not flushed immediately? I noticed that if I push this on each frame I just get errors saying the queue is full, but even if I only push it on change and change the speed like once per second they still kinda desync hmm

#

I guess imagine the same timer like you have in the video you posted, just have it speed up or slow down based on what's happening in the game

flint panther
#

@next loom is the timer on the gameplay side? you're correct that when you call set_playback_rate, the audio thread won't respond immediately, it could take up to 10-ish ms for that to start

next loom
flint panther
next loom
#

makes sense ๐Ÿ‘ I guess even if it's 10ms ahead/behind while it synchronizes it's not that big of a deal, thanks!