mirror of
https://github.com/ninjamuffin99/Funkin.git
synced 2025-11-25 21:55:55 +00:00
Merge remote-tracking branch 'origin/develop' into loadingbar-fix
This commit is contained in:
commit
54f337fe9c
2
hmm.json
2
hmm.json
|
|
@ -49,7 +49,7 @@
|
||||||
"name": "funkin.vis",
|
"name": "funkin.vis",
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"dir": null,
|
"dir": null,
|
||||||
"ref": "98c9db09f0bbfedfe67a84538a5814aaef80bdea",
|
"ref": "2aa654b974507ab51ab1724d2d97e75726fd7d78",
|
||||||
"url": "https://github.com/FunkinCrew/funkVis"
|
"url": "https://github.com/FunkinCrew/funkVis"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -2548,6 +2548,13 @@ class PlayState extends MusicBeatSubState
|
||||||
|
|
||||||
// Redirect to the chart editor playing the current song.
|
// Redirect to the chart editor playing the current song.
|
||||||
if (controls.DEBUG_CHART)
|
if (controls.DEBUG_CHART)
|
||||||
|
{
|
||||||
|
if (isChartingMode)
|
||||||
|
{
|
||||||
|
if (FlxG.sound.music != null) FlxG.sound.music.pause(); // Don't reset song position!
|
||||||
|
this.close(); // This only works because PlayState is a substate!
|
||||||
|
}
|
||||||
|
else
|
||||||
{
|
{
|
||||||
disableKeys = true;
|
disableKeys = true;
|
||||||
persistentUpdate = false;
|
persistentUpdate = false;
|
||||||
|
|
@ -2556,6 +2563,7 @@ class PlayState extends MusicBeatSubState
|
||||||
targetSongId: currentSong.id,
|
targetSongId: currentSong.id,
|
||||||
}));
|
}));
|
||||||
}
|
}
|
||||||
|
}
|
||||||
#end
|
#end
|
||||||
|
|
||||||
#if (debug || FORCE_DEBUG_VERSION)
|
#if (debug || FORCE_DEBUG_VERSION)
|
||||||
|
|
|
||||||
|
|
@ -31,25 +31,13 @@ class PlayAnimationSongEvent extends SongEvent
|
||||||
|
|
||||||
switch (targetName)
|
switch (targetName)
|
||||||
{
|
{
|
||||||
case 'boyfriend':
|
case 'boyfriend' | 'bf' | 'player':
|
||||||
trace('Playing animation $anim on boyfriend.');
|
trace('Playing animation $anim on boyfriend.');
|
||||||
target = PlayState.instance.currentStage.getBoyfriend();
|
target = PlayState.instance.currentStage.getBoyfriend();
|
||||||
case 'bf':
|
case 'dad' | 'opponent':
|
||||||
trace('Playing animation $anim on boyfriend.');
|
|
||||||
target = PlayState.instance.currentStage.getBoyfriend();
|
|
||||||
case 'player':
|
|
||||||
trace('Playing animation $anim on boyfriend.');
|
|
||||||
target = PlayState.instance.currentStage.getBoyfriend();
|
|
||||||
case 'dad':
|
|
||||||
trace('Playing animation $anim on dad.');
|
trace('Playing animation $anim on dad.');
|
||||||
target = PlayState.instance.currentStage.getDad();
|
target = PlayState.instance.currentStage.getDad();
|
||||||
case 'opponent':
|
case 'girlfriend' | 'gf':
|
||||||
trace('Playing animation $anim on dad.');
|
|
||||||
target = PlayState.instance.currentStage.getDad();
|
|
||||||
case 'girlfriend':
|
|
||||||
trace('Playing animation $anim on girlfriend.');
|
|
||||||
target = PlayState.instance.currentStage.getGirlfriend();
|
|
||||||
case 'gf':
|
|
||||||
trace('Playing animation $anim on girlfriend.');
|
trace('Playing animation $anim on girlfriend.');
|
||||||
target = PlayState.instance.currentStage.getGirlfriend();
|
target = PlayState.instance.currentStage.getGirlfriend();
|
||||||
default:
|
default:
|
||||||
|
|
|
||||||
|
|
@ -576,6 +576,8 @@ class Strumline extends FlxSpriteGroup
|
||||||
note.holdNoteSprite.hitNote = true;
|
note.holdNoteSprite.hitNote = true;
|
||||||
note.holdNoteSprite.missedNote = false;
|
note.holdNoteSprite.missedNote = false;
|
||||||
note.holdNoteSprite.alpha = 1.0;
|
note.holdNoteSprite.alpha = 1.0;
|
||||||
|
|
||||||
|
note.holdNoteSprite.sustainLength = (note.holdNoteSprite.strumTime + note.holdNoteSprite.fullSustainLength) - conductorInUse.songPosition;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -67,7 +67,7 @@ class ChartEditorCharacterIconSelectorMenu extends ChartEditorBaseMenu
|
||||||
|
|
||||||
var charGrid = new Grid();
|
var charGrid = new Grid();
|
||||||
charGrid.columns = 5;
|
charGrid.columns = 5;
|
||||||
charGrid.width = 100;
|
charGrid.width = this.width;
|
||||||
charSelectScroll.addComponent(charGrid);
|
charSelectScroll.addComponent(charGrid);
|
||||||
|
|
||||||
var charIds:Array<String> = CharacterDataParser.listCharacterIds();
|
var charIds:Array<String> = CharacterDataParser.listCharacterIds();
|
||||||
|
|
|
||||||
|
|
@ -139,10 +139,6 @@ class MainMenuState extends MusicBeatState
|
||||||
|
|
||||||
resetCamStuff();
|
resetCamStuff();
|
||||||
|
|
||||||
subStateClosed.add(_ -> {
|
|
||||||
resetCamStuff();
|
|
||||||
});
|
|
||||||
|
|
||||||
subStateOpened.add(sub -> {
|
subStateOpened.add(sub -> {
|
||||||
if (Type.getClass(sub) == FreeplayState)
|
if (Type.getClass(sub) == FreeplayState)
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -283,6 +283,7 @@ class TitleState extends MusicBeatState
|
||||||
|
|
||||||
if (FlxG.keys.justPressed.Y)
|
if (FlxG.keys.justPressed.Y)
|
||||||
{
|
{
|
||||||
|
FlxTween.cancelTweensOf(FlxG.stage.window, ['x', 'y']);
|
||||||
FlxTween.tween(FlxG.stage.window, {x: FlxG.stage.window.x + 300}, 1.4, {ease: FlxEase.quadInOut, type: PINGPONG, startDelay: 0.35});
|
FlxTween.tween(FlxG.stage.window, {x: FlxG.stage.window.x + 300}, 1.4, {ease: FlxEase.quadInOut, type: PINGPONG, startDelay: 0.35});
|
||||||
FlxTween.tween(FlxG.stage.window, {y: FlxG.stage.window.y + 100}, 0.7, {ease: FlxEase.quadInOut, type: PINGPONG});
|
FlxTween.tween(FlxG.stage.window, {y: FlxG.stage.window.y + 100}, 0.7, {ease: FlxEase.quadInOut, type: PINGPONG});
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue