User Tag List

Results 1 to 9 of 9

Thread: Is it possible to flip the Active Object image?

  1. #1
    Clicker Fusion 2.5

    Join Date
    Sep 2006
    Posts
    280
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Is it possible to flip the Active Object image?

    Not certain whether or not this has been asked before.

    Is there a way to flip or mirror the images of an Active Object? Like, say if you have one object that's a left hand, and you want to use the same object for a right hand to save on space, is there a way to code that or is making additional frames within the object the only way to achieve that?

  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)

    Re: Is it possible to flip the Active Object image?

    I haven't tried this with MMF yet (and I'm not home to test it out) but in a lot of image programs, you can set the scale of the image to negative and it will flip the image over.

    So setting the active object x scale to -1 would flip it horizontally, and y scale to -1 would flip it vertically... but then again, this is just me guessing.

  3. #3
    Clicker Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleSWF Export ModuleUnicode Add-on
    Boba Fonts's Avatar
    Join Date
    Jan 2009
    Location
    Northern Italy
    Posts
    228
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Is it possible to flip the Active Object image?

    Unfortunately that doesn't happen in MMF2 for the time being: a -1 scale is treated as a 0 scale, and the objects seems to disapper and nothing more.
    But there are other methods. Just yesterday I've experimented in MMF2 HWA the Flip shader for a reflection effect and it works pretty well.

  4. #4
    Clicker Multimedia Fusion 2SWF Export Module

    Join Date
    Sep 2006
    Posts
    1,544
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)

    Re: Is it possible to flip the Active Object image?

    yes, the flip shader would work, but its highly recommend to just use the additional animation frames if possible.

  5. #5
    Clicker Fusion 2.5Fusion 2.5+ DLC

    Join Date
    Sep 2010
    Posts
    175
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Is it possible to flip the Active Object image?

    If you use active picture you can flip the image at runtime....in my current project this is how most of the sprites are loaded

  6. #6
    Clicker Fusion 2.5

    Join Date
    Sep 2006
    Posts
    280
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Is it possible to flip the Active Object image?

    Yeah. I had been using plain ol' Active Objects. Never used an Active Picture before.

  7. #7
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleiOS Export ModuleSWF Export Module

    Join Date
    Jun 2006
    Location
    St. Ave France
    Posts
    1,166
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    Re: Is it possible to flip the Active Object image?

    Its really a shame that actives dont allow BOTH flipping of images at runtime and flipping of images to create the opposite direction at loadtime.

    This would especially help keep filesizes down... something like this is very much needed for java for mobile!

  8. #8
    Clicker Fusion 2.5

    Join Date
    Sep 2006
    Posts
    280
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Is it possible to flip the Active Object image?

    Only necro'ing this wondering if the new version allows for the flipping of Active Objects via negative scale or otherwise, to prevent having to make extra frames. I didn't see it in the lengthy list of updates, but I've been known to miss things quite a bit. ^^;

  9. #9
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleiOS Export ModuleSWF Export Module

    Join Date
    Jun 2006
    Location
    St. Ave France
    Posts
    1,166
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    Re: Is it possible to flip the Active Object image?

    Still not yet. I've been politicing for this for ever it feels like.

Similar Threads

  1. Flip an active
    By Nifflas in forum Multimedia Fusion 2 - Technical Support
    Replies: 5
    Last Post: 9th November 2011, 01:51 PM
  2. Image Bug, some active object problem
    By NecroToad in forum Hardware Accelerated Runtime
    Replies: 7
    Last Post: 19th October 2011, 12:41 PM
  3. Flip active object horizontally?
    By Aloan in forum Multimedia Fusion 2 - Technical Support
    Replies: 5
    Last Post: 1st May 2011, 05:15 PM
  4. any non-HWA way to horizontally flip an active?
    By BrashMonkey in forum Multimedia Fusion 2 - Technical Support
    Replies: 5
    Last Post: 19th September 2009, 09:39 PM
  5. can I flip active objects at runtime?
    By Ohyea in forum Multimedia Fusion 2 - Technical Support
    Replies: 7
    Last Post: 6th July 2008, 02:26 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
  •