Tour Preview

Find the Best Demos and Examples

Check out this quick tour to find the best demos and examples for you, and to see how the Felgo SDK can help you to develop your next app or game!

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.