mirror of
https://github.com/ninjamuffin99/Funkin.git
synced 2025-02-11 05:52:52 +00:00
fun lil pitch effect on result scren
This commit is contained in:
parent
1fe554e24e
commit
b2d3fe17d7
|
@ -347,6 +347,10 @@ class ResultState extends MusicBeatSubState
|
||||||
|
|
||||||
if (controls.PAUSE)
|
if (controls.PAUSE)
|
||||||
{
|
{
|
||||||
|
FlxTween.tween(FlxG.sound.music, {volume: 0}, 0.8);
|
||||||
|
FlxTween.tween(FlxG.sound.music, {pitch: 3}, 0.1, {onComplete: _ -> {
|
||||||
|
FlxTween.tween(FlxG.sound.music, {pitch: 0.5}, 0.4);
|
||||||
|
}});
|
||||||
if (params.storyMode)
|
if (params.storyMode)
|
||||||
{
|
{
|
||||||
openSubState(new funkin.ui.transition.StickerSubState(null, (sticker) -> new StoryMenuState(sticker)));
|
openSubState(new funkin.ui.transition.StickerSubState(null, (sticker) -> new StoryMenuState(sticker)));
|
||||||
|
|
Loading…
Reference in a new issue