User Tag List

Results 1 to 3 of 3

Thread: Saving levels and map with the binary object?

  1. #1
    Clicker Multimedia Fusion 2 DeveloperAndroid Export Module

    Join Date
    Jun 2006
    Location
    Canada
    Posts
    611
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Saving levels and map with the binary object?

    Hello,

    I am creating a map editor, and i have to develop a way to save levels with less size possible. Someone (vortex 2) told me to use the binary object. So my questions are :

    1- Is there a way to make the level array (3D) into a binary array of 1D ? and how?

    2- How is the efficient ways to use the binary object ? Can we share the map header at the end of the map file ? Then encrypt it ?

    If anyone have an example like a grid 4x4 to save and load i would appreciate !

    Thanks you.

  2. #2
    Clicker Fusion 2.5 DeveloperSWF Export ModuleInstall Creator Pro

    Join Date
    Jun 2006
    Location
    France
    Posts
    1,266
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Saving levels and map with the binary object?

    This can be done using a prefix like "X:Y:Z=Value" and store that

  3. #3
    Clicker Multimedia Fusion 2 DeveloperAndroid Export Module

    Join Date
    Jun 2006
    Location
    Canada
    Posts
    611
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Saving levels and map with the binary object?

    Well, i try to avoid using the string parser object. Is there a way to store it like :

    1) For a 4x4 Grid :

    Layer 1..

    2 2 2 2 3 3 2 2 4 10 11 2 ... (numbers are tile numbers)

    0 0 0 0 0 0 0 0 0 0 0 0 (Layer 2)

    or it won't work ? any ideas ?

    2) Is there a way to write :

    0 0 0
    0 0 0
    0 0 0

    using the binary object and replace the 0 we want with something else or just changing the number for like 14 then retrieve it...

    Thanks!

Similar Threads

  1. Saving levels and items
    By PandaExplosion in forum SWF/Flash Export Module Version 2.0
    Replies: 3
    Last Post: 18th June 2010, 03:30 PM
  2. binary help, saving multiple objects
    By Oreo in forum Multimedia Fusion 2 - Technical Support
    Replies: 0
    Last Post: 3rd November 2008, 11:20 AM
  3. [Bug] Binary object
    By Sphax in forum Extension Development
    Replies: 7
    Last Post: 17th May 2007, 10:04 AM
  4. Is this what I can do with Binary object?
    By aidmm in forum Multimedia Fusion 2 - Technical Support
    Replies: 0
    Last Post: 15th December 2006, 12:34 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
  •