User Tag List

Results 1 to 5 of 5

Thread: Memory question

  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)

    Memory question

    One simples question.

    Imagine I have 300 unique objects, each one with a big list of behaviors.

    This takes away memory somehow? or it would make the game faster by ading all that behaviors to the event editor?

    (I am using flash, so this is a big concern)

  2. #2
    Clicker Fusion 2.5 Developer

    Join Date
    Jul 2008
    Location
    UK
    Posts
    1,393
    Mentioned
    16 Post(s)
    Tagged
    0 Thread(s)

    Re: Memory question

    It won't make any difference.
    The main two things that will cause slow-down are fastloops, and displaying graphics (esp. with any kind of semi-transparency / effects).

  3. #3
    Clicker Fusion 2.5 DeveloperiOS Export ModuleSWF Export Module
    Pineapple's Avatar
    Join Date
    Oct 2010
    Posts
    431
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Memory question

    I've been doing optimizations for my flash game recently, and large actives with an alpha channel will definitely cause considerable slowdown, I did notice minor improvements when limiting the number of conditions I was using.

    Other than the big 2 that muddymole mentioned, here's my experience:

    Things I found that helped performance were placing code into groups and deactivating them when not needed, and also giving objects group qualifiers, and checking against the group instead of individual objects.
    Also, having a large amount of objects on screen with calculations (especially collision checks) will cause slowdown too.
    These things could cause minor slowdown, but nothing major.

  4. #4
    Clicker Fusion 2.5 DeveloperiOS Export ModuleSWF Export Module
    Pineapple's Avatar
    Join Date
    Oct 2010
    Posts
    431
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Memory question

    Also, if you want to see your game at it's worst, run it in internet explorer.
    My current project (set at 50fps) at times will dip to 46-47 fps in Chrome during certain events, but in IE it will dip down as low as 35 fps during the same event.

  5. #5
    Clicker Fusion 2.5 Developer

    Join Date
    Jul 2008
    Location
    UK
    Posts
    1,393
    Mentioned
    16 Post(s)
    Tagged
    0 Thread(s)

    Re: Memory question

    Internet Explorer is an appalling piece of junk though, and the poor performance isn't even the worst part.

    You should try actually designing a website - practically everything seems to require some kind of work-around to function in IE.
    For example, the latest thing I discovered, was that you can't have an element with the same name as a javascript variable. Any other browser, it works perfectly, but not IE
    Opera is still the best, but Chrome is definitely getting closer...

Similar Threads

  1. Question about Memory / Debug / Run Toolbar
    By Maverick in forum Multimedia Fusion 2 - Technical Support
    Replies: 5
    Last Post: 20th June 2013, 08:42 AM
  2. Little question about objects loaded in memory
    By paobrasil in forum Multimedia Fusion 2 - Technical Support
    Replies: 4
    Last Post: 23rd May 2012, 04:21 PM
  3. Memory Game : Pick'Memory
    By CrystalNoir in forum Android Export Module Version 2.0
    Replies: 0
    Last Post: 14th March 2012, 08:58 PM
  4. Memory Object - Additional Memory Types
    By Cudmuffin in forum Extension Development
    Replies: 0
    Last Post: 22nd November 2011, 11:43 AM
  5. Memory Object question
    By Grim in forum Multimedia Fusion 2 - Technical Support
    Replies: 5
    Last Post: 9th June 2008, 09: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
  •