pico asset re export

This commit is contained in:
Cameron Taylor 2021-04-08 21:52:21 -04:00
parent e85f883fa3
commit b06cc7b105

View file

@ -123,6 +123,7 @@ class PlayState extends MusicBeatState
var tankmanRun:FlxTypedGroup<TankmenBG>;
var gfCutsceneLayer:FlxGroup;
var tankWatchtower:BGSprite;
var talking:Bool = true;
var songScore:Int = 0;
@ -533,7 +534,7 @@ class PlayState extends MusicBeatState
var smokeRight:BGSprite = new BGSprite('smokeRight', 1100, -100, 0.4, 0.4, ['SmokeRight'], true);
add(smokeRight);
var tankWatchtower:BGSprite = new BGSprite('tankWatchtower', 100, 50, 0.5, 0.5);
tankWatchtower = new BGSprite('tankWatchtower', 100, 50, 0.5, 0.5, ['watchtower gradient color']);
add(tankWatchtower);
var tankGround:BGSprite = new BGSprite('tankGround', -420, -150);
@ -2841,6 +2842,8 @@ class PlayState extends MusicBeatState
trainCooldown = FlxG.random.int(-4, 0);
trainStart();
}
case 'tank':
tankWatchtower.dance();
}
if (isHalloween && FlxG.random.bool(10) && curBeat > lightningStrikeBeat + lightningOffset)