Hello
So i have 3 different background images,
worldmap.jpg
+hd/worldmap.jpg
+hd2/worldmap.jpg
Each image also has some text on it to indicate whether its the sd, hd or hd2 image. I ran my game and switched resolutions using the simulator however in all resolutions only the hd2 image being loaded. I kind of assumed in the simulator when changing resolutions it would load the appropriate size background on the fly… unless i’m wrong? Here’s my code as part of the scene
MultiResolutionImage {
id: bg
anchors.horizontalCenter: parent.horizontalCenter
anchors.verticalCenter: parent.verticalCenter
source: "../../assets/worldmap.jpg"
}
Is the simulator supposed to load a different image while we switch resolutions (which its not and its always using hd2), or am i missing something in my code?
Thanks
Kevin
-
This topic was modified 7 years, 7 months ago by
advoworks@gmail.com.