Forums

OverviewV-Play 2 Support (Qt 5)performance › Reply To: performance

OverviewV-Play 2 Support (Qt 5)performance › Reply To: performance
#7659

Vlad

Hi

 

I’ve did some more investigations. It seems that performance impact is the rotating of the image within entity.

So, I’ve created simple pure QML Quick2 test with rotating stars:

import QtQuick 2.2
import QtQuick.Window 2.1

Window {
    visible: true
    width: 480
    height: 320
    Grid {
        anchors.fill: parent
        Repeater {
            model: 100
            delegate:     Image {
                id: sprite
                source: "rotaring_star_solid.png"
                width: 32
                height: 32

                RotationAnimation on rotation {
                    from: 0; to: 360;
                    direction: RotationAnimation.Clockwise
                    duration: 1000
                    loops: Animation.Infinite
                    running: true
                }
            }
        }
    }
}

here is 100 rotating stars, which takes only 15-20% of CPU

 

Probably this will give you some hints where the problem may be

br,

Vlad

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