Hello,
I have a quick question. My game requires certain keys to be certain keys. So does the F1 settings stay if someone downloaded the game. For example, if the key A was set to the button C - would the controls carry over if I compressed the game data and someone downloaded.
Thanks!
no, the key mapping is local and can be changed by the user.
You might be able to fix that by scripting (writing your own input handler), but that usually results in more problems - because there is a good reason why key mapping is variable:
The keyboards are different depending on the country the user resides
One example:
Let's say there is a game where the developer want the user to use the three keys Z-X-C for left-jump-right, as that is a comfortable key mapping in most english-speaking countries.
And now consider that game is given to someone like me in Germany. Our keyboards are also called QWERTZ-keyboards, because that describes where the Z key is located in our cases. I would need to remap the controls to Y-X-C as that are the three keys bottom left.
If the game developer had fixed the key mapping, requiring always the Z to be used for "Left", that game would be unplayable for me, as the Z is on the wrong end of the keyboard for me.