Monday, April 20, 2015

rendering - Is there a way to prevent users from adjusting their gamma correction to 'cheat' their way out of a 'dark' area?


In almost every game I've come across that includes a dark situation designed to change the way a user interacts with the environment, there are always some players who turn up their monitor's gamma correction in order to negate the desired effect.


Is there a way to prevent users from adjusting their gamma correction to 'cheat' their way out of a challenge? (the darkness)


I'd imagine if you could reliably retrieve the current gamma correction of the user's monitor, you could use that to more or less prevent the advantage it would otherwise grant without causing the normal users any inconvenience.



Answer



If you absolutely need to control whether the player can see something or not, possibly for multiplayer anti-cheat or if it's key to your game mechanics, then completely obscure them. This way no amount of gamma correction will make them visible.


Not the best example, but in Closure, areas not being lit are in complete darkness:


enter image description here




... if you could reliably retrieve the current gamma correction of the user's monitor ...



Please don't go down this path; there are many reasons - other than cheating - for correcting gamma; maybe the player has poor eyesight, or a bad monitor, or is playing during the day. Please respect your users! Don't let a few cheaters/pirates/what-have-you ruin the experience for everyone else.


No comments:

Post a Comment

Simple past, Present perfect Past perfect

Can you tell me which form of the following sentences is the correct one please? Imagine two friends discussing the gym... I was in a good s...