mirror of
https://github.com/FunkinCrew/Funkin.git
synced 2024-11-27 10:05:41 -05:00
bf holding GF dead offset shit in progress
This commit is contained in:
parent
e25f528e24
commit
3451be5943
2 changed files with 22 additions and 0 deletions
|
@ -357,6 +357,19 @@ class Character extends FlxSprite
|
|||
antialiasing = false;
|
||||
flipX = true;
|
||||
|
||||
case 'bf-holding-gf-dead':
|
||||
frames = Paths.getSparrowAtlas('characters/bfHoldingGF-DEAD');
|
||||
quickAnimAdd('singUP', 'BF Dead with GF Loop');
|
||||
quickAnimAdd('firstDeath', 'BF Dies with GF');
|
||||
animation.addByPrefix('deathLoop', 'BF Dead with GF Loop', 24, true);
|
||||
quickAnimAdd('deathConfirm', 'RETRY confirm holding gf');
|
||||
|
||||
loadOffsetFile(curCharacter);
|
||||
|
||||
playAnim('firstDeath');
|
||||
|
||||
flipX = true;
|
||||
|
||||
case 'senpai':
|
||||
frames = Paths.getSparrowAtlas('characters/senpai');
|
||||
quickAnimAdd('idle', 'Senpai Idle');
|
||||
|
|
|
@ -6,6 +6,7 @@ import flixel.FlxSubState;
|
|||
import flixel.math.FlxPoint;
|
||||
import flixel.util.FlxColor;
|
||||
import flixel.util.FlxTimer;
|
||||
import haxe.display.Display.Package;
|
||||
|
||||
class GameOverSubstate extends MusicBeatSubstate
|
||||
{
|
||||
|
@ -31,6 +32,14 @@ class GameOverSubstate extends MusicBeatSubstate
|
|||
daBf = 'bf';
|
||||
}
|
||||
|
||||
var daSong = PlayState.SONG.song.toLowerCase();
|
||||
|
||||
switch (daSong)
|
||||
{
|
||||
case 'stress':
|
||||
daBf = 'bf-holding-gf-dead';
|
||||
}
|
||||
|
||||
super();
|
||||
|
||||
Conductor.songPosition = 0;
|
||||
|
|
Loading…
Reference in a new issue