Forums

OverviewFelgo 2 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.

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