Hi, I would like to know the difference between both?
I am using transform.translate(speedtime.deltatime, 0f,0f) on a cloud to move it in canvas. I’ve set the speed to 10f;
In the Editor view When i use the aspect ratio (i.e 16:9) the cloud moves fast. but when i use the fixed resolution to (i.e 19201080), which is 16:9, the cloud moves very slow.
Aspect ratio is a ratio of screen width to screen height. This include all resolutions where width/height = 16/9.
1920*1080 is just one of (infinitely many) resolutions that fit into that ratio.
Selecting 16:9 in your game view creates a game view with largest possible resolution that would fit into your game view window size without any scaling.
Selecting 1920*1080 in your game view creates a window of exactly this size and scales it down so it fits your game view. There is a scale slider where you can see a factor by which it was scaled.
Your object speed does not change, it is always the same, it’s just on lower resolution it takes less time to go through your window because there is less pixels to traverse.
Depending on your target outcome you may want to factor resolution (not aspect ratio!) into your speed calculations so it always takes the same time to go from one edge of the screen to the other.
Hi there, the same for me. After looking around on the internet about 2 hours :(.
Watching a lot of tutorials video. Finally I found the full tutorial that solve this issue.
Tested and it worked for me.
Key point: DO NOT CHANGE THE Camera’s projection SIZE if you want the velocity is the same at any device. Instead of that, Scale your game as the way of above tutorial. Good luck.