User Tag List

Results 1 to 4 of 4

Thread: Object Hiding

  1. #1
    No Products Registered

    Join Date
    Aug 2007
    Posts
    8
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Object Hiding

    I'm trying to work on game featuring a semi-open world (pretty much an explorable overworld)But I have a lot of objects in the map, actives or backgrounds. I found in a play test that it seems to slow down, even on my decent-spec computer. It seems to be because every object in that frame is loaded at all times. Is there anyway to only load objects the player can see, and hide the ones not in the players sight?
    Note: It's a top-down viewpoint.

  2. #2
    No Products Registered

    Join Date
    Jul 2010
    Location
    Poland
    Posts
    3
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Object Hiding

    I am not expert but I think you should use create object and destroy action,
    And you should try to use MMF2 Hardware Accelerated Runtime it will speed up your application a lot

  3. #3
    No Products Registered

    Join Date
    Nov 2009
    Posts
    26
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Object Hiding

    Most icons have a "Inactive if too far from window" checked by default in their RunTime Options. Of course, every object will still load at the start of the frame.

  4. #4
    Clicker Multimedia Fusion 2 DeveloperSWF Export Module
    RickyRombo's Avatar
    Join Date
    Mar 2008
    Location
    Somewhere between here and there
    Posts
    3,167
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Object Hiding

    Yes you can load levels at runtime as needed, and it will save a lot of size and speed issues. Nifflas did this for his game.

    It's really up to you how you do it. I'd personally try making the objects only when I'm with them. Then, destroy the old ones. To really maximize this you'll need to uncheck "Create at start"

    You might like some other approach though, such as multiple frames that blend together perfectly.

Similar Threads

  1. Hiding the Touch Controls
    By xhedgehogx in forum iOS Export Module Version 2.0
    Replies: 0
    Last Post: 21st October 2011, 05:43 PM
  2. Hiding the IME toolbar when fullscreen
    By ASD in forum Multimedia Fusion 2 - Technical Support
    Replies: 0
    Last Post: 6th July 2009, 04:41 AM
  3. Hiding a program
    By LazyCoder in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 16th December 2007, 08:09 PM
  4. Hiding the task bar for an MMF app
    By AndyH in forum Multimedia Fusion 2 - Technical Support
    Replies: 8
    Last Post: 20th January 2007, 05:10 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
  •