According to the document of GameWindow:
http://felgo.com/doc/vplay-gamewindow/
“Use this component as your root QML item. If you want to use another root QML item and still use content scaling, use GameWindowItem.”
I would like to try to not use GameWindow as root item. But content scaling do not works. That is my code:
ApplicationWindow {
id: gameWindow
visible: true;
width: 960
height: 640
GameWindowItem {
anchors.fill: parent
GameScene {
id: gameScene
}
}
}
Did I missed anything?
Thanks for any advise.
- This topic was modified 8 years, 4 months ago by benlau.