MouseDance MouseDance
MouseDance MouseDance
MouseDance User Docs powered by DocFx, DiscordFx

Search Results for

    Interface ISongStartCountdown

    Implement this if you want to be able to play your own countdown animation before the first Hit Object appears. Make sure to call SetSongStartCountdown(ISongStartCountdown) before starting the game, for this to actually work.

    Namespace: MouseDance.Runtime.Callbacks
    Assembly: MouseDance.Runtime.dll
    Syntax
    public interface ISongStartCountdown

    Properties

    CountdownLength

    How long your countdown animation is. This value should be in seconds.

    Declaration
    float CountdownLength { get; }
    Property Value
    Type Description
    Single

    Methods

    OnStartCountdown()

    Will be called once current song playtime is now at first hit object's time minus CountdownLength.

    Declaration
    void OnStartCountdown()