Find the Best Demos and Examples

Check out this quick tour to find the best demos and examples for you, and to see how the Felgo SDK can help you to develop your next app or game!

Forums

OverviewFelgo 2 Support (Qt 5) › MovementAnimation doesn't behave as expected

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #8502

    Stefan

    Hey there!

    I ran into some problems while using a MovementAnimation in an EntityBase.
    First of all, when I try to use

    MovementAnimation on x {

    , like I would do with a PropertyAnimation, I will get the Error  ‘ “MovementAnimation” cannot operator on “x” ‘. Secondly, if i try to group MovementAnimatons like this:

    ParallelAnimation {
    MovementAnimation {
    ...
    }
    MovementAnimation {
    ...
    }}
    

    I will get the error: ‘Cannot assign object to list’. Is this intended behaviour, or am I missing something?

     

    #8503

    Christian
    Felgo Team

    Hi,

    that’s because MovementAnimation is not a normal Animation but has a couple of differences, like the option to perform a property change infinitely (which is not possible with normal Animation types).

    Please have a look at the MovementAnimation docs to see example usages.

    Cheers, Chris

Viewing 2 posts - 1 through 2 (of 2 total)

RSS feed for this thread

You must be logged in to reply to this topic.