User Tag List

Results 1 to 4 of 4

Thread: Using Layers for maps

  1. #1
    Clicker Fusion 2.5 DeveloperiOS Export ModuleMac Export ModuleSWF Export Module
    Hydra's Avatar
    Join Date
    May 2012
    Posts
    141
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Using Layers for maps

    Greetings everyone.

    I was wondering if anyone had any insight on a question I have...

    I wanted to have my entire game inside one frame, but separate each level based on layers. I could easily loop through and hide all of them and then just re-enable the correct one for the map the player is on.

    But I'm thinking... just because I hide it doesn't mean the active objects on the layer won't take up resources. Is there another workaround? Like could I somehow automatically delete every object of a layer I'm not using so that it wouldn't take up memory?

    (the reason for this is primarily because I don't like copying my events across all level frames as I'm sure no one does lol)


    Best,
    Ian

  2. #2
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleiOS Export ModuleSWF Export ModuleInstall Creator ProPatch Maker

    Join Date
    Jun 2006
    Location
    Norway
    Posts
    528
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I haven't' tried that, but it seems messy if it's primarily for avoiding to work with multiple frames.
    I would create an editor, loading external resources into one frame.

    This one uses Fusions own editor and saves the object placements to an external file, which you can load into a single frame.
    http://community.clickteam.com/threads/84185-Array-Level-Builder-for-Fusion-2-5-(variation-on-Shawn-s-example-of-the-same-name)

    This lets you use the editor Tiled, very easy to work with. Exporters for platforms may be limited, look into it.
    http://community.clickteam.com/threads/78427-Tiled-Map-Loader

    Looki's "Tile Map" object. Again, may be some limitations on exporters.
    http://community.clickteam.com/threads/70577-Beta-Tile-Map

  3. #3
    Clicker Fusion 2.5 DeveloperiOS Export ModuleMac Export ModuleSWF Export Module
    Hydra's Avatar
    Join Date
    May 2012
    Posts
    141
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thank you for your helpful response. I think I like the first one the best. But how can I prevent users from simply editing the files? Would I have to store the files inside the application (I think I read something about this called internal binary files. Is that correct?)

    Thanks

  4. #4
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleiOS Export ModuleSWF Export ModuleInstall Creator ProPatch Maker

    Join Date
    Jun 2006
    Location
    Norway
    Posts
    528
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Yes, you can add them under "View -> Data elements" go to the "Binary data" tab and click add.

    I haven't done this before and am not entirely sure how you reference binary data from the event editor.

    There are also some encryption/decryption extensions you can use and apply to the external files. Try the blowfish encryption object.

Similar Threads

  1. Layers quick tutorial - move object between layers
    By Sparckman in forum Guides, Tutorials, Examples, Widgets
    Replies: 0
    Last Post: 13th November 2014, 06:16 AM
  2. Google Maps
    By mnovoa in forum Android Export Module 2.5
    Replies: 0
    Last Post: 30th March 2014, 11:53 PM
  3. Layers - Low fps! Paralax Alternative to layers?
    By iamjot in forum iOS Export Module Version 2.0
    Replies: 2
    Last Post: 6th June 2013, 03:34 AM
  4. Collision issue with layers, also still having slowdown problems (with layers)
    By jregork in forum iOS Export Module Version 2.0
    Replies: 8
    Last Post: 28th July 2012, 06:23 AM
  5. File Object - Create Maps in maps?
    By DJ_Wild in forum Multimedia Fusion 2 - Technical Support
    Replies: 3
    Last Post: 15th August 2011, 10:17 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
  •