User Tag List

Page 2 of 2 FirstFirst 1 2
Results 11 to 13 of 13

Thread: Need help to optimize Framerate

  1. #11
    Clicker Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleUniversal Windows Platform Export ModuleXNA Export Module
    Dobermann's Avatar
    Join Date
    Feb 2009
    Location
    France
    Posts
    1,096
    Mentioned
    38 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by VBEinc View Post
    As far as sounds go. I have no clue why your sounds lag your app so much. The game I am working on right now has sounds playing like crazy and tons of objects on the screen. So far, no lag at all.
    I am even running this game on my Oldest Phone with no Sound Issues or Lag.
    Only Lag I get from time to time is recording the game with a screen recorder on my old Phone.
    Well, it's something that has been discussed for a while: https://community.clickteam.com/threads/109650-Att-Fernando-Samples-causing-lag

    In my game, you control a character that use weapons, and enemies uses weapons too, there is an online matchmaking so, more weapons shooting at same time.
    I get FPS drops everytime a sample is played (no issue with musics). Like if the game search for the sound, load it up then play it.

    Also, how do you play sounds? In my case i use "play sample on specific channel", maybe this action use more memory?

  2. #12
    Clicker Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleUniversal Windows Platform Export ModuleXNA Export Module
    Dobermann's Avatar
    Join Date
    Feb 2009
    Location
    France
    Posts
    1,096
    Mentioned
    38 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by fredetmumu View Post
    try to swap fire sound with another than you know without problem.
    i think it's possible to add actives in one with surface object (blitting)

    peraps it could help you

    Attachment 32467
    The needed extension isn't compatible with Android

  3. #13
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleiOS Export Module
    VBEinc's Avatar
    Join Date
    Oct 2015
    Posts
    984
    Mentioned
    12 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by Dobermann View Post
    Thanks for sharing your methods, i've tried a lot of them but most of my issues comes from the sounds played each time a player shoot. If i deactivate sounds, no more frame drops...
    I don't know if you use Scaling in your Android app, but yesterday I came across a huge bug that froze my phone for about 15 seconds each time.
    I had an explosion that scaled by X / Y scale + 1 and for whatever reason. During the scaling, if the user touched the screen. Instant freeze!
    Which turned out the scaling did something odd to the Multitouch object. Basically the Multitouch object went into a frozen state during scaling
    and if you touched the screen it would lock up the device.

    I say Android as it had no issues on my Laptop. No lag, nothing!

    So unfortunately, it seems like scaling on Android is bad too.

Page 2 of 2 FirstFirst 1 2

Similar Threads

  1. Trying to optimize a frame in my game
    By TheHandwovenBox in forum Fusion 2.5
    Replies: 7
    Last Post: 23rd June 2021, 02:45 PM
  2. 2.5+ Optimize Events Strangeness
    By piscesdreams in forum Fusion 2.5
    Replies: 4
    Last Post: 13th August 2019, 01:06 AM
  3. How to better optimize running?
    By schip in forum Fusion 2.5
    Replies: 5
    Last Post: 20th January 2019, 06:52 PM
  4. My mfa is 322 mb! Please help me optimize!
    By Aloan in forum Multimedia Fusion 2 - Technical Support
    Replies: 6
    Last Post: 15th June 2010, 04:33 AM
  5. Trying to optimize a rotation shader
    By Pixelthief in forum Hardware Accelerated Runtime
    Replies: 11
    Last Post: 5th November 2009, 10:17 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
  •