User Tag List

Results 1 to 6 of 6

Thread: Stretch 2

  1. #1
    Clicker Multimedia Fusion 2Android Export ModuleiOS Export Module
    loglady's Avatar
    Join Date
    Jul 2011
    Location
    Twin Peaks
    Posts
    192
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Stretch 2

    Hi!

    I'm trying to make an active object do the same transition as in the Stretch 2 Center V option. How do I code this? I wanna use this effect when a condition is satisfied so "I think" I can't do it directly setting the transition fade in/out option. I already adjusted the active object hot spot to the center but all I achieved so far was a transition like the Stretch 2 center H+V.

    The code:

    Global attribute: gameStart = 0
    Always
    Set scale to YScale ("myActiveObject")-0.03 (Quality=0)

  2. #2
    No Products Registered

    Join Date
    Aug 2010
    Posts
    343
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Stretch 2

    The code you have makes sense - it will shrink the object to nothing.

    Where is the problem?
    You mention "transition fade in/out" but this is for the whole level. Are you wanting to just fade out "myActiveObject"?
    if so...
    Set up start condition = set flag on
    flag on = add 1 to valA
    always = tranparency to valA
    transparency=128 = flag off

  3. #3
    Clicker Multimedia Fusion 2Android Export ModuleiOS Export Module
    loglady's Avatar
    Join Date
    Jul 2011
    Location
    Twin Peaks
    Posts
    192
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Stretch 2

    Thanks for our reply!

    1- "Transition fade in/out": Under Properties => Display Options
    I was just refering the option "stretch 2". It contais the effect I wannna achieve.

    2- I want to shrink the image (in myActiveObject) vertically until it becomes a thin line, so thin that will be invisible, not the whole frame.

    3- I'm refering to the Stretch 2 effect (center V) because it's exactly the effect I want. Just take a look in the preview area.

    4- As I want full control over the effect it seems like the fade in/out option under Display Options is triggered at the start of the frame. What I want is play the effect "automatically" when the user satisfies a condition.

    Once again, thanks!

  4. #4
    Clicker

    Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export ModuleXNA Export ModuleUnicode Add-on
    mobichan's Avatar
    Join Date
    Oct 2007
    Location
    Buffalo, NY
    Posts
    3,310
    Mentioned
    28 Post(s)
    Tagged
    0 Thread(s)

    Re: Stretch 2

    I beleive your can add a transition effect to an active object, no? The "fade in" will happen when the object is created and the "fade out" will happen when you destroy the object.

  5. #5
    No Products Registered

    Join Date
    Aug 2010
    Posts
    343
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Stretch 2

    >> transition effect to an active object
    How did I never see that? Because I never looked [grin]
    thx mobichan

    loglady - if you want full control then you will need to set up a set of scaling conditions - similar to my transparency example, just set relative to scale. X & Y? up to you.

    Otherwise - my recently discovered new toy seems to work fine.

  6. #6
    Clicker Multimedia Fusion 2Android Export ModuleiOS Export Module
    loglady's Avatar
    Join Date
    Jul 2011
    Location
    Twin Peaks
    Posts
    192
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Stretch 2

    arfa - Setting it relative to X and Y will make it shrink from corner to center.

    mobichan - Thanks for the info! I was using the effects but wasn't aware that, when destroing the object the "fade out" is triggered. That's why only the "fade in" was working.

    Many, many thanks!

Similar Threads

  1. How exactly does MMF2/2.5 stretch the display?
    By Strife in forum Multimedia Fusion 2 - Technical Support
    Replies: 0
    Last Post: 10th December 2013, 01:18 AM
  2. How to stretch gradient background? (Q)
    By SMASHINGmedia in forum Multimedia Fusion 2 - Technical Support
    Replies: 4
    Last Post: 7th May 2013, 01:47 PM
  3. Stretch to fit screen size?
    By alphabeta279 in forum Multimedia Fusion 2 - Technical Support
    Replies: 1
    Last Post: 22nd May 2011, 09:45 PM
  4. Stretch this display?
    By MechatheSlag in forum Multimedia Fusion 2 - Technical Support
    Replies: 13
    Last Post: 31st August 2008, 08:18 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
  •