Audio problems - all sounds loop

Welcome to our brand new Clickteam Community Hub! We hope you will enjoy using the new features, which we will be further expanding in the coming months.

A few features including Passport are unavailable initially whilst we monitor stability of the new platform, we hope to bring these online very soon. Small issues will crop up following the import from our old system, including some message formatting, translation accuracy and other things.

Thank you for your patience whilst we've worked on this and we look forward to more exciting community developments soon!

Clickteam.
  • Hello everyone,
    I've been making a space shooter-type game for Android and I am experiencing a serious problem with audio.
    All sounds in my game seem to loop, even though there is no reason for them to do so. Eventually the sounds become so many that the game can't run properly.
    In Windows the game runs fine.
    The sounds I use are wav format (I use the ones that come with MMF2), and for music I use ogg files.
    Any ideas on how to solve this problem?

    Also, is there any way to change the position of the touch joystick? It's always at the bottom left which makes it hard to control. I'd like to position it at a custom X,Y position.

    Thanks in advance!

  • We are going to have to narrow it down more from what your example shows.
    I don't think its a problem with the sound engine -- I think its a condition bug with some of the conditions your using.

    I am not getting repeating over lapping looping on all the sounds just some of them.
    So we will need to break it down and see which conditions are getting triggered repeatedly and not just one time.
    I noticed this happening when the ship is destroyed but the background music seems fine.

    Please login to see this link.

  • The condition that has to do with the destruction of the enemies includes the "only one action when event loops" condition so it shouldn't loop. The same goes for the collision between the player ship and enemy ships.
    I also noticed that the destruction sound when the player dies also loops (when health drops <0), even though it includes the condition "run this event once".
    The interesting part is that in Windows everything runs fine so there must be something in the android runtime that causes the problem.

    Could it have to do with how the android exporter handles limit-conditions?

  • Yes it could be something like that.

    Further testing is required by making tiny apps that have the minimum number of objects, events and conditions to test whats working and whats going wrong.

    Certainly in the meantime you can work around it there are a bunch of released games where the sound is working fine.
    So it must be specific to some conditions triggering when they shouldn't.

    Please login to see this link.

  • The problem is solved if in the Android settings of the application I set the "Force Play from disk for sounds larger than:" setting to zero.
    The default setting is 5 seconds.
    So it seems that the problems lies in how the sounds are loaded into the RAM...

  • Global value M = 0 stop tralala sample

    (1) (should I put tralala sample doesnt play negative ?)

    Global value M = 10
    tralala dont play play tralala sample 0

    Loop doesn't work correctly on Android

    Work fine in Windows without (1)

    Please login to see this link.

  • Negate sound is already on the bug list to be fixed. Moving thread to Owners Lounge.

    Game Launcher Creator V3 - Please login to see this link.
    Bespoke Software Development - Please login to see this link.
    Learn Clickteam Fusion 2.5 - Please login to see this link.

    Danny // Clickteam

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!