Skip to content

InnerGrid win animation and sound doesn't play on game reset #73

@Zambrella

Description

@Zambrella

This is because the way we are handling the animation and audio is poor.

 if (widget.innerGrid.winner != null && !_didAnimateWinner) {
      _animationControllerPadding.forward();
      _animationControllerOpacity.forward();
      context.read<TtnAudio>().playSound(SoundEvents.InnerGridWin);
      _didAnimateWinner = true;
    }

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions