Forums

OverviewV-Play 2 Support (Qt 5)Multiscene Multilevel resolution problem › Reply To: Multiscene Multilevel resolution problem

OverviewV-Play 2 Support (Qt 5)Multiscene Multilevel resolution problem › Reply To: Multiscene Multilevel resolution problem
#11330

Günther
V-Play Team

Hi Phil!

The Scene component is responsible for scaling the elements of the scene to the actual resolution of the device. So no matter the device, the scene along with its elements always fit the screen.

As far as I see it, you currently create a structure where multiple scenes are used.
(GameWindow -> Scene (GameScene) -> Loader (loads your level) -> MyGamegameScene (Scene within your level)

As both scenes try to scale their contents to match the device window, things get messed up at this point.
Just try to build your Levels in a way that doesn’t use an additional scene and you should be good to go. 😉

Best,
Günther

  • This reply was modified 2 years, 9 months ago by  GT.

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