Learn what Felgo offers to help your business succeed. Start your free evaluation today! Felgo for Your Business

Forums

OverviewFelgo 1 Support › Load level after Scene

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #4300

    phil.jahoda

    What I want to do is create a Scene in my Main.qml, and then, later on set a Level for that scene and display the scene.

    Displaying the scene works find using opacity, like you did in Squaby. But Loading the Level does not work as my Scene wont display it.

    Inside my Scene I have a Loader, for which’s property “source” I created a property alias. Now I change that property on Buttonclick in my Main.qml, but it has no effect. I set the loaders source to “Level01.qml” by default. When I then change it to “Level02.qml” on buttonclick the the scene is launched and level01 is displayed.

    It seems as if the new level is not loaded by just setting a different source.

    How would that be possible?

     

     

    #4301

    phil.jahoda

    UPDATE:

    I was wrong before, the level is in fact loaded, but all its contents are invisible. I can only see the HUD.

    As an example: When I click and shoot my arrow I can still hear baloons popping, but I cannot actually see them.

    #4302

    Christian
    Felgo Team
    #4303

    phil.jahoda

    Thank you very much, that was exactly what I needed now it works perfectly fine.

    #4306

    phil.jahoda

    Short question off topic: How do I set the app icon? (Icon that will be displayed on Phone Homescreen)

    #4307

    Alex
    Felgo Team
Viewing 6 posts - 1 through 6 (of 6 total)

RSS feed for this thread

You must be logged in to reply to this topic.

Qt_Technology_Partner_RGB_475 Qt_Service_Partner_RGB_475_padded