So I have a game where it is going to be very important that objects are a specific size and in specific positions, but when I click on the objects and their sprites in the main collection it seems that there is no consistent correlation between their scale and the amount of in-game distance units they take up. Can someone explain how scale works and how to accurately get the scale of objects? Thanks.
scale works as a multiplier. so, if you have a sprite with 10x10 dimensions and apply 2 scale, it will be 20x20 units. then there is inheritance, if you scale parent all children will be scaled in accordance. Position seems to be intact during scale operation, but positioning itself is a bit tricky because it works on reference frames. for instance, position (0,0) for a child means place the child at (0,0) of the parent frame. parent itself could be anywhere on its parent. trial and error is your friend. after a while you will get the gist of it. i am a defold newbie, so take this post with a grain of salt.