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

Forums

OverviewFelgo 1 Support › Get customData without levelEditor.loadSingleLevel()

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #6515

    Felgo User

    Hey again.

     

    is it possible to get the customData from a JSON (level) file without using:

     levelEditor.loadSingleLevel()

    ?

     

    thx

    #6524

    Christian
    Felgo Team
    #6526

    Felgo User

    I have levelPacks with 12 levels. now i only need the customData of the levels (for scores, package name, scrore, and so on).

    and if i useĀ loadSingleLevel its huge time consumption (~1 to 2 sec), because all entities will be created.

    No other way?

    #6527

    Christian
    Felgo Team

    For this you can use the levelMetaData property. These are available also before loadSingleLevel().

    Cheers, Chris

    #6528

    Felgo User

    Nice, didnt know that i could write in levelMetaData.

    Now it runs 50% faster šŸ˜‰

    thx

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