Scale (from center point) #3640
Midhil457
started this conversation in
Enhancement ideas (and their technical discussions)
Replies: 2 comments
-
@Midhil457 Have you tried moving the origin point in the Object editor? This is what I did to have them scale from the center. If I need to reference that Object's "normal" X/Y position in other events, I just do |
Beta Was this translation helpful? Give feedback.
0 replies
-
Yes, that possible for sprites, but sadly its not possible to change the points for other object types :) Thanks |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Currently, if you use the scale action, the object's scale is changed from the
origin
and there is no option to scale it from center. It is a really useful action and will make things way easier. What I currently do is use a tween withscale from center
enabled with a low duration, which doesn't work most of the timeDescription
Currently, if you scale an object, it scaled from the
origin
which is a bit frustrating as it changes thecenter
of the object to somewhere else and break all other events that use the center point of an object. For example, I am setting the scale of an object to 0, and then using tween to smoothly scale it up from the center (scale from center enabled
) for a transition, but as thescale
action changed the center point, now the object is tweened with an offset.Here is an example, instead of the
PAUSED
text being in the center top of the big circle, it gets offset because of thescale
actionEvents:
Solution suggested
Add an
scale from center
toggle just like the tween scale actions haveBeta Was this translation helpful? Give feedback.
All reactions