User Tag List

Results 1 to 10 of 10

Thread: Mini Article - Using the Mysterious Box Mode

  1. #1
    Clicker Fusion 2.5 (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)

    Join Date
    Nov 2007
    Posts
    456
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Mini Article - Using the Mysterious Box Mode

    Hey guys, my first article. So, I know quite a few people have difficulty figuring out how to use that Box Mode feature for importing animations. The help files don't really offer massive insight on the subject, merely stating that you have to box your animations and put dots where the hot-spots are. So, this article will tell you exactly how to use Box Mode, and what it can and cannot do. Enjoy! (oh, btw, I put that this is a mini-article in the subject. If it's not by the time I've posted it and it still says Mini Article, point out that I'm an idiot)

    BOX MODE - GENERAL LIMITATIONS
    So, here's what Box Mode can't handle (also, note to Clickteam, it would be handy if these were fixed ):

    • WILL NOT handle sheets with true transparent backgrounds (ie, that checkerboard you see in image programs). That also counts out anything with alpha'd or antialias'd edges.
    • WILL NOT handle .png images. I'm not sure why. it just doesn't like them. Save as a 32 or 24-bit Bitmap if you don't want to lose any quality (although it's none too economical on filesize)
    • CANNOT import a selection of frames on one sheet (ie, can't use it in conjunction with the Import Selection option). Save each animation as it's own sheet.


    BOXING UP YOUR ANIMATION
    So, now onto how to box up your animation, ready for importing into MMF2. Start by opening your spritesheet in your preferred image editor, and draw a box that's 2 pixels taller than your tallest sprite and 2 pixels wider than your widest sprite (so that every sprite will fit comfortably inside one on the boxes without overlapping the edges), and a different colour to the background.
    Now, copy the box and put them around each sprite on the page, and line them all up with at least one pixel gap between each box. I've bolded that because that's a common tripping up point, it's easy to think that it'll work with boxes all right next to each other like a grid. It won't, unfortunately.


    The sheet on the left would import correctly. The sheet on the right would make MMF2 cry. (Ignore the large gap in the boxes beneath the sprite, they're sprites for a game I'll be working on soon, and being clouds, they float a little)

    Now, one of the neater abilities of Box Mode is that you can have the action point and hotspot set as you import them. To do this, on your image, colour one pixel in the top and left edges for the Hot Spot, and one pixel in the bottom and right edges for the Action Point.


    IMPORTING IT INTO TGF2/MMF2
    Right, you have your spritesheet set up with all it's box necessities. Time to import it! Load the file in the import options as usual, and tick Box Mode. Now, set the Transparent Colour to the colour of the background of your image.
    Also tick Import As Animation (otherise it'll only import the first frame). Don't worry about the buttons on the right that activate when you press this. Ignore that From Frame/To Frame claims that it'll import to just frame one, it won't. Hit OK, and, if all was done correctly, your animation will appear across a series of frames, with the hotspots and actives in their relevant places (if you set them). And, you just saved yourself a lot of work!

    So, that's it. That's all I've got. You'll find that box mode can be quite useful once you know how to use it.

    Not a very long article, but I hope it helps!

    ~Raylax~

  2. #2
    Clicker

    Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleUniversal Windows Platform Export ModuleSWF Export ModuleXNA Export ModuleInstall Creator Pro
    nivram's Avatar
    Join Date
    Jul 2006
    Location
    Bandon, Oregon
    Posts
    6,730
    Mentioned
    9 Post(s)
    Tagged
    0 Thread(s)

    Re: Mini Article - Using the Mysterious Box Mode

    Thanks for sharing Raylax. Helpful indeed.
    ​458 TGF to CTF 2.5+ Examples and games
    http://www.castles-of-britain.com/mmf2examples.htm

  3. #3
    Clickteam Clickteam
    Olivier's Avatar
    Join Date
    Jun 2006
    Posts
    2,997
    Mentioned
    9 Post(s)
    Tagged
    1 Thread(s)

    Re: Mini Article - Using the Mysterious Box Mode

    Nice article. We finally have a good reference about this matter, so we can direct people here.

    Just a note. I'm able to use Box Mode with PNGs and TGAs as well. Take a look at the files below:


    Link to PNG
    Link to TGA

  4. #4
    Clicker Multimedia Fusion 2 DeveloperSWF Export Module

    Join Date
    Jun 2006
    Posts
    6,773
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    Re: Mini Article - Using the Mysterious Box Mode

    Nice work

  5. #5
    RayMarble
    Guest

    Re: Mini Article - Using the Mysterious Box Mode

    As for PNGs, I had some problems with importing them if they were indexed with less than 256 colors - importing PNGs with say only 4 colours doesn't work but 256 does.

    Oh and nice article, good job!

  6. #6
    No Products Registered

    Join Date
    Oct 2006
    Location
    Sweden
    Posts
    1,141
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Mini Article - Using the Mysterious Box Mode

    I don't think any images with less than 256 colors work. Had the same problem with BMP's.

  7. #7
    Clicker Fusion 2.5 (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)

    Join Date
    Nov 2007
    Posts
    456
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Mini Article - Using the Mysterious Box Mode

    Ah, fair enough. I'd edit that in but... I can't x)

    And thanks (:

  8. #8
    Clicker Fusion 2.5 DeveloperiOS Export Module
    Czentnar's Avatar
    Join Date
    Jan 2007
    Location
    Budapest, Hungary
    Posts
    819
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Mini Article - Using the Mysterious Box Mode

    Nice article, thanks.

  9. #9
    Clicker Multimedia Fusion 2

    Join Date
    Jun 2007
    Location
    Suffolk, UK
    Posts
    435
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Mini Article - Using the Mysterious Box Mode

    Nice one, thanks for the info Raylax

  10. #10
    No Products Registered

    Join Date
    Jul 2006
    Posts
    2,289
    Mentioned
    0 Post(s)
    Tagged
    1 Thread(s)

    Re: Mini Article - Using the Mysterious Box Mode

    Very useful and much appreciated.

    It is always great to see users writing helpful articles for the benefit of others.

    Thanks!

Similar Threads

  1. Mysterious shadows
    By ChrisBurrows in forum Multimedia Fusion 2 - Technical Support
    Replies: 6
    Last Post: 9th June 2012, 12:09 AM
  2. Mysterious Problem
    By ProdigyX in forum Multimedia Fusion 2 - Technical Support
    Replies: 15
    Last Post: 2nd April 2011, 08:04 PM
  3. Mysterious Extention?? Please help!
    By ChrisStreet in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 23rd December 2010, 10:24 PM
  4. how to switch window mode using DX video mode?
    By Pegasus_Seiya in forum Multimedia Fusion 2 - Technical Support
    Replies: 0
    Last Post: 12th August 2009, 02:39 PM
  5. Standard Mode / DirectX Mode display differences
    By Bernie in forum Multimedia Fusion 2 - Technical Support
    Replies: 19
    Last Post: 11th August 2006, 01:22 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
  •