mirror of
https://github.com/FunkinCrew/Funkin.git
synced 2025-04-22 03:34:10 -04:00
Add Char Select stuff
This commit is contained in:
parent
34d1c568ea
commit
1e9c6f0c4c
2 changed files with 5 additions and 2 deletions
2
assets
2
assets
|
@ -1 +1 @@
|
|||
Subproject commit 6b97a5ce8bb09944e466bc6c342139462820f81f
|
||||
Subproject commit f4cf1d3721155e16ab4e547b6baabc1238b66dae
|
|
@ -291,6 +291,9 @@ class CharSelectSubState extends MusicBeatSubState
|
|||
unlockSound.volume = 0;
|
||||
unlockSound.play(true);
|
||||
|
||||
FlxG.sound.defaultSoundGroup.add(unlockSound);
|
||||
FlxG.sound.list.add(unlockSound);
|
||||
|
||||
lockedSound = new FunkinSound();
|
||||
lockedSound.loadEmbedded(Paths.sound('CS_locked'));
|
||||
lockedSound.pitch = 1;
|
||||
|
@ -404,7 +407,7 @@ class CharSelectSubState extends MusicBeatSubState
|
|||
|
||||
function checkNewChar():Void
|
||||
{
|
||||
if (nonLocks.length > 0) selectTimer.start(0.5, (_) -> {
|
||||
if (nonLocks.length > 0) selectTimer.start(2, (_) -> {
|
||||
unLock();
|
||||
});
|
||||
else
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue