OverviewFelgo 2 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.

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
create apps
create games
cross platform
native performance
3rd party services
game network
level editor
easiest to learn
biggest time saving
best support