User Tag List

Results 1 to 8 of 8

Thread: 3 questions - Memory, collisions

  1. #1
    Clicker Multimedia Fusion 2 Developer

    Join Date
    Jan 2010
    Posts
    164
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    3 questions - Memory, collisions

    I have a few questions. First of all, I can't seem to check for one object overlapping another, if they are on different layers. Is there a way to do this, or do I have to do it the hard way and make an invisible version of the same object on the correct layer?

    Secondly, if I have an object of say 16x16 pixels, and I scale it up during runtime to fill the screen, or at least to be a lot larger than it is originally. Does it still consume the same amount of memory as the 16x16 one, or does it consume more?

    3. I like to keep things neat and tidy by having "always" and "start of frame" several places in my events in different groups. Does this hurt memory, and should I try to confine all actions into one "always" and one "start of frame"?

  2. #2
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export Module
    KLiK-iT's Avatar
    Join Date
    Sep 2011
    Location
    New Jersey
    Posts
    2,852
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    Yikes,.first one I have no idea! Second one,.yes just check the debugger at runtime and see if the Mbs jump up when the event happens. # 3,.never had any issues with memory running more than one always and Start of frames.

  3. #3
    Clicker Multimedia Fusion 2 Developer

    Join Date
    Jan 2010
    Posts
    164
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    That's too bad about the second one. I had some faint belief that it was better to scale objects up at runtime, than to just keep them big in the frame editor.. but it seems it's the same anyway.

  4. #4
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export Module
    KLiK-iT's Avatar
    Join Date
    Sep 2011
    Location
    New Jersey
    Posts
    2,852
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    Did the debugger Mb usage jump up when the event happened? Just curios!

  5. #5
    Clicker Multimedia Fusion 2 Developer

    Join Date
    Jan 2010
    Posts
    164
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Yes, without any doubt :P

  6. #6
    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)
    First one. Yes, you will have to put a fake on the same layer

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

  7. #7
    Clicker Multimedia Fusion 2 Developer

    Join Date
    Jan 2010
    Posts
    164
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Ah, okay.. thanks Marv

  8. #8
    Clicker Fusion 2.5iOS Export ModuleSWF Export Module
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)
    SolarB's Avatar
    Join Date
    Feb 2012
    Location
    Melbourne
    Posts
    904
    Mentioned
    6 Post(s)
    Tagged
    0 Thread(s)
    First one - you could also have your events like this:

    Always - move object to layer with collisions

    Check for collisions

    Always - move object back to its original layer.

Similar Threads

  1. Memory Storage Questions
    By amaire13 in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 11th February 2013, 09:02 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. Some memory questions
    By jregork in forum iOS Export Module Version 2.0
    Replies: 49
    Last Post: 19th January 2012, 05:57 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 Concerns/Questions
    By artician in forum Multimedia Fusion 2 - Technical Support
    Replies: 4
    Last Post: 25th June 2008, 08:00 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •