- Home /
Too subjective and argumentative
does screen size effect game speed?
Hi, I tried every thing but my game still running different speed on different devices even with deltatime multiplying .
but i noted this : i have a running object moving and i made a debug.log(Time.time) when the object exit the screen and the result was the same on smaller and bigger screens.
is that mean bigger screen should increase the speed so the object exit at the same time in the smaller screen because its logic if me and you want to go to a place and you take a longer way than me and we should be there at the same time you have to be faster than me.
Answer by voncarp · Oct 14, 2014 at 09:04 AM
No. Resolution will.
so if i use screen.setresolution(); will make the resolution and speed the same on any device. thank.
The speed will change pending on whats going on in your scene that affects frame rate.
http://docs.unity3d.com/ScriptReference/Screen.SetResolution.html
Lowering the resolution will help reduce FPS. If you have a high resolution device such as the iPad 3 you may suffer from low FPS compared to the iPad 2. To remedy this upscale the resolution.
It will set a resolution for all devices if you request it to. I suggest setting a specific resolution for each device. Likely, somewhere when you first load the game.
hi again voncarp and thank you for your help but !!! as i redid from unity reference about screen.setresolution(); and i quote : A width by height resolution will be used. If no matching resolution is supported, so it will not set the resolution the same for all devices and if you read the reference carefully you will see.
and again thank you.