mirror of
https://github.com/ninjamuffin99/Funkin.git
synced 2024-12-23 05:37:38 +00:00
Add Char Select stuff
This commit is contained in:
parent
34d1c568ea
commit
1e9c6f0c4c
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…
Reference in a new issue