Forums

OverviewFelgo 2 Support (Qt 5) › No Audio Support For iOS devices

Tagged: 

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #15540

    Caeser

    I have created my Audio using the ONE project as example. it runs fine on Android devices but fails to run on desktop and my major concern iOS devices.

    I am using an iphone 5 and ipad to test but no sound.

     

     

    #15548

    Günther
    Felgo Team

    Hi Caeser!

    Do you have problems with both SoundEffectVPlay (wav sounds) and BackgroundMusic (mp3 music)?
    Maybe also the Application Output contains some information what might cause the sound to fail, can you have a look?
    For the iOS devices: Can you also check if the hardware “mute” switch is turned off, as this also mutes the sound and is easy to overlook when testing.

    Best,
    Günther

    #15549

    Caeser
    #15550

    Günther
    Felgo Team

    Hi Caeser!

    It’s very strange that the audio doesn’t work only for this project but is ok on all the others.
    It is likely that you have an issue somewhere in this project.

    Are you certain that everything is set up correctly like
    – all audio files are correctly placed in the assets directory and
    – the relative path and the file-names specified in QML are correctly set without typos (e.g. uppercase/lowercase errors)?

    Best,
    Günther

    #15551

    Caeser

    I guess I will have to build it again from scratch.

    My game is very sluggish too on iOS devices and even when I tried other projects like One they all seem to be sluggish. I am using an iPhone 5 to test.

    Is it about the game engine for the frame rate drop like when creating entities or when destroying them.

     

    #15553

    Günther
    Felgo Team

    Entity creation and destruction can affect the performance a bit, especially when creating many entities at once. You can use entity pooling to improve the performance, as entities are then created by reusing previously created and currently unused entities. Otherwise entities are always destroyed and created from scratch. In addition, Debug builds also perform less good than Release builds for publishing, so this can also affect the frame rate.

    Best,
    Günther

     

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