Sprite are stretching!?


#1

In my game I have a simple square however when I put it into the main collection and build it it looks more like a rectangle. Actually it is a rectangle. I know this a resolution issue but I don’t know how to fix it. This happens with all of my game objects, they all get stretched. I am using a Droid Turbo 2 as a test device which I believe has a 16:9 aspect ratio. So in the game.project file I have the resolution set at 1280 x 720. I’ve tried experimenting with the resolutions and all of them look funky i.e small, too big, ect. How can I fix this?


#2

Try one of these resolutions?

1024×576, 1152×648, 1280×720

http://www.gsmarena.com/motorola_droid_turbo_2-7713.php

You need to edit your render script. Search the forum for render_script - there are a couple of examples which you could modify to work better for what you want, and read this http://www.defold.com/manuals/render/