DefAnimator, visual animator for Defold

My efforts are not going badly! I have timelines and I can select different objects and different points on the time line. I also have a play button.

the only downside is that I have no idea how to actually do the animations once the play button is pressed. My idea is that for each attribute to animate (i.e. “position.x” to create a table with

  1. the object,
  2. the attribute,
  3. a nested table with the keyframes and target values

{
"gui.get_node(“object1”), “position.x”, {0 = 0, 0.5 = 0, 1 = 20}
}

the target animation here would be the position.x waiting for the first half of the animation, then sliding to 20 during the second half. And aside from actually doing the animation, I’d also like to print something like gui.animate(“object1”…) in the debug. And even then i won’t be able to do automatic easing.

Any help?

4 Likes