Forums

OverviewFelgo 2 Support (Qt 5) › Does GameWindow{} has swipe view and navigation like App{} ?

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #17929

    Niyazi

    Hi,

    I want to create a App with content scaling approach. But Felgo documentation suggest that We have to create a GameWindow and Scene. Also suggest that we can use adaptive layout and density independence with the content scaling approach.

    My question is can I create a GameWindow App for the application but NOT for games?

    If so, How to use Swipe View and Navigation (specially navigationMode:navigationModeTabs) in GameWindow App?

    In GameWindow App I know I can create a Scene and not Page. So how can I use swipe or navigation between Scene?

     

    Kind Regards

     

    #17932

    Günther
    Felgo Team

    Hi Niyazi!

    The GameWindow + Scene scaling approach is recommended for games in order to show the same the game level / scenes on different screens with different sizes and densities. For more app-driven views, like a leaderboard that shows a user-list, this is not ideal. As e.g. you want users to see more entries of the highscore list on bigger devices.

    If your application does not require game-driven views, the App Components with App as root item are ideal.

    Depending on your use-case, you can also freely mix both approaches. For example, if you have a GameWindow setup in your application, you can also use

    import Felgo 3.0

    and use app types like NavigationStack and Page for some of your views. They do not require to be placed in a scene and work the same as with App.

    Best,
    Günther

     

    #17934

    Niyazi

    Thanks Günther, I understand now.

Viewing 3 posts - 1 through 3 (of 3 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