Created
June 9, 2022 12:54
-
-
Save Astroa7m/9193ccc2b46164ab6238eedcd6a5bd64 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
ConstraintSets:{...}, | |
Transitions: { | |
default: { | |
from: 'start', | |
to: 'end', | |
pathMotionArc: 'startVertical', | |
// key here must be Key with capital K | |
KeyFrames: { | |
KeyAttributes: [ | |
{ | |
target: ['user_image'], | |
frames: [0, 100], | |
rotationZ: [0, 360] | |
}, | |
{ | |
target: ['user_name'], | |
frames: [0, 20, 60, 80, 100], | |
translationY: [0,-100, -45, -10, 0], | |
translationX: [0, 0, -80, -85, 120], | |
scaleX: [1, 0.5, 0.3, 0.3, 1], | |
scaleY: [1, 0.5, 0.3, 0.3, 1] | |
}, | |
{ | |
target: ['weapon_icon'], | |
frames: [0, 10, 20, 100], | |
translationY: [0, 150, 150, 0], | |
alpha: [1, 1, 0, 0] | |
} | |
] | |
} | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment