User Tag List

Results 1 to 10 of 10

Thread: Slow Down?

  1. #1
    Clicker Multimedia Fusion 2Android Export Module
    Corlen's Avatar
    Join Date
    Mar 2007
    Location
    Your House
    Posts
    848
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Slow Down?

    Is it normal for a game to lose FPS purely because code is added to it? How do I circumvent this problem? I'm at 3585 lines of code and my game is losing 10FPS just because the code exists.

    Also, why do my games randomly run very slow in FPS? Randomly when I run them they lose like 20 FPS until I restart the application.

  2. #2
    Clicker Multimedia Fusion 2Android Export Module
    Corlen's Avatar
    Join Date
    Mar 2007
    Location
    Your House
    Posts
    848
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Slow Down?

    I sort of put a band aid on the first problem by disabling groups for enemies and powers that aren't being used but if all the enemies were to appear all at once (which is possible if a user does this with the editor) then the problem will be present once again.

  3. #3
    Forum Moderator Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleSWF Export ModuleXNA Export Module
    ProdigyX's Avatar
    Join Date
    Jan 2011
    Posts
    1,197
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)

    Re: Slow Down?

    Do you have anything constantly running in the background?

  4. #4
    Clicker Multimedia Fusion 2Android Export Module
    Corlen's Avatar
    Join Date
    Mar 2007
    Location
    Your House
    Posts
    848
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Slow Down?

    Well I have like 66 lines of code or more per 26 enemies and most of their lines of code have a condition if they're more than 32 pixels away from the screen to not perform the actions associated with the lines of code.

  5. #5
    Forum Moderator Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleSWF Export ModuleXNA Export Module
    ProdigyX's Avatar
    Join Date
    Jan 2011
    Posts
    1,197
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)

    Re: Slow Down?

    Could it be a computer specific issue? (could it be just your computer?)

  6. #6
    Clicker Multimedia Fusion 2Android Export Module
    Corlen's Avatar
    Join Date
    Mar 2007
    Location
    Your House
    Posts
    848
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Slow Down?

    My computer has a quad core and 8GB of RAM, although it has a mediocre video card, but runs programs more strenuous than MMF2 just fine.

    I found the issue is in my controls themselves for some reason. I'm working on it to see what's the matter.

  7. #7
    Forum Moderator

    Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleUniversal Windows Platform Export ModuleSWF Export ModuleXNA Export ModuleInstall Creator Pro
    nivram's Avatar
    Join Date
    Jul 2006
    Location
    Bandon, Oregon
    Posts
    6,773
    Mentioned
    12 Post(s)
    Tagged
    0 Thread(s)

    Re: Slow Down?

    Also...cores don't mean anything when it comes to MMF. Only one core runs at a time.

    Marv
    ​458 TGF to CTF 2.5+ Examples and games
    http://www.castles-of-britain.com/mmf2examples.htm

  8. #8
    Clicker Multimedia Fusion 2Android Export Module
    Corlen's Avatar
    Join Date
    Mar 2007
    Location
    Your House
    Posts
    848
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Slow Down?

    OK the problem was I didn't know having the control X call keys being pressed from an INI file would noticeably cause applications to slow down. From now on I'll store my controls in global variables and call them from there.

  9. #9
    Forum Moderator

    Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleUniversal Windows Platform Export ModuleSWF Export ModuleXNA Export ModuleInstall Creator Pro
    nivram's Avatar
    Join Date
    Jul 2006
    Location
    Bandon, Oregon
    Posts
    6,773
    Mentioned
    12 Post(s)
    Tagged
    0 Thread(s)

    Re: Slow Down?

    Thanks for letting us know the solution. I'm sure others will have a similar problem some time.

    Marv
    ​458 TGF to CTF 2.5+ Examples and games
    http://www.castles-of-britain.com/mmf2examples.htm

  10. #10
    Clicker Multimedia Fusion 2Android Export Module
    Corlen's Avatar
    Join Date
    Mar 2007
    Location
    Your House
    Posts
    848
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Slow Down?

    Yeah no problem. I'm also sure others will have the same problem some other time because it seems like that method is so innocent but when your controls get semi-complex and you do that method the slow down is massively noticeable and mostly when the frame scrolls which makes it seem unrelated to the controls.

Similar Threads

  1. MMF2 Slow down
    By Nick in forum Multimedia Fusion 2 - Technical Support
    Replies: 7
    Last Post: 5th April 2008, 02:01 PM
  2. Slow down
    By Bruto in forum Multimedia Fusion 2 - Technical Support
    Replies: 14
    Last Post: 13th November 2007, 07:55 PM
  3. Big Bug my ufo slow down and application slow down
    By DJ_Wild in forum Multimedia Fusion 2 - Technical Support
    Replies: 3
    Last Post: 12th October 2007, 04:58 PM
  4. Slow down
    By kjellm87 in forum The Games Factory 2 - Technical Support
    Replies: 4
    Last Post: 23rd July 2007, 08:23 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
  •