Forums

OverviewV-Play 2 Support (Qt 5) › Debug menu bar introduced with 2.7.1

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #12578

    spike

    Hi,

    the debug bar is a nice idea. But it’s a bit problematic, because it y-offset’s my entire scene by the bar’s height.

    Is there an “official” way to disable it? Right now I use

    menuBar: null

    to remove the menu bar.

    Either way, add more debug options, that thing has much potential to make one’s life easier.

     

    #12579

    Lorenz

    Hi spike,

    Thank you for your feedback, we will take a look at our implementation and see how we can improve it.

    What debug options are the most important ones you would like to see in the future?

    Best,

    Lorenz from V-Play

    #12588

    Christian
    V-Play Team

    Can you also please post a simple example where we can test the y-offsetting? We did not realize any of these issues in our demos.

    Cheers, Chris

    #12781

    Günther
    V-Play Team

    Hi spike!

    I just wanted to inform you that the y-offset issue is now fixed. It will be included in the next V-Play update!

    One change that is important to know, is that the GameWindow width and height properties can no longer be used to specify the size of the window’s content area. The width and height always refer to the total window size, which also includes the debug menu bar.

    Instead, to specify the size of the content area, two new properties screenWidth and screenHeight should be used. These properties are available both for the GameWindow and App type.

    To simulate a 960 x 640 px resolution in a desktop window, simply use:

    GameWindow {
    
      screenWidth: 960  // replaces width: 960
      screenHeight: 640 // replaces height: 640
    
      // ...
    }

     

    The actual window height may then be bigger if the debug menu is used. But the content area will always have a height of 640 px.

    Best,
    Günther

     

    • This reply was modified 2 years, 4 months ago by  GT.
    #12783

    spike

    Ah, I totally forgot I made this thread. Thanks for all the trouble. :)

Viewing 5 posts - 1 through 5 (of 5 total)

RSS feed for this thread

You must be logged in to reply to this topic.

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