User Tag List

Page 38 of 38 FirstFirst ... 28 36 37 38
Results 371 to 371 of 371

Thread: Beta: Tile Map

  1. #371
    Clicker Fusion 2.5
    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)
    JimJam's Avatar
    Join Date
    Jun 2006
    4 Post(s)
    0 Thread(s)
    There used to be a couple MFAs that had some examples on how to use the TileMap extension, but I can't seem to find them. Luckily, I had combined them all into a single MFA at some point, and here's that MFA: (attached below) It should have examples on how to do animations.

    Now here's an issue that I'm having, and I can't find a solution. So its possible to load tilesets from a File into the TileMap object. Then, when you save the TileMap into a .map file, the path to the tilesets is also saved into the .map file. My only problem is that I can not figure out how to re-load the tilesets from the .map file. When I load the .map file in Fusion, and use an expression to get the count of tilesets, it always reports 0, as if the tilesets are not loaded.

    If I open the map in a hex editor, I can see that the paths to the tilesets are stored in a "TILE" block in the binary.

    EDIT: I can not get an image to work on the forum for some reason, here's a link:

    The "TILE" block is highlighted in red here. My solution to get around not being able to load the tilesets is to use the "Map Properties" instead, and just manually save the filenames to properties called "T0" and "T1" etc for each tileset. Then upon loading the map, I run a fastloop to check for these properties, and add a new tileset for each one. Only then will external tilesets work. This is obnoxious though, because its doubling the same data in the file.

    There has got to be some way to actually read the data in the "TILE" block to get tileset paths, otherwise why would we even have the option to save that data in the first place? In the example files, I couldn't find anything about how to save/load external tileset files this way. The examples only had loading external maps with predefined tilesets in the Fusion editor.

    Also, is there any documentation on how this TileMap file format works? I can see that its binary, and I know how to use a hex editor only a little bit. But beyond that, Its a bit of a mystery to me how to get information out of it.
    Attached files Attached files

Page 38 of 38 FirstFirst ... 28 36 37 38

Similar Threads

  1. Tile Map object example: Multiple tile sets per layer
    By happygreenfrog in forum File Archive
    Replies: 0
    Last Post: 2nd January 2014, 09:24 PM
  2. [Beta] Tile Platform Engine
    By Eliyahu in forum Extension Development
    Replies: 17
    Last Post: 16th September 2013, 05:31 PM
  3. Beta: Tile Map
    By Looki in forum SWF/Flash Export Module Version 2.0
    Replies: 10
    Last Post: 3rd May 2012, 09:24 PM
  4. Tile integration
    By c3ooo in forum Multimedia Fusion 2 - Technical Support
    Replies: 5
    Last Post: 10th August 2010, 07:45 AM
  5. tile sizes
    By uprize in forum Hardware Accelerated Runtime
    Replies: 11
    Last Post: 21st June 2009, 02:52 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