ANTIALIASING OPTION + GRAMMAR AND PHRASING FIXES

This commit is contained in:
CyndaquilDAC
2021-07-19 22:55:58 -05:00
parent eaaa585393
commit 7b6e538676
21 changed files with 249 additions and 92 deletions

View File

@ -124,7 +124,10 @@ class TitleState extends MusicBeatState
} else {
logoBl.frames = Paths.getSparrowAtlas('logoBumpin');
}
logoBl.antialiasing = true;
if(FlxG.save.data.antialiasing)
{
logoBl.antialiasing = true;
}
logoBl.animation.addByPrefix('bump', 'logo bumpin', 24, false);
logoBl.updateHitbox();
// logoBl.screenCenter();
@ -134,7 +137,10 @@ class TitleState extends MusicBeatState
gfDance.frames = Paths.getSparrowAtlas('gfDanceTitle');
gfDance.animation.addByIndices('danceLeft', 'gfDance', [30, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14], "", 24, false);
gfDance.animation.addByIndices('danceRight', 'gfDance', [15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29], "", 24, false);
gfDance.antialiasing = true;
if(FlxG.save.data.antialiasing)
{
gfDance.antialiasing = true;
}
add(gfDance);
add(logoBl);
@ -142,7 +148,10 @@ class TitleState extends MusicBeatState
titleText.frames = Paths.getSparrowAtlas('titleEnter');
titleText.animation.addByPrefix('idle', "Press Enter to Begin", 24);
titleText.animation.addByPrefix('press', "ENTER PRESSED", 24);
titleText.antialiasing = true;
if(FlxG.save.data.antialiasing)
{
titleText.antialiasing = true;
}
titleText.animation.play('idle');
titleText.updateHitbox();
// titleText.screenCenter(X);
@ -150,7 +159,10 @@ class TitleState extends MusicBeatState
var logo:FlxSprite = new FlxSprite().loadGraphic(Paths.image('logo'));
logo.screenCenter();
logo.antialiasing = true;
if(FlxG.save.data.antialiasing)
{
logo.antialiasing = true;
}
// add(logo);
// FlxTween.tween(logoBl, {y: logoBl.y + 50}, 0.6, {ease: FlxEase.quadInOut, type: PINGPONG});
@ -176,7 +188,10 @@ class TitleState extends MusicBeatState
ngSpr.setGraphicSize(Std.int(ngSpr.width * 0.8));
ngSpr.updateHitbox();
ngSpr.screenCenter(X);
ngSpr.antialiasing = true;
if(FlxG.save.data.antialiasing)
{
ngSpr.antialiasing = true;
}
FlxTween.tween(credTextShit, {y: credTextShit.y + 20}, 2.9, {ease: FlxEase.quadInOut, type: PINGPONG});