Forums

OverviewV-Play 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
    V-Play 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.

Voted #1 for:

  • Easiest to learn
  • Most time saving
  • Best support

Develop Cross-Platform Apps and Games 50% Faster!

  • Voted the best supported, most time-saving and easiest to learn cross-platform development tool
  • Based on the Qt framework, with native performance and appearance on all platforms including iOS and Android
  • Offers a variety of plugins to monetize, analyze and engage users
FREE!
create apps
create games
cross platform
native performance
3rd party services
game network
multiplayer
level editor
easiest to learn
biggest time saving
best support