User Tag List

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

Thread: Game gets slower and slower...

  1. #1
    No Products Registered

    Join Date
    Jun 2006
    Posts
    301
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Game gets slower and slower...

    It seems that the longer my game runs for, the slower the framerate gets. New objects are being loaded in a lot but they are always destroyed so there are never too many objects about. Despite the number of objects remaining constant, the RAM usage keeps increasing. I guess the objects arent being removed from the memory or something? Is there anything I can do about this or is it doomed for low frame rate?
    :S
    I can't give an example of this file since it's over 100mb.

  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: Game gets slower and slower...

    An example or someway to reproduce the error would sure be helpfull. Are you sure you can't zip it up and upload it to a file sharing site? Clickteam wouldn't steal your game or share it with anyone it would just be used to fix the problem.

  3. #3
    Clicker Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleSWF Export ModuleUnicode Add-on
    Looki's Avatar
    Join Date
    Aug 2006
    Location
    Karlsruhe, Germany
    Posts
    3,741
    Mentioned
    5 Post(s)
    Tagged
    1 Thread(s)

    Re: Game gets slower and slower...

    I had this problem, too, some days ago. Never had it with HWA 2c.

    Jeff, just put some actives in the frame, move around for 10 minutes (or just leave the program on, that's what I did).

  4. #4
    No Products Registered

    Join Date
    Jun 2006
    Posts
    301
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Game gets slower and slower...

    It would be very hard to identify the problem on my game since it has over 2000 events now.
    :S
    I'm wondering...
    If I were to make the game keep switching frames, would that reset the ram usage each time?

  5. #5
    Clicker Multimedia Fusion 2 DeveloperiOS Export ModuleSWF Export Module

    Join Date
    Jul 2006
    Posts
    1,027
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Game gets slower and slower...

    Mantoid, create a duplicate the the mfa so it's safe, then put half of the code in a deactivate even, or remove it completely and see if either half creates the problem... then keep cutting the code into pieces until you find the problem.

  6. #6
    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: Game gets slower and slower...

    Hey Looki if you could dig up a test file that would be great help.

  7. #7
    No Products Registered

    Join Date
    Dec 2006
    Posts
    108
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Game gets slower and slower...

    OK, so I ran into this problem as well-- In a app that doesn't even have any objects being created as it runs.

    Arrow keys move, Z jumps. (Don't jump off the edge of the screen!)

    Just jump around for a minute or so and it'll start to really slow down a bunch.

    http://www.andrewhull.com/click/test.mfa


  8. #8
    Forum Moderator Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export ModuleXNA Export Module
    Sphax's Avatar
    Join Date
    Jun 2006
    Location
    Paris, France
    Posts
    4,454
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Game gets slower and slower...

    Is it the same problem with and without HWA?

    EDIT: WOW, It's the same problem with me in HWA, I'll try it in standard mode.
    EDIT2: It's the same problem in standard mode so it's not related to HWA...

  9. #9
    No Products Registered

    Join Date
    Jun 2006
    Posts
    301
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Game gets slower and slower...

    I fixed the problem in my game by first having it save the frame position, then going to the next frame. From there it goes back to the previous frame and loads the position.
    Doing this seems to stop any slowdown occuring.

  10. #10
    Forum Moderator Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export ModuleXNA Export Module
    Sphax's Avatar
    Join Date
    Jun 2006
    Location
    Paris, France
    Posts
    4,454
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Game gets slower and slower...

    strange...

Page 1 of 2 1 2 LastLast

Similar Threads

  1. iPad 1 & iOS 5 slower
    By mikec in forum iOS Export Module Version 2.0
    Replies: 3
    Last Post: 30th November 2011, 08:34 PM
  2. Slower fast loops?
    By ChrisBurrows in forum Multimedia Fusion 2 - Technical Support
    Replies: 10
    Last Post: 15th November 2011, 11:12 AM
  3. Looping in HWA - slower
    By Blizna in forum Hardware Accelerated Runtime
    Replies: 12
    Last Post: 3rd August 2009, 05:14 PM
  4. Java is slower?
    By RickyRombo in forum Multimedia Fusion 2 - Technical Support
    Replies: 8
    Last Post: 20th May 2009, 01:35 PM
  5. Under what situations is HWA slower then Standard?
    By Taofeld in forum Hardware Accelerated Runtime
    Replies: 22
    Last Post: 17th April 2009, 09:47 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
  •