Merge pull request #1363 from CyndaquilDAC/some-options

Antialiasing option for low end devices + general grammar and phrasing improvements
This commit is contained in:
Kade M
2021-07-19 21:35:21 -07:00
committed by GitHub
21 changed files with 249 additions and 94 deletions

View File

@@ -32,6 +32,10 @@ class OutdatedSubState extends MusicBeatState
bg.scale.x *= 1.55;
bg.scale.y *= 1.55;
bg.screenCenter();
if(FlxG.save.data.antialiasing)
{
bg.antialiasing = true;
}
add(bg);
var kadeLogo:FlxSprite = new FlxSprite(FlxG.width, 0).loadGraphic(Paths.image('KadeEngineLogo'));
@@ -40,6 +44,10 @@ class OutdatedSubState extends MusicBeatState
kadeLogo.x -= kadeLogo.frameHeight;
kadeLogo.y -= 180;
kadeLogo.alpha = 0.8;
if(FlxG.save.data.antialiasing)
{
kadeLogo.antialiasing = true;
}
add(kadeLogo);
var txt:FlxText = new FlxText(0, 0, FlxG.width,