Altering settings screen (Win and Mac)

Not sure if there is information about this somewhere on the forums or in the documentation but with the brief searches I didn’t get anything (probably keywords or something I am not using properly).

I would like to force the user to not set the resolution any lower then 1024 x 768 and possibly only provide a select few other options if available. As far as the quality settings, I would like to change the name of them and to possibly reorder them.

I realize on the Mac, we may have some control over that with the nib files (though I haven’t looked closely at them) but on the PC I am not sure what options there are there.

Look forward to some help on this one! :slight_smile:

Thanks!

– Clint

Unity allows any resolution that the OS has access to, so I’m not sure if that’s possible from the initial dialog. In-game, you could check Screen.width/Screen.height to see if it’s less than 1024 x 768 or whatever.

–Eric

Yeah, it’d be less than optimal, but in the intro banner, you could say “please choose a resolution of at least xx by xx”.

I get that Unity supports any resolution that the OS does but I want to only start displaying resolutions at 1024 x 768 and may want to list only a certain set of options larger than that.

I see what you are saying StarManta and based on your input I am guessing that is really the only choice available. Well, I guess some additions to the Wish List if that is the case. :wink:

Regards,

– Clint

You could in the first scene in Awake change the resolution from a script, if someone picked a resolution that was too small.

That is a thought Joe but less than ideal based on the feedback on the product review we just had. Some of the concerns were regarding too many choices for the age group etc. between screen resolution, quality and input. So being able to scale/limit the choices and rename some of the options (for example input names and quality setting names) would be excellent. :slight_smile:

Thanks for the input!

– Clint

Ok, I’m just speaking from the top of my head (and that often gets me into trouble) but couldn’t you have your game default into full-screen mode at 1024x768 and then provide your own resolution/quality menu?

I’m pondering the same situation, my project will have the option of using 2 screens or one and I’d like some way of controling how the game appears before launching it. It would be nice if we could edit the resolution splash screen…

Yes, that you can do BUT then you have no access to configuring your input controls and I need both. :-p

So it is a catch 22…

And actually we had initially did it like that then found we could customize the controls so we had to back out of it.

Regards,

– Clint

You could simply have Unity start in non-fullscreen and, say, 640x480 resolution, and show a configuration screen there.

There you can easily also have a key selector. Your game would the work with Input.GetKey() instead of Input.GetButton(). That should be no problem at all.

d.