User Tag List

Results 1 to 6 of 6

Thread: irregular vertical counter

  1. #1
    Clicker Fusion 2.5iOS Export ModuleSWF Export Module
    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)
    SolarB's Avatar
    Join Date
    Feb 2012
    Location
    Melbourne
    Posts
    904
    Mentioned
    6 Post(s)
    Tagged
    0 Thread(s)

    Angry irregular vertical counter

    Hi,

    My target platform is iOS.

    I have a vertical counter with an irregular shape. I'm using the ASB to display it as it is the only way (that I can find) to do this.

    However, I can only make it move downwards (example below). I want to move it upwards but stupid ASB only lets me align the image to top-left rather than bottom!!

    bar.mfa

    Very frustrated. If there are no workarounds I would request that ASB be able to align the image to whichever sides the user wants. This or be able to resize the dimensions of an active (to cut off bits of it) without stretching. Or an Interface Bar object port to iOS.


    Also none of this works in HWA as the picture does not respond to dimension changes.

  2. #2
    Clicker

    Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleSWF Export Module
    Konidias's Avatar
    Join Date
    Aug 2009
    Posts
    1,546
    Mentioned
    3 Post(s)
    Tagged
    0 Thread(s)
    The workaround that I'm sure you don't want to hear, is to just make an active with a line of pixels removed from each frame until the object is totally erased... But that would be a massive amount of frames.

    MMF really needs a way to select the draw area of an image... You could cut up sprite sheets or use the feature for doing exactly what you're trying to do. Basically a crop at runtime.

    That, or masks.

  3. #3
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleiOS Export ModuleSWF Export Module
    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)
    Popcorn's Avatar
    Join Date
    Jun 2006
    Location
    Norway, Bergen
    Posts
    2,366
    Mentioned
    13 Post(s)
    Tagged
    0 Thread(s)
    There is a way using fastloops
    Attached files Attached files

  4. #4
    Clicker Fusion 2.5iOS Export ModuleSWF Export Module
    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)
    SolarB's Avatar
    Join Date
    Feb 2012
    Location
    Melbourne
    Posts
    904
    Mentioned
    6 Post(s)
    Tagged
    0 Thread(s)
    Konidias - Yep, 200 frames eats up massive memory. Masks won't do it because the background needs to be transparent, I can do it with a shader but of course iOS...

    Popcorn - Thanks, this is really good but probably won't work for a more complex image (the one provided was more of a placeholder) such as this:

    bar.png

    Black = transparent

  5. #5
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleiOS Export ModuleMac Export ModuleUnicode Add-on
    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)
    AyreGuitar's Avatar
    Join Date
    Jan 2011
    Location
    Wales, UK
    Posts
    1,113
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    SolarB - Haven't checked your mfa file, but you can probably do something like that using an Active Picture object and Offset in Y with Wrap turned off. Load your full bar image at the start of your frame, then Offset in Y by Max-Counter and reposition in Y by Counter-Max (I think!). You'll be limited to a horizontal top to your bar, but should be fine for transparent sections, you can even use alpha channel and save as a PNG to get a professional look.

  6. #6
    Clicker Fusion 2.5iOS Export ModuleSWF Export Module
    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)
    SolarB's Avatar
    Join Date
    Feb 2012
    Location
    Melbourne
    Posts
    904
    Mentioned
    6 Post(s)
    Tagged
    0 Thread(s)
    Thanks Ayre, after a bit of a fiddle it works great! Tested on device too.

Similar Threads

  1. Bug report: counter object (type: vertical bar, horizontal bar)
    By simatten in forum Multimedia Fusion 2 - Technical Support
    Replies: 3
    Last Post: 5th November 2013, 04:03 PM
  2. Irregular animation?
    By Outcast in forum Multimedia Fusion 2 - Technical Support
    Replies: 16
    Last Post: 10th February 2011, 09:46 AM
  3. Clicking on an irregular area (RISK-like game)
    By CKX in forum Multimedia Fusion 2 - Technical Support
    Replies: 11
    Last Post: 23rd September 2008, 10:09 AM
  4. displaying vertical counter ?
    By arma in forum Multimedia Fusion 2 - Technical Support
    Replies: 4
    Last Post: 27th June 2007, 05:14 AM
  5. Bouncing with irregular shapes not working
    By benjamin in forum Multimedia Fusion 2 - Technical Support
    Replies: 6
    Last Post: 24th August 2006, 01:10 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
  •