frame

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Sign In Register

Size shrinks to corner

This has been around for as long as I can remember and I'm a bit surprised nobody has ever been bothered by it before, but when you use the size behavior, it shrinks and grows towards the top left corner of the object, instead of shrinking towards the center. I wouldn't know if it was intentional or a bug, but it has always bugged me. @grazer

Comments

  • edited June 4
    I believe how coordinates 0, 0 at the top right corner, what the thing does is divide it (say by 2 for 50%)
    it then shrinks the size, and divides the coordinates by 2, resulting with it moving up and right some...

    A way to do this is to move the Origin to the center, meaning that the coordinates of the pixels relative to said origin can be negative rather than always positive
  • So the archor point that I meant previously would be also helpful in this.
Sign In or Register to comment.

flowlab.io

| make games in your browser
@ 2017 Flowlab.io, All rights reserved.

Contact us

Get In Touch