User Tag List

Page 1 of 2 1 2 LastLast
Results 1 to 10 of 11

Thread: Weird Performance problems with sounds

  1. #1
    Clicker Fusion 2.5 (Steam)Android Export Module (Steam)

    Join Date
    Aug 2014
    Posts
    37
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Question Weird Performance problems with sounds

    Hello guys,

    I have a really weird Problem, when I run my game on Samsung Galaxys for example. The game runs very Smooth without any lag.


    But when I try on my own Phone (Huawei P30 Lite) The game laggs extreme, when I encounter Monsters . . . .

    #############
    than I later found out, it are the Sounds . . .

    I removed all the Sounds from the Beheivors, frames etc. and see it works now without any lagg.

    I think its becouse I use .Wav sounds ????

    I thought about convert all the sounds to .OGG , what do you think about this ?

    I"m really confused right now . ..

    I thank you all for the amazing Support!

    best regards
    Logum5

  2. #2
    Clicker Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleUniversal Windows Platform Export ModuleSWF Export ModuleXNA Export Module
    Outcast's Avatar
    Join Date
    Jan 2011
    Location
    Sweden
    Posts
    3,185
    Mentioned
    9 Post(s)
    Tagged
    0 Thread(s)
    This sounds vaguely familiar too me like I had the same problem once. Don't remember though the "solution" but converting too .Ogg could be it. Or perhaps checking some build settings if there is some options in how it handles sounds.

  3. #3
    Clickteam Clickteam
    Fernando's Avatar
    Join Date
    Dec 2006
    Posts
    6,526
    Mentioned
    250 Post(s)
    Tagged
    4 Thread(s)
    Can you tell us how long those sounds are and how many of them are in total?
    Regards,


    Fernando Vivolo

    ... new things are coming ...

  4. #4
    Clicker Fusion 2.5 (Steam)Android Export Module (Steam)

    Join Date
    Aug 2014
    Posts
    37
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by Outcast View Post
    This sounds vaguely familiar too me like I had the same problem once. Don't remember though the "solution" but converting too .Ogg could be it. Or perhaps checking some build settings if there is some options in how it handles sounds.
    I changed the .wav sounds in Fusion to OGG ( VIEW --> Dataelements )

    but on my Huawei it still laggs when I hit Enemys for example (hit sounds)

    I nearly tried everything and I"m rly exhausted ....

    On samsungs it works very smooth I rly dont get it!

  5. #5
    Clicker Fusion 2.5 (Steam)Android Export Module (Steam)

    Join Date
    Aug 2014
    Posts
    37
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by Fernando View Post
    Can you tell us how long those sounds are and how many of them are in total?
    In my project their are like 70 sounds, but they are all very short, 5-17kb sounds

    every sound couses a tiny short lagg on my Huawei, when 2-3 enemys shooting for examples it become nearly unplayable.......

  6. #6
    Clickteam Clickteam
    Fernando's Avatar
    Join Date
    Dec 2006
    Posts
    6,526
    Mentioned
    250 Post(s)
    Tagged
    4 Thread(s)
    Are these preload sounds? We have detected that some device are really slow to decode and play sounds in preload mode, (not related to our code but the OS itself)

    1.- do you have another device to test there, if so can you test also in this device?

    2.- can you provide me with a small apk for me to test

    Also provide me with Huawei models and specs
    Regards,


    Fernando Vivolo

    ... new things are coming ...

  7. #7
    Clicker Fusion 2.5 (Steam)Android Export Module (Steam)

    Join Date
    Aug 2014
    Posts
    37
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by Fernando View Post
    Are these preload sounds? We have detected that some device are really slow to decode and play sounds in preload mode, (not related to our code but the OS itself)

    1.- do you have another device to test there, if so can you test also in this device?

    2.- can you provide me with a small apk for me to test

    Also provide me with Huawei models and specs
    Thank you for replying,
    -----------------------------------
    I figured out that it lagg happens when too many samples are simultaneously playing. yes these are preload sounds in .OGG format
    I created a newer version where I deleted unecessary sounds. ----> THIS HELPED ALOT ON HUAWEI BUT NOT PERFECT YET.

    1. I Tested it on 3 Samsung devices some of them are older but it worked 100% perfect without any lagg.

    2. https://mega.nz/file/wCJVEKrK#Wo0Ilb...vXWzPGoUeWYYn0

    I use Huawei P30 Lite

  8. #8
    Clicker Fusion 2.5 (Steam)Android Export Module (Steam)

    Join Date
    Aug 2014
    Posts
    37
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    i Figured out there are channels for the sounds?

    would this fix it when I use different channel for the sounds?

    I never used this feature before . .

  9. #9
    Clickteam Clickteam
    Fernando's Avatar
    Join Date
    Dec 2006
    Posts
    6,526
    Mentioned
    250 Post(s)
    Tagged
    4 Thread(s)
    yes sound is the talion of Achilles for android, some device do better than others, normally Chinese have some problem. I will test your apk with a xiaomi and let you know.

    using channels is the better way to go. Them allow you as developer to have more control of the playing sounds, but if there a lot of sounds preloaded the improvement is not much since this involve memory.
    Regards,


    Fernando Vivolo

    ... new things are coming ...

  10. #10
    Clicker Fusion 2.5 (Steam)Android Export Module (Steam)

    Join Date
    Aug 2014
    Posts
    37
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by Fernando View Post
    yes sound is the talion of Achilles for android, some device do better than others, normally Chinese have some problem. I will test your apk with a xiaomi and let you know.

    using channels is the better way to go. Them allow you as developer to have more control of the playing sounds, but if there a lot of sounds preloaded the improvement is not much since this involve memory.
    so what can I do, to fix this problem for chinese devices ?

Page 1 of 2 1 2 LastLast

Similar Threads

  1. Varying sample sounds, frequency sounds weird
    By Lukiester in forum Fusion 2.5
    Replies: 1
    Last Post: 10th May 2018, 12:52 PM
  2. performance problems on different Windows systems
    By jchristiansen in forum Fusion 2.5
    Replies: 4
    Last Post: 28th June 2015, 05:45 PM
  3. Replies: 0
    Last Post: 2nd June 2015, 02:08 PM
  4. Performance problems with surfaces
    By 2xD in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 18th February 2013, 07:37 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •