* senpai fucking dies * final flash fadeout * made cutscene not play on restart * winter horrorland + fixes * fix for pixel perfect shader * trail + fixes * better + shaking last update about it, i swear * never fucking mind + repacks + accuracy * more fixes + chromatic aberration * i hate how pixel shader fucks everything up * aberration in the cutscene & its cool twitch * camera beats when twitching * tank stuff pt1 now the cutscenes look 99% like og (still gotta freeze the stage animated sprites n stuff) PS: Deleting the lipSycn function in ugh and guns cutscenes cause its not needed + sometimes breaks the animations so lets just leave it in stress only like it was in og * week 5 completed + retrocompatibility with altanim now chrima parents work * philly train * gameplay shaders option better adding it now * tank stuff pt2 * blue balled text (death counter) * winter horrorland better rework WIP colored vignette usable by everyone (you can change its color, amount and strength) wip cuz i wanna edit the amount/strength based on the zoom, i'll do later, now i dont have time gotta do christmas irl stuff yay * winter horrorland better rework completed * seen cutscene variable finally * even better cutscenes * oops * tank stuff pt3 * tank stuff pt4 WIP running tanks Co-Authored-By: Ne_Eo <NeeEoo@users.noreply.github.com> * tankstuff pt4.5 imma check tmr why do some tankmen spawn too much up * tank stuff pt4.75 * dumb * tank stuff pt 4.9 * type on xml sprite type fix and more Co-Authored-By: Ne_Eo <NeeEoo@users.noreply.github.com> --------- Co-authored-by: Ne_Eo <NeeEoo@users.noreply.github.com> Co-authored-by: lunarcleint <88809950+lunarcleint@users.noreply.github.com>
67 lines
1.8 KiB
Haxe
67 lines
1.8 KiB
Haxe
import funkin.system.FunkinSprite;
|
|
|
|
var tankman:FunkinSprite;
|
|
var tankTalk1, tankTalk2, bfBeep, distorto:FlxSound;
|
|
|
|
function create() {
|
|
FlxTween.tween(FlxG.camera, {zoom: 1}, 0.7, {ease: FlxEase.quadInOut});
|
|
game.camHUD.visible = false;
|
|
|
|
tankman = new FunkinSprite(game.dad.x + game.dad.globalOffset.x + 520, game.dad.y + game.dad.globalOffset.y + 225);
|
|
tankman.antialiasing = true;
|
|
tankman.loadSprite(Paths.image('game/cutscenes/tank/ugh-tankman'));
|
|
tankman.animateAtlas.anim.addBySymbol('1', 'TANK TALK 1 P1', 0, false);
|
|
tankman.animateAtlas.anim.addBySymbol('2', 'TANK TALK 1 P2', 0, false);
|
|
|
|
game.insert(game.members.indexOf(game.dad), tankman);
|
|
game.dad.visible = false;
|
|
|
|
focusOn(game.dad);
|
|
game.persistentUpdate = true;
|
|
|
|
tankTalk1 = FlxG.sound.load(Paths.sound('cutscenes/tank/ugh-1'));
|
|
tankTalk2 = FlxG.sound.load(Paths.sound('cutscenes/tank/ugh-2'));
|
|
bfBeep = FlxG.sound.load(Paths.sound('cutscenes/tank/ugh-beep'));
|
|
bfBeep.onComplete = function() {
|
|
game.boyfriend.dance();
|
|
};
|
|
distorto = FlxG.sound.load(Paths.music('DISTORTO'));
|
|
distorto.volume = 0;
|
|
distorto.play();
|
|
distorto.fadeIn(5, 0, 0.5);
|
|
|
|
tankman.playAnim('1');
|
|
tankTalk1.play();
|
|
|
|
new FlxTimer().start(3, function(tmr:FlxTimer) {
|
|
focusOn(game.boyfriend);
|
|
|
|
new FlxTimer().start(1.5, function(t) {
|
|
game.boyfriend.playAnim("singUP");
|
|
bfBeep.play();
|
|
|
|
new FlxTimer().start(1.5, function(t) {
|
|
focusOn(game.dad);
|
|
tankTalk2.play();
|
|
tankman.playAnim('2');
|
|
|
|
new FlxTimer().start(6.1, function(t) {
|
|
game.remove(tankman);
|
|
tankman.destroy();
|
|
|
|
game.camHUD.visible = true;
|
|
game.dad.visible = true;
|
|
distorto.fadeOut((Conductor.crochet / 1000) * 5, 0);
|
|
|
|
close();
|
|
}, 1);
|
|
}, 1);
|
|
}, 1);
|
|
}, 1);
|
|
}
|
|
|
|
function focusOn(char) {
|
|
var camPos = char.getCameraPosition();
|
|
game.camFollow.setPosition(camPos.x, camPos.y);
|
|
camPos.put();
|
|
} |