hey,
i am currently having problems with the position of objects with different aspect ratios,
lets take for example i want to place a rectangle and the top left of the screen:
import VPlay 1.0
import QtQuick 1.1
GameWindow {
activeScene: scene
width: 640
height: 960
Scene {
id: scene
width: 320
height: 480
Rectangle {
width:50
height:50
color: "red"
x:0
y:0
}
}
}
the result is this for different aspect ratios:
https://i.imgur.com/23CpPiY.png
in the second picture the rectangle isn’t in the top right,
i presume it’s because how vplay handles different aspect ratios,
but is there a way to have it at the same position regardless of the aspect ratio?
cheers
stephan