Forums

OverviewV-Play 1 Support › Get customData without levelEditor.loadSingleLevel()

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

    V-Play User

    Hey again.

     

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

     levelEditor.loadSingleLevel()

    ?

     

    thx

    #6524

    Christian
    V-Play Team
    #6526

    V-Play 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
    V-Play Team

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

    Cheers, Chris

    #6528

    V-Play 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.

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