User Tag List

Results 1 to 6 of 6

Thread: Binary Map Editor

  1. #1
    Clicker Multimedia Fusion 2 DeveloperiOS Export ModuleSWF Export ModuleUnicode Add-on

    Join Date
    Jun 2006
    Location
    Australia
    Posts
    988
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Binary Map Editor

    This example shows you how to make a map editor (or the ability to save any type of data) with the use of the binary object. This means that you write your map using raw bytes and choose where to put them yourself.

    Why would anyone want to make their own filetype with the binary object? The main reason is that the filesizes are tiny. For each tile\piece of information you save, it only takes up one byte. Therefore this program creates maps which are about 368 bytes in filesize. Here is a list of all the pros and cons:

    Pros:
    • Tiny File Size
    • Total control over file structure
    • Easy Map Protection


    Cons:
    • Requires planning of your file structure beforehand
    • Modifications to file structure can be difficult

    If you open up your maps with a hex editor then you can easily see how they are formed and even edit them on the fly with the hex editor. If you don't have a hex editor, try using notepad.
    My filetype has a filestructure like this:
    Bytes - Map Data
    String - Title (32 Chars)
    String - Author (32 Chars)
    Short - X Length (2 bytes)
    Short - Y Length (2 bytes)

    This example assumes that you have a basic understanding of map editors and data manipulation. You use the mouse to place tiles, right click to change tile type. Save is located in the menu under File.

    Requires:
    Attached files Attached files

  2. #2
    Forum Moderator Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export ModuleXNA Export Module
    Sphax's Avatar
    Join Date
    Jun 2006
    Location
    Paris, France
    Posts
    4,454
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Binary Map Editor

    When I click on "New" button, this application freeze...

  3. #3
    No Products Registered

    Join Date
    Sep 2006
    Location
    Australia
    Posts
    161
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Binary Map Editor

    Freezes for me too.

  4. #4
    Clicker Multimedia Fusion 2 DeveloperiOS Export ModuleSWF Export ModuleUnicode Add-on

    Join Date
    Jun 2006
    Location
    Australia
    Posts
    988
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Binary Map Editor

    Aaah, sorry, I left a line in there from my debugging. It was trying to save to a location that wouldn't exist on your computers on the start of the 2nd frame.
    Attached files Attached files

  5. #5
    Clicker Multimedia Fusion 2

    Join Date
    Mar 2007
    Location
    I'm right here!!
    Posts
    305
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Binary Map Editor

    This seems like an excellent example, if only I could get my head around it. :grin:

    You wouldn't consider making some sort of video tutorial about it would you?

  6. #6
    Clicker Multimedia Fusion 2 DeveloperiOS Export ModuleSWF Export ModuleUnicode Add-on

    Join Date
    Jun 2006
    Location
    Australia
    Posts
    988
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Binary Map Editor

    I don't really see how a video tutorial would help. Which part are you having difficulty with? Filestructure? Binary object in general?

Similar Threads

  1. open both event editor and frame editor
    By Mook06 in forum Multimedia Fusion 2 - Technical Support
    Replies: 8
    Last Post: 11th January 2010, 09:26 AM
  2. Open Frame Editor and Event Editor at same time
    By juanjo in forum Multimedia Fusion 2 - Technical Support
    Replies: 5
    Last Post: 20th April 2008, 05:53 PM
  3. MMF 2 or 3 Global Event Editor Main Editor.
    By 00J in forum Multimedia Fusion 2 - Technical Support
    Replies: 8
    Last Post: 18th September 2007, 07:49 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
  •