ANTIALIASING OPTION + GRAMMAR AND PHRASING FIXES
This commit is contained in:
@ -463,7 +463,10 @@ class PlayState extends MusicBeatState
|
||||
halloweenBG.animation.addByPrefix('idle', 'halloweem bg0');
|
||||
halloweenBG.animation.addByPrefix('lightning', 'halloweem bg lightning strike', 24, false);
|
||||
halloweenBG.animation.play('idle');
|
||||
halloweenBG.antialiasing = true;
|
||||
if(FlxG.save.data.antialiasing)
|
||||
{
|
||||
halloweenBG.antialiasing = true;
|
||||
}
|
||||
add(halloweenBG);
|
||||
|
||||
isHalloween = true;
|
||||
@ -495,7 +498,10 @@ class PlayState extends MusicBeatState
|
||||
light.visible = false;
|
||||
light.setGraphicSize(Std.int(light.width * 0.85));
|
||||
light.updateHitbox();
|
||||
light.antialiasing = true;
|
||||
if(FlxG.save.data.antialiasing)
|
||||
{
|
||||
light.antialiasing = true;
|
||||
}
|
||||
phillyCityLights.add(light);
|
||||
}
|
||||
|
||||
@ -560,7 +566,10 @@ class PlayState extends MusicBeatState
|
||||
limo.frames = limoTex;
|
||||
limo.animation.addByPrefix('drive', "Limo stage", 24);
|
||||
limo.animation.play('drive');
|
||||
limo.antialiasing = true;
|
||||
if(FlxG.save.data.antialiasing)
|
||||
{
|
||||
limo.antialiasing = true;
|
||||
}
|
||||
|
||||
fastCar = new FlxSprite(-300, 160).loadGraphic(Paths.image('limo/fastCarLol', 'week4'));
|
||||
// add(limo);
|
||||
@ -572,7 +581,10 @@ class PlayState extends MusicBeatState
|
||||
defaultCamZoom = 0.80;
|
||||
|
||||
var bg:FlxSprite = new FlxSprite(-1000, -500).loadGraphic(Paths.image('christmas/bgWalls', 'week5'));
|
||||
bg.antialiasing = true;
|
||||
if(FlxG.save.data.antialiasing)
|
||||
{
|
||||
bg.antialiasing = true;
|
||||
}
|
||||
bg.scrollFactor.set(0.2, 0.2);
|
||||
bg.active = false;
|
||||
bg.setGraphicSize(Std.int(bg.width * 0.8));
|
||||
@ -582,7 +594,10 @@ class PlayState extends MusicBeatState
|
||||
upperBoppers = new FlxSprite(-240, -90);
|
||||
upperBoppers.frames = Paths.getSparrowAtlas('christmas/upperBop', 'week5');
|
||||
upperBoppers.animation.addByPrefix('bop', "Upper Crowd Bob", 24, false);
|
||||
upperBoppers.antialiasing = true;
|
||||
if(FlxG.save.data.antialiasing)
|
||||
{
|
||||
upperBoppers.antialiasing = true;
|
||||
}
|
||||
upperBoppers.scrollFactor.set(0.33, 0.33);
|
||||
upperBoppers.setGraphicSize(Std.int(upperBoppers.width * 0.85));
|
||||
upperBoppers.updateHitbox();
|
||||
@ -592,7 +607,10 @@ class PlayState extends MusicBeatState
|
||||
}
|
||||
|
||||
var bgEscalator:FlxSprite = new FlxSprite(-1100, -600).loadGraphic(Paths.image('christmas/bgEscalator', 'week5'));
|
||||
bgEscalator.antialiasing = true;
|
||||
if(FlxG.save.data.antialiasing)
|
||||
{
|
||||
bgEscalator.antialiasing = true;
|
||||
}
|
||||
bgEscalator.scrollFactor.set(0.3, 0.3);
|
||||
bgEscalator.active = false;
|
||||
bgEscalator.setGraphicSize(Std.int(bgEscalator.width * 0.9));
|
||||
@ -600,14 +618,20 @@ class PlayState extends MusicBeatState
|
||||
add(bgEscalator);
|
||||
|
||||
var tree:FlxSprite = new FlxSprite(370, -250).loadGraphic(Paths.image('christmas/christmasTree', 'week5'));
|
||||
tree.antialiasing = true;
|
||||
if(FlxG.save.data.antialiasing)
|
||||
{
|
||||
tree.antialiasing = true;
|
||||
}
|
||||
tree.scrollFactor.set(0.40, 0.40);
|
||||
add(tree);
|
||||
|
||||
bottomBoppers = new FlxSprite(-300, 140);
|
||||
bottomBoppers.frames = Paths.getSparrowAtlas('christmas/bottomBop', 'week5');
|
||||
bottomBoppers.animation.addByPrefix('bop', 'Bottom Level Boppers', 24, false);
|
||||
bottomBoppers.antialiasing = true;
|
||||
if(FlxG.save.data.antialiasing)
|
||||
{
|
||||
bottomBoppers.antialiasing = true;
|
||||
}
|
||||
bottomBoppers.scrollFactor.set(0.9, 0.9);
|
||||
bottomBoppers.setGraphicSize(Std.int(bottomBoppers.width * 1));
|
||||
bottomBoppers.updateHitbox();
|
||||
@ -618,13 +642,19 @@ class PlayState extends MusicBeatState
|
||||
|
||||
var fgSnow:FlxSprite = new FlxSprite(-600, 700).loadGraphic(Paths.image('christmas/fgSnow', 'week5'));
|
||||
fgSnow.active = false;
|
||||
fgSnow.antialiasing = true;
|
||||
if(FlxG.save.data.antialiasing)
|
||||
{
|
||||
fgSnow.antialiasing = true;
|
||||
}
|
||||
add(fgSnow);
|
||||
|
||||
santa = new FlxSprite(-840, 150);
|
||||
santa.frames = Paths.getSparrowAtlas('christmas/santa', 'week5');
|
||||
santa.animation.addByPrefix('idle', 'santa idle in fear', 24, false);
|
||||
santa.antialiasing = true;
|
||||
if(FlxG.save.data.antialiasing)
|
||||
{
|
||||
santa.antialiasing = true;
|
||||
}
|
||||
if (FlxG.save.data.distractions)
|
||||
{
|
||||
add(santa);
|
||||
@ -634,7 +664,10 @@ class PlayState extends MusicBeatState
|
||||
{
|
||||
curStage = 'mallEvil';
|
||||
var bg:FlxSprite = new FlxSprite(-400, -500).loadGraphic(Paths.image('christmas/evilBG', 'week5'));
|
||||
bg.antialiasing = true;
|
||||
if(FlxG.save.data.antialiasing)
|
||||
{
|
||||
bg.antialiasing = true;
|
||||
}
|
||||
bg.scrollFactor.set(0.2, 0.2);
|
||||
bg.active = false;
|
||||
bg.setGraphicSize(Std.int(bg.width * 0.8));
|
||||
@ -642,12 +675,18 @@ class PlayState extends MusicBeatState
|
||||
add(bg);
|
||||
|
||||
var evilTree:FlxSprite = new FlxSprite(300, -300).loadGraphic(Paths.image('christmas/evilTree', 'week5'));
|
||||
evilTree.antialiasing = true;
|
||||
if(FlxG.save.data.antialiasing)
|
||||
{
|
||||
evilTree.antialiasing = true;
|
||||
}
|
||||
evilTree.scrollFactor.set(0.2, 0.2);
|
||||
add(evilTree);
|
||||
|
||||
var evilSnow:FlxSprite = new FlxSprite(-200, 700).loadGraphic(Paths.image("christmas/evilSnow", 'week5'));
|
||||
evilSnow.antialiasing = true;
|
||||
if(FlxG.save.data.antialiasing)
|
||||
{
|
||||
evilSnow.antialiasing = true;
|
||||
}
|
||||
add(evilSnow);
|
||||
}
|
||||
case 'school':
|
||||
@ -779,39 +818,15 @@ class PlayState extends MusicBeatState
|
||||
add(waveSpriteFG);
|
||||
*/
|
||||
}
|
||||
case 'stage':
|
||||
{
|
||||
defaultCamZoom = 0.9;
|
||||
curStage = 'stage';
|
||||
var bg:FlxSprite = new FlxSprite(-600, -200).loadGraphic(Paths.image('stageback'));
|
||||
bg.antialiasing = true;
|
||||
bg.scrollFactor.set(0.9, 0.9);
|
||||
bg.active = false;
|
||||
add(bg);
|
||||
|
||||
var stageFront:FlxSprite = new FlxSprite(-650, 600).loadGraphic(Paths.image('stagefront'));
|
||||
stageFront.setGraphicSize(Std.int(stageFront.width * 1.1));
|
||||
stageFront.updateHitbox();
|
||||
stageFront.antialiasing = true;
|
||||
stageFront.scrollFactor.set(0.9, 0.9);
|
||||
stageFront.active = false;
|
||||
add(stageFront);
|
||||
|
||||
var stageCurtains:FlxSprite = new FlxSprite(-500, -300).loadGraphic(Paths.image('stagecurtains'));
|
||||
stageCurtains.setGraphicSize(Std.int(stageCurtains.width * 0.9));
|
||||
stageCurtains.updateHitbox();
|
||||
stageCurtains.antialiasing = true;
|
||||
stageCurtains.scrollFactor.set(1.3, 1.3);
|
||||
stageCurtains.active = false;
|
||||
|
||||
add(stageCurtains);
|
||||
}
|
||||
default:
|
||||
{
|
||||
defaultCamZoom = 0.9;
|
||||
curStage = 'stage';
|
||||
var bg:FlxSprite = new FlxSprite(-600, -200).loadGraphic(Paths.image('stageback'));
|
||||
bg.antialiasing = true;
|
||||
if(FlxG.save.data.antialiasing)
|
||||
{
|
||||
bg.antialiasing = true;
|
||||
}
|
||||
bg.scrollFactor.set(0.9, 0.9);
|
||||
bg.active = false;
|
||||
add(bg);
|
||||
@ -819,7 +834,10 @@ class PlayState extends MusicBeatState
|
||||
var stageFront:FlxSprite = new FlxSprite(-650, 600).loadGraphic(Paths.image('stagefront'));
|
||||
stageFront.setGraphicSize(Std.int(stageFront.width * 1.1));
|
||||
stageFront.updateHitbox();
|
||||
stageFront.antialiasing = true;
|
||||
if(FlxG.save.data.antialiasing)
|
||||
{
|
||||
stageFront.antialiasing = true;
|
||||
}
|
||||
stageFront.scrollFactor.set(0.9, 0.9);
|
||||
stageFront.active = false;
|
||||
add(stageFront);
|
||||
@ -827,7 +845,10 @@ class PlayState extends MusicBeatState
|
||||
var stageCurtains:FlxSprite = new FlxSprite(-500, -300).loadGraphic(Paths.image('stagecurtains'));
|
||||
stageCurtains.setGraphicSize(Std.int(stageCurtains.width * 0.9));
|
||||
stageCurtains.updateHitbox();
|
||||
stageCurtains.antialiasing = true;
|
||||
if(FlxG.save.data.antialiasing)
|
||||
{
|
||||
stageCurtains.antialiasing = true;
|
||||
}
|
||||
stageCurtains.scrollFactor.set(1.3, 1.3);
|
||||
stageCurtains.active = false;
|
||||
|
||||
@ -1911,7 +1932,10 @@ class PlayState extends MusicBeatState
|
||||
|
||||
babyArrow.x += Note.swagWidth * i;
|
||||
|
||||
babyArrow.antialiasing = true;
|
||||
if(FlxG.save.data.antialiasing)
|
||||
{
|
||||
babyArrow.antialiasing = true;
|
||||
}
|
||||
babyArrow.setGraphicSize(Std.int(babyArrow.width * 0.7));
|
||||
}
|
||||
|
||||
@ -3361,9 +3385,15 @@ class PlayState extends MusicBeatState
|
||||
if (!curStage.startsWith('school'))
|
||||
{
|
||||
rating.setGraphicSize(Std.int(rating.width * 0.7));
|
||||
rating.antialiasing = true;
|
||||
if(FlxG.save.data.antialiasing)
|
||||
{
|
||||
rating.antialiasing = true;
|
||||
}
|
||||
comboSpr.setGraphicSize(Std.int(comboSpr.width * 0.7));
|
||||
comboSpr.antialiasing = true;
|
||||
if(FlxG.save.data.antialiasing)
|
||||
{
|
||||
comboSpr.antialiasing = true;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
@ -3412,7 +3442,10 @@ class PlayState extends MusicBeatState
|
||||
|
||||
if (!curStage.startsWith('school'))
|
||||
{
|
||||
numScore.antialiasing = true;
|
||||
if(FlxG.save.data.antialiasing)
|
||||
{
|
||||
numScore.antialiasing = true;
|
||||
}
|
||||
numScore.setGraphicSize(Std.int(numScore.width * 0.5));
|
||||
}
|
||||
else
|
||||
|
Reference in New Issue
Block a user