I’m following the tutorial FlappyBird. When creating the Player.qml:
import Felgo 3.0
import QtQuick 2.0
EntityBase {
id: player
entityType: "player"
SpriteSequenceVPlay {
id: bird
anchors.centerIn: parent
SpriteVPlay {
frameCount: 3
frameRate: 10
frameWidth: 34
frameHeight: 24
source: "../assets/bird.png"
}
}
CircleCollider {
id: collider
radius: 13
}
}
I tried to run the game. But the bounding box result was not same as the tutorial: Tutorial_Image vs My result
The bounding box didn’t wrap up the image. What is my wrong? Thank you very much!