Learn what Felgo offers to help your business succeed. Start your free evaluation today! Felgo for Your Business


OverviewFelgo 3 Support (Qt 5) › movement update

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
  • #13502



    i need to move a sprite every frame, but not with physics.

    what is the best way to do this?



    Hi Bas,

    I couldn’t understand what you want to do because I know we don’t need PhysicsWorld to change a sprite frame to another.

    I know we need it to detect the colliding events.

    Maybe these tools help you: frameCount: , startFrameColumn: , startFrameRow:

    I’ve seen them by clicking docs button on Qt Creator Interface. (look for “SpriteSequence”)




    Hi Burhan,


    Sorry i mean moving objects around in a scene with x and y positions every frame.

    what is the best way to do this every frame?



    Felgo Team

    Hi Bas,

    is there a reason you need to calculate the movement every frame rather than using standard animations (NumberAnimation for from-to movement, MovementAnimation for continuous velocity based movement)




    hi Alex,

    it is maybe a different thing in thinking, but i need to calculate some stuff every frame.

    and for me it is more a feeling of being more in control and am not very familiar with the other animation types for moving.


    Felgo Team

    Hi Bas!

    When moving entities every frame, one problem arises: Different frame rates on different devices or also during gameplay on the same device would lead to different movement speeds. The physics components and standard animations like Alex mentioned are not affected by the frame rate, which is usually what you want. Is there a reason why this doesn’t work for you?


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

RSS feed for this thread

You must be logged in to reply to this topic.

Qt_Technology_Partner_RGB_475 Qt_Service_Partner_RGB_475_padded