bf holding GF dead offset shit in progress

This commit is contained in:
Cameron Taylor 2021-04-03 21:37:57 -07:00
parent e25f528e24
commit 3451be5943
2 changed files with 22 additions and 0 deletions

View file

@ -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');

View file

@ -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;