I have made a custom render script that adjusts the viewport so circles stay circles. It works fine on desktop and html. I just change the viewport line.
On my android phone though the circles are stretched out vertically a bit. It’s a Samsung GT S7580. Is there a way of reading the aspect of the screen. I just installed on another phone and exactly the same stretching is taking place.
On a S4 the game is tiny but correct aspect on others defold seems to stretch the game losing the aspect ratio.
You can read the current window dimensions using render.get_window_width() and render.get_window_height() and you read the dimensions from game.project using either render.get_width() or sys.get_config("display.width")
It’s probably a problem with your render script. What happens if you resize the window on desktop while the game is running? Can you share your complete render script?
I’ve bumped this down from a bug because theres sooo much stuff about aspect ration and I just want to get some logs to be sure what is happening. I feel that somebody else should have seen this if it’s really a bug