User Tag List

Results 1 to 8 of 8

Thread: Resizing an object one pixel at a time

  1. #1
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export Module
    KLiK-iT's Avatar
    Join Date
    Sep 2011
    Location
    New Jersey
    Posts
    2,862
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)

    Resizing an object one pixel at a time

    Is there a way to resize an active object one pixel at a time at run time? Scaling doesn't cut it. I need to do this one pixel at a time. Width and height. I'm sure there is a way and I think I'm over thinking this.

  2. #2
    Clicker Fusion 2.5 Developer

    Join Date
    Jul 2008
    Posts
    1,305
    Mentioned
    14 Post(s)
    Tagged
    0 Thread(s)
    I think you're gonna have to explain that better...

  3. #3
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export Module
    KLiK-iT's Avatar
    Join Date
    Sep 2011
    Location
    New Jersey
    Posts
    2,862
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    OK, at run time say I left click on the object (not to say I want it this way) I want to set the height one pixel larger for that object. I right click and it sets the objects width one pixel larger.

  4. #4
    Clicker Fusion 2.5Mac Export Module
    Zem's Avatar
    Join Date
    May 2012
    Location
    UK
    Posts
    184
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I had an idea but it involves using scaling :/

  5. #5
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleSWF Export Module
    happygreenfrog's Avatar
    Join Date
    May 2011
    Location
    I.L.T.D.O.I.R (I.L.T.D.O.I.R's Location: The Dimension Of Infinite Recursion)
    Posts
    4,307
    Mentioned
    4 Post(s)
    Tagged
    0 Thread(s)
    The only way to do it is scaling. Basically, you memorize the object's starting width, and then enter the following as the XScale:

    1+(<extrapixelsize>/<objectwidth>.0)

    If the original width of the object is 32 pixels, and the extra width is alterable value a of the object, and the object is called "object", then it would look like this:

    1+(Alterable Value A("object")/32.0)

    This should be able to do what you want, though it might not be able to do it with the same precision as an action that allows us to simply set the width of the object.

  6. #6
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export Module
    KLiK-iT's Avatar
    Join Date
    Sep 2011
    Location
    New Jersey
    Posts
    2,862
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    HGF, seems the expressions are not correct and giving me Syntax error. Unless I'm entering something wrong?

  7. #7
    Clicker Fusion 2.5 Developer

    Join Date
    Jul 2008
    Posts
    1,305
    Mentioned
    14 Post(s)
    Tagged
    0 Thread(s)
    Yes, you're entering something wrong.

  8. #8
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export Module
    KLiK-iT's Avatar
    Join Date
    Sep 2011
    Location
    New Jersey
    Posts
    2,862
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    Thank you for the expression HGF.

Similar Threads

  1. Resizing an Active Object
    By haora in forum Multimedia Fusion 2 - Technical Support
    Replies: 3
    Last Post: 29th January 2018, 12:08 AM
  2. Moving an object slower than one pixel at a time.
    By KLiK-iT in forum Multimedia Fusion 2 - Technical Support
    Replies: 16
    Last Post: 16th February 2013, 02:11 PM
  3. How would you move an object in straight line pixel by pixel from location to another
    By Tsun in forum Multimedia Fusion 2 - Technical Support
    Replies: 5
    Last Post: 22nd December 2012, 11:38 PM
  4. Resizing A Object Many Ways?
    By Atom in forum Multimedia Fusion 2 - Technical Support
    Replies: 5
    Last Post: 20th October 2008, 05:15 PM
  5. [Bug]Object List, Object names and resizing
    By Tiles in forum Multimedia Fusion 2 - Technical Support
    Replies: 0
    Last Post: 24th December 2007, 12:43 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
  •