How could I deal with the timeline issue?

Not favoritedFavorited Favorited 0 favourites
  • 7 posts
From the Asset Store
Fully customized keyboard for mobile devices. This example does not use TextInput
  • I have a character that is made up of separate sprites — head, body, arms, legs. All of these parts are animated separately using timelines. All of these parts have one parent that moves the entire character using 8 direction behavior.

    The problem is that during prolonged movement, the parts animated using the timeline gradually begin to shift relative to the parent object, which “breaks” the character.

    You can see this in the attached example if you run the project, press D, and hold it down for a while. The legs will start to extend beyond the left edge of the character.

    How can I fix this, or is there another way to do it? I can't animate the character using standard animation sequences because, in my idea, it's possible to change the skin of individual parts of the character, and it's impossible to prepare animations for all possible cases.

    dropbox.com/scl/fi/3csgh8t275yizj5nbp9hv/Timline-Issue.c3p

  • This item was deleted

    There's no way to verify the issue, unless you upload your example

  • This item was deleted

    There's no way to verify the issue, unless you upload your example

    Oh my gosh, thank you for catching that! For some reason, the link wrapped in text wasn't working. I updated the post and added a direct link. Thanks again!

    ---

    And here's what else I noticed during this time: no matter how the parent object moves (8-direction, bullet, tween), regardless of this, the children of this object, animated via the timeline, sooner or later begin to shift relative to the parent after some time.

    Also, in my particular case, the direction in which the objects shift depends on the speed of movement.

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • This looks like a bug. I was able to make it much more visible by increasing the time scale and updating the speed of the movement.

    Bug reported here

    Hodge Podge

    But I also added another example which uses the hierarchy and sine behavior in the project. It's up to you if you want to use it or wait for DiegoM to fix the issue.

  • This looks like a bug.

    Reported here

    Hodge Podge

    But I also added another example which uses the hierarchy and sine behavior in the project. It's up to you if you want to use it or wait for DiegoM to fix the issue.

    Thank you a lot.

    I tried using Sine and it works great, but the problem is that there will be several animations for the character's legs and not all of them can be simulated by Sine or Tween behaviors. In this regard, timeline would be a great solution if it worked as intuitively expected.

  • I will try to fix this for the next stable version. It looks like it's a subtle problem with looping.

    It would be better if you make an issue in our bug tracker.

    github.com/Scirra/Construct-bugs

    That is the best way to make sure it's not forgotten!.

  • DiegoM

    Thanks, it has already been filed from my side.

Jump to:
Active Users
There are 0 visitors browsing this topic (0 users and 0 guests)