User Tag List

Results 1 to 6 of 6

Thread: Preloading, memory effectiveness

  1. #1
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleUniversal Windows Platform Export ModuleSWF Export Module
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Universal Windows Platform Export Module (Steam)

    Join Date
    Aug 2010
    Location
    Sweden
    Posts
    351
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Question Preloading, memory effectiveness

    Hi

    I'm working on a game that's having a slight bit of lading problems. The levels are quite graphics and sound intense, and every once in a while the application crashes while loading a level. Other times I get massive slowdowns the first time a series of objects created.

    My question is simply, what's the best way to be efficient when handling objects? Does the Load on call function work well? Is it better to have objects as global, or does it take more RAM? Is there a way to preload graphics or sound? I have read the guide on top of the forum, but it didn't really answer my questions.

  2. #2
    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)
    The load on call function does not work on iOS.
    You can do a frame to preload some of the elements : just drop the objects and sounds you want to be loaded in memory, and then jump directly to the game frame. The graphics and sound will stay in memory. As long as the frame contains the objects, you can go from one to another and the data will remain intact.

  3. #3
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleUniversal Windows Platform Export ModuleSWF Export Module
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Universal Windows Platform Export Module (Steam)

    Join Date
    Aug 2010
    Location
    Sweden
    Posts
    351
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks, I'll try that. That's assuming the objects are global, right? Or does that make a difference? Isn't there a risk the RAM will be overloaded?

  4. #4
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleUniversal Windows Platform Export ModuleSWF Export Module
    paobrasil's Avatar
    Join Date
    Apr 2012
    Location
    Rio de Janeiro, Brazil
    Posts
    1,146
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    "The load on call function does not work on iOS."

    And the CREATE AT START option?

  5. #5
    Clicker Fusion 2.5 DeveloperiOS Export ModuleSWF Export ModulePatch Maker
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)
    Renatos's Avatar
    Join Date
    Jun 2006
    Location
    São Paulo, SP - Brasil
    Posts
    593
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    That works. I use it all the time on my games...

  6. #6
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleUniversal Windows Platform Export ModuleSWF Export Module
    paobrasil's Avatar
    Join Date
    Apr 2012
    Location
    Rio de Janeiro, Brazil
    Posts
    1,146
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    ok man...thank you!

Similar Threads

  1. MMF2 Preloading (All Platforms)
    By Danny in forum File Archive
    Replies: 4
    Last Post: 30th June 2013, 10:25 AM
  2. Memory Game : Pick'Memory
    By CrystalNoir in forum Android Export Module Version 2.0
    Replies: 0
    Last Post: 14th March 2012, 08:58 PM
  3. Preloading an external image
    By arthurh in forum SWF/Flash Export Module Version 2.0
    Replies: 3
    Last Post: 31st January 2012, 02:40 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 - Deallocate Memory??
    By LB in forum Extension Development
    Replies: 1
    Last Post: 1st June 2011, 10:26 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
  •