mirror of
https://github.com/ninjamuffin99/Funkin.git
synced 2025-03-24 02:49:33 +00:00
Merge pull request #3020 from anysad/custom-popups-countdowns
[ENHANCEMENT] Custom Popups and Countdowns
This commit is contained in:
commit
1fc835494d
|
@ -3046,6 +3046,7 @@ class PlayState extends MusicBeatSubState
|
||||||
GameOverSubState.reset();
|
GameOverSubState.reset();
|
||||||
PauseSubState.reset();
|
PauseSubState.reset();
|
||||||
Countdown.reset();
|
Countdown.reset();
|
||||||
|
PopUpStuff.reset();
|
||||||
|
|
||||||
// Clear the static reference to this state.
|
// Clear the static reference to this state.
|
||||||
instance = null;
|
instance = null;
|
||||||
|
|
|
@ -125,4 +125,13 @@ class PopUpStuff extends FlxTypedGroup<FunkinSprite>
|
||||||
daLoop++;
|
daLoop++;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Reset the popup configuration to the default.
|
||||||
|
*/
|
||||||
|
public static function reset()
|
||||||
|
{
|
||||||
|
noteStyle = NoteStyleRegistry.instance.fetchDefault();
|
||||||
|
isPixel = false;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -314,7 +314,6 @@ class LoadingState extends MusicBeatSubState
|
||||||
FunkinSprite.cacheTexture(Paths.image('ui/popup/pixel/num7'));
|
FunkinSprite.cacheTexture(Paths.image('ui/popup/pixel/num7'));
|
||||||
FunkinSprite.cacheTexture(Paths.image('ui/popup/pixel/num8'));
|
FunkinSprite.cacheTexture(Paths.image('ui/popup/pixel/num8'));
|
||||||
FunkinSprite.cacheTexture(Paths.image('ui/popup/pixel/num9'));
|
FunkinSprite.cacheTexture(Paths.image('ui/popup/pixel/num9'));
|
||||||
|
|
||||||
FunkinSprite.cacheTexture(Paths.image('notes', 'shared'));
|
FunkinSprite.cacheTexture(Paths.image('notes', 'shared'));
|
||||||
FunkinSprite.cacheTexture(Paths.image('noteSplashes', 'shared'));
|
FunkinSprite.cacheTexture(Paths.image('noteSplashes', 'shared'));
|
||||||
FunkinSprite.cacheTexture(Paths.image('noteStrumline', 'shared'));
|
FunkinSprite.cacheTexture(Paths.image('noteStrumline', 'shared'));
|
||||||
|
|
Loading…
Reference in a new issue