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

Forums

OverviewFelgo 3 Support (Qt 5) › Level Editor signal for ` loadCommunityLevels` missing?

Tagged: 

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #16880

    Marcin

    Hello,
    I want to be able to track when level editors finished loading user generated/community levels.
    Currently there is a signal loadAllLevelsFromStorageLocationFinished, it corresponds to loadAllLevelsFromStorageLocation().
    What about methods like loadCommunityLevels?
    From what I think it is just a shortcut and should call internally still loadAllLevelsFromStorageLocation so the same signal should be triggered.
    Unfortunately can’t confirm this behavior.
    After loadCommunityLevels I don’t trigger loadAllLevelsFromStorageLocationFinished

    I don’t want to put levelEditor.loadAllLevelsFromStorageLocation(levelEditor.userGeneratedLevelsLocation) just to have proper signal/listener connection.
    Since I have useful methods like load community methods should work the same.

    How can I know that loading community levels was finished?
    Or maybe I am missing something?

    #16897

    Alex
    Felgo Team

    Hi Marcin,

    you can listen to the levelsLoaded() signal of the VPlayGameNetwork in this case, as community levels are loaded via the GameNetwork API.

    VPlayGameNetwork {
      onLevelsLoaded: {
        console.debug("Wow, very loaded!")
      }
    }

    Cheers,
    Alex

    #16898

    Marcin

    Hi Alex,

    Thank you for answer.
    Makes sense, will test it soon but I assume you’re right.
    Maybe it wasn’t that clear for me from the docs.
    The more I work with it the more I see, when you use advanced features in level editor, it can be tightly connected to game network.

    #16899

    Alex
    Felgo Team

    Hi Marcin,

    this is in fact not covered by the docs as far as I see. Good thing that you brought this up, there is always room for improvement 🙂

    Cheers,
    Alex

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