My game contains a lot of moving parts (mostly decoration), causing lag in most people who play it. If I could find a way to find what quality level a player is set at, I could reduce the amount of these moving pieces accordingly. Like,
if player.qualitycontrol < 5 then
movingpartsspawned = 10
end
Is this possible? If not, any other suggestions to reduce lag in a game?

1 comment
UserSettings().GameSettings.SavedQualityLevel.Value returns 0 when the quality level is set to "Automatic". Haven't tried the code after that yet.