disabled more aa for optimization

This commit is contained in:
Yoshman29
2022-11-09 22:20:48 +01:00
parent 4b3ac032e1
commit 1d422c4b9c
5 changed files with 5 additions and 6 deletions
+1 -1
View File
@@ -3,7 +3,7 @@
uniform float pixelZoom;
// zooms the game 6 times
void main() {
vec2 camPos = getCamPos(openfl_TextureCoordv);
vec2 camPos = getCamPos(floor(openfl_TextureCoordv * openfl_TextureSize) / openfl_TextureSize);
camPos = vec2(0.5, 0.5) + ((camPos - vec2(0.5, 0.5)) * pixelZoom);
+1 -1
View File
@@ -1 +1 @@
1248
1251
+2
View File
@@ -17,6 +17,8 @@ class NoteGroup extends FlxTypedGroup<Note> {
public function sortNotes() {
sort(function(i, n1, n2) {
if (n1.strumTime == n2.strumTime)
return n1.isSustainNote ? -1 : 1;
return FlxSort.byValues(FlxSort.ASCENDING, n1.strumTime, n2.strumTime);
});
}
+1 -1
View File
@@ -166,7 +166,7 @@ class Options
public static function applySettings() {
PlayerSettings.player1.setKeyboardScheme(Solo);
FlxG.forceNoAntialiasing = !antialiasing;
FlxG.game.stage.quality = (FlxG.forceNoAntialiasing = !antialiasing) ? 2 : 0;
FlxG.autoPause = autoPause;
FlxG.sound.volume = volume;
}
-3
View File
@@ -220,8 +220,6 @@ class Paths
}
}
if (includeSource) {
var sourceResult = getFolderContent(key, false, addPath, true);
for(e in sourceResult)
@@ -229,7 +227,6 @@ class Paths
content.push(e);
}
return content;
}
}