mirror of
https://github.com/ninjamuffin99/Funkin.git
synced 2025-01-11 14:48:02 +00:00
RELEASE
This commit is contained in:
parent
b0af2f6680
commit
b8b5bb8888
|
@ -2,7 +2,7 @@
|
|||
<project>
|
||||
<!-- _________________________ Application Settings _________________________ -->
|
||||
|
||||
<app title="Friday Night Funkin'" file="Funkin" packageName="com.ninjamuffin99.funkin" main="Main" version="0.2.6" company="ninjamuffin99" />
|
||||
<app title="Friday Night Funkin'" file="Funkin" packageName="com.ninjamuffin99.funkin" main="Main" version="0.2.7" company="ninjamuffin99" />
|
||||
|
||||
<!--Switch Export with Unique ApplicationID and Icon-->
|
||||
<set name="APP_ID" value="0x0100f6c013bbc000" />
|
||||
|
|
|
@ -100,7 +100,7 @@ class DialogueBox extends FlxSpriteGroup
|
|||
box.animation.addByPrefix('normalOpen', 'Spirit Textbox spawn', 24, false);
|
||||
box.animation.addByIndices('normal', 'Spirit Textbox spawn', [11], "", 24);
|
||||
|
||||
var face:FlxSprite = new FlxSprite(180, 170).loadGraphic('assets/images/weeb/spiritFaceForward.png');
|
||||
var face:FlxSprite = new FlxSprite(320, 170).loadGraphic('assets/images/weeb/spiritFaceForward.png');
|
||||
face.setGraphicSize(Std.int(face.width * 6));
|
||||
add(face);
|
||||
}
|
||||
|
|
|
@ -23,6 +23,9 @@ class GameOverSubstate extends MusicBeatSubstate
|
|||
case 'school':
|
||||
stageSuffix = '-pixel';
|
||||
daBf = 'bf-pixel-dead';
|
||||
case 'school-evil':
|
||||
stageSuffix = '-pixel';
|
||||
daBf = 'bf-pixel-dead';
|
||||
default:
|
||||
daBf = 'bf';
|
||||
}
|
||||
|
|
|
@ -750,12 +750,6 @@ class PlayState extends MusicBeatState
|
|||
{
|
||||
switch (curSong.toLowerCase())
|
||||
{
|
||||
case 'senpai':
|
||||
schoolIntro(doof);
|
||||
case 'roses':
|
||||
schoolIntro(doof);
|
||||
case 'thorns':
|
||||
schoolIntro(doof);
|
||||
default:
|
||||
startCountdown();
|
||||
}
|
||||
|
@ -770,9 +764,26 @@ class PlayState extends MusicBeatState
|
|||
black.scrollFactor.set();
|
||||
add(black);
|
||||
|
||||
if (isStoryMode && SONG.song.toLowerCase() == 'roses')
|
||||
var red:FlxSprite = new FlxSprite(-100, -100).makeGraphic(FlxG.width * 2, FlxG.height * 2, 0xFFff1b31);
|
||||
red.scrollFactor.set();
|
||||
|
||||
var senpaiEvil:FlxSprite = new FlxSprite();
|
||||
senpaiEvil.frames = FlxAtlasFrames.fromSparrow('assets/images/weeb/senpaiCrazy.png', 'assets/images/weeb/senpaiCrazy.xml');
|
||||
senpaiEvil.animation.addByPrefix('idle', 'Senpai Pre Explosion', 24, false);
|
||||
senpaiEvil.setGraphicSize(Std.int(senpaiEvil.width * 6));
|
||||
senpaiEvil.updateHitbox();
|
||||
senpaiEvil.screenCenter();
|
||||
|
||||
if (SONG.song.toLowerCase() == 'roses' || SONG.song.toLowerCase() == 'thorns')
|
||||
{
|
||||
remove(black);
|
||||
|
||||
if (SONG.song.toLowerCase() == 'thorns')
|
||||
{
|
||||
add(red);
|
||||
}
|
||||
}
|
||||
|
||||
new FlxTimer().start(0.3, function(tmr:FlxTimer)
|
||||
{
|
||||
black.alpha -= 0.15;
|
||||
|
@ -786,7 +797,41 @@ class PlayState extends MusicBeatState
|
|||
if (dialogueBox != null)
|
||||
{
|
||||
inCutscene = true;
|
||||
add(dialogueBox);
|
||||
|
||||
if (SONG.song.toLowerCase() == 'thorns')
|
||||
{
|
||||
add(senpaiEvil);
|
||||
senpaiEvil.alpha = 0;
|
||||
new FlxTimer().start(0.3, function(swagTimer:FlxTimer)
|
||||
{
|
||||
senpaiEvil.alpha += 0.15;
|
||||
if (senpaiEvil.alpha < 1)
|
||||
{
|
||||
swagTimer.reset();
|
||||
}
|
||||
else
|
||||
{
|
||||
senpaiEvil.animation.play('idle');
|
||||
FlxG.sound.play('assets/sounds/Senpai_Dies' + TitleState.soundExt, 1, false, null, true, function()
|
||||
{
|
||||
remove(senpaiEvil);
|
||||
remove(red);
|
||||
FlxG.camera.fade(FlxColor.WHITE, 0.01, true, function()
|
||||
{
|
||||
add(dialogueBox);
|
||||
}, true);
|
||||
});
|
||||
new FlxTimer().start(3.2, function(deadTime:FlxTimer)
|
||||
{
|
||||
FlxG.camera.fade(FlxColor.WHITE, 1.6, false);
|
||||
});
|
||||
}
|
||||
});
|
||||
}
|
||||
else
|
||||
{
|
||||
add(dialogueBox);
|
||||
}
|
||||
}
|
||||
else
|
||||
startCountdown();
|
||||
|
|
Loading…
Reference in a new issue