User Tag List

Results 1 to 9 of 9

Thread: Scaling and Moving Issue

  1. #1
    Clicker Fusion 2.5 DeveloperiOS Export ModuleSWF Export Module
    XStar's Avatar
    Join Date
    Feb 2012
    Location
    Winchester, VA
    Posts
    1,165
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Scaling and Moving Issue

    C.png

    As you can see, while scaling, the objects that are moving don't zoom. Now, I know how to make them zoom, however if I do that, they can't move due to an event that helps them zoom.

    Go figure.

    Now, I'm using an example (That is attached) that is extraordinarily useful! However the movement (X+1) is cancelled out if I set the object to Group.Zero which is required to zoom. Anyone have a solution?
    Attached files Attached files

  2. #2
    Clickteam Clickteam
    LB's Avatar
    Join Date
    Jun 2007
    Location
    Richardson, Texas, North America
    Posts
    8,937
    Mentioned
    4 Post(s)
    Tagged
    0 Thread(s)
    Set its position relative (movement) to where it needs to be zoomed to?
    Working as fast as I can on Fusion 3

  3. #3
    Clicker Fusion 2.5 DeveloperiOS Export ModuleSWF Export Module
    XStar's Avatar
    Join Date
    Feb 2012
    Location
    Winchester, VA
    Posts
    1,165
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Stupid as this may sound, I'm not sure what you mean... I have never needed to do a zoom before, but I'm making a game that requires it, so a little more detail would be appreciated.

  4. #4
    Clickteam Clickteam
    LB's Avatar
    Join Date
    Jun 2007
    Location
    Richardson, Texas, North America
    Posts
    8,937
    Mentioned
    4 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by XStar View Post
    However the movement (X+1) is cancelled out if I set the object to Group.Zero which is required to zoom. Anyone have a solution?
    Quote Originally Posted by LB View Post
    Set its position relative (movement) to where it needs to be zoomed to?
    By this, I meant you multiply the zoom factor by the offset and then add the offset after setting the position. Someting like this:
    Set Object Pos to Group.0
    Set Object X to Object X+Zoom*Offset
    Set Object Y to Object Y+Zoom*Offset

    There are much better ways but in the context of your example this is what I suggest.
    Working as fast as I can on Fusion 3

  5. #5
    Clicker Fusion 2.5 DeveloperiOS Export ModuleSWF Export Module
    XStar's Avatar
    Join Date
    Feb 2012
    Location
    Winchester, VA
    Posts
    1,165
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I got it to work, halfway... I used this: X( "Active 3" )+CurrentScale( "Scale Values" )*X( "Scale Values" )+Y( "Scale Values" )+3 and it allowed for proper forward movement, but they zoom away as soon as I scale forward.

  6. #6
    Clickteam Clickteam
    LB's Avatar
    Join Date
    Jun 2007
    Location
    Richardson, Texas, North America
    Posts
    8,937
    Mentioned
    4 Post(s)
    Tagged
    0 Thread(s)
    Why do you have Xs and Ys in the same expression?
    Working as fast as I can on Fusion 3

  7. #7
    Clicker Fusion 2.5 DeveloperiOS Export ModuleSWF Export Module
    XStar's Avatar
    Join Date
    Feb 2012
    Location
    Winchester, VA
    Posts
    1,165
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Because I didn't make this example, nor do I fully understand it, so I tired a few different things, to keep everything on the frame, and not to have it speed off, X-Y worked (Thank you Algebra for think of that solution).

    That's the only way I found it to work. Do you have a solution for the zoom speed moving blah blah blah issue?

  8. #8
    Clicker Fusion 2.5 DeveloperiOS Export ModuleSWF Export Module
    XStar's Avatar
    Join Date
    Feb 2012
    Location
    Winchester, VA
    Posts
    1,165
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    What I need to do is to make sure that the X position increases faster than 1... But I don't know how to implement it. I have a solution, but no clue how to make it work.

  9. #9
    Clicker Fusion 2.5 DeveloperiOS Export ModuleSWF Export Module
    XStar's Avatar
    Join Date
    Feb 2012
    Location
    Winchester, VA
    Posts
    1,165
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Does anyone know how to do this? Limit the speed of the object to X+1, no faster than?

Similar Threads

  1. scaling
    By Skyhunter in forum SWF/Flash Export Module Version 2.0
    Replies: 9
    Last Post: 20th March 2013, 07:31 AM
  2. Counter updating issue or code issue?
    By KLiK-iT in forum Multimedia Fusion 2 - Technical Support
    Replies: 5
    Last Post: 14th March 2013, 01:48 PM
  3. Enemy Scaling Issue
    By Squibs in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 9th October 2010, 01:34 AM
  4. Scaling
    By TreeHugger in forum File Archive
    Replies: 3
    Last Post: 10th April 2008, 05:08 PM
  5. Scaling
    By Raphael in forum Multimedia Fusion 2 - Technical Support
    Replies: 6
    Last Post: 14th September 2006, 08:17 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
  •