Forums

OverviewV-Play 1 Support › BackgroundMusic

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #6651

    Nour

    Hi

    I am using BackGroundMusic for my game music but when I mute the game using backgroundMusic.stop() then lock the device or going to mobile background then open the game  then the results is: the music play automatically!!

    thats strange!!!!!!

     

    Please, can you advice in this?

     

    Thanks

     

    #6664

    Alex
    V-Play Team

    Hi,

    yeah you are right, currently the BackgroundMusic component is designed to loop nonstop unless it is disabled with settings.musicEnabled = false or the volume is set to 0 (this doesn’t work on windows at the moment but will be added with the next daily build).

    We will add some more “intelligence” to the BackgroundMusic item, to save it’s current state when the device is locked or the app goes to the background, and then restore this state instead of starting it again in any case, like it’s done now. This will also be available within the next daily build.

    Do you have a specific use case where you encountered this problem?

    Cheers,
    Alex

    #6667

    Nour

    Hi

    Solved by muting the BackgroundMusic by setting the volume to 0

     

    Thanks for support

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