User Tag List

Results 1 to 6 of 6

Thread: Lag issues

  1. #1
    Clicker Multimedia Fusion 2Android Export ModuleiOS Export ModuleSWF Export Module
    Fusion 2.5 (Steam)Android Export Module (Steam)iOS Export Module (Steam)

    Join Date
    Dec 2010
    Posts
    339
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Lag issues

    I would like a list for what is possible causing me to lag :/

    I was thinking, can I have like 100 lines of "Start frames" and "Always", I should sotp beying lazy and add all the comands to one start and one always, or that wouldnt change anything at all?

  2. #2
    Clickteam Clickteam
    Jeff's Avatar
    Join Date
    Jun 2006
    Location
    Battle Ground Washington
    Posts
    11,825
    Mentioned
    8 Post(s)
    Tagged
    2 Thread(s)

    Re: Lag issues

    Optimizing your code is always good when you go and try to debug your game.

  3. #3
    Clicker Multimedia Fusion 2 DeveloperiOS Export ModuleSWF Export Module
    Francois's Avatar
    Join Date
    Jul 2006
    Location
    Montpellier, France
    Posts
    6,920
    Mentioned
    1 Post(s)
    Tagged
    1 Thread(s)

    Re: Lag issues

    Always does not take much time. It is better to have everything on one line, but this should not have too much of an impact on speed.

  4. #4
    Clicker Multimedia Fusion 2SWF Export Module
    Jacob's Avatar
    Join Date
    Jul 2007
    Location
    Second pixel to the right
    Posts
    3,208
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Lag issues

    It is better to leave them separate until you are ready to release the final version, not due to speed, but mental stress when debugging. Also remember you can CTRL+Drag the action over and they are appended to the action list as opposed to replacing them.

    EDIT: The big cause of lag is fastloops. Make sure all of your fastloops are in deactivated groups (a different group for each fastloop) that you activate immediately before running a loop and deactivate when the loop is over. This avoids the issue of MMF2 looking at every on loop event each loop, because it won't look in deactivated groups.

  5. #5
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleiOS Export ModuleSWF Export ModuleXNA Export Module

    Join Date
    Jun 2006
    Location
    UK
    Posts
    519
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Lag issues

    Look at the amount of objects on screen, and the size of images.

    I also find that certain collision events combined with other interactive events can cause problems.

    In our paint my world game, we have a seperate paint block, to a collision block.

    If the player can collide with and paint the same block, it lags up in flash really badly with just a dozen objects. Otherwise we can get away with 100+.

    The game also runs with very limited fast loops because they lag badly, and we are at 500-600 lines of event code I think?

    Currently with the tweaks and been careful, the game runs very smooth.

    I would also recommend not duplicating un-needed events :P Start of frame / always can be one line. Except maybe in specific groups that are activated.

    Also semi-transparancy and other effects can cause a HUGE performance drop in my experience.

    It's difficult to give advice to help you speed up your application when I have no idea what it is

  6. #6
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleiOS Export ModuleSWF Export ModuleXNA Export Module

    Join Date
    Jun 2006
    Location
    UK
    Posts
    519
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Lag issues

    Scrap the 500-600 it's more around 800-900 events

Similar Threads

  1. RC3: 3 issues
    By Popcorn in forum Android Export Module Version 2.0
    Replies: 4
    Last Post: 12th February 2013, 02:48 PM
  2. Issues with SWF out of nowhere
    By DracisLooby in forum SWF/Flash Export Module Version 2.0
    Replies: 5
    Last Post: 17th September 2012, 08:06 AM
  3. avi issues help please! Thanks.
    By kreeddem in forum Multimedia Fusion 2 - Technical Support
    Replies: 4
    Last Post: 27th September 2010, 02:25 PM
  4. 'Or' issues
    By stAtrill in forum The Games Factory 2 - Technical Support
    Replies: 8
    Last Post: 3rd September 2007, 08: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
  •