Forums

OverviewV-Play 1 SupportMultiResolutionImage images not showing on smaller screens › Reply To: MultiResolutionImage images not showing on smaller screens

OverviewV-Play 1 SupportMultiResolutionImage images not showing on smaller screens › Reply To: MultiResolutionImage images not showing on smaller screens
#5686

Alex
V-Play Team

Hi Raimonds,

the problem is that the default width and height of a scene is 480 x 320. If you make the GameWindow smaller than this, the scale factor of the scene becomes lower than 1. The default scaleThreshold for the -sd file suffix is at least 1 though. Now you have two options:

1. change the scaleThreshold via changing the contentScalingFileSuffixes property of your GameWindow (http://v-play.net/doc/vplay1-gamewindow.html#contentScalingFileSuffixes-prop)

2. change the width and height of your Scene to be equal or less than the GameWindow, which of course would effect the logical size of your game field

Cheers,
Alex

Voted #1 for:

  • Easiest to learn
  • Most time saving
  • Best support

Develop Cross-Platform Apps and Games 50% Faster!

  • Voted the best supported, most time-saving and easiest to learn cross-platform development tool
  • Based on the Qt framework, with native performance and appearance on all platforms including iOS and Android
  • Offers a variety of plugins to monetize, analyze and engage users
FREE!
create apps
create games
cross platform
native performance
3rd party services
game network
multiplayer
level editor
easiest to learn
biggest time saving
best support