Hello,
I have problems to center my circle collider, The topleft corner of the collider is in the center of the sprite and the only way for me to center the collider is to shift x and y shouldnt i be able to use anchors.centerIn: parent?
Its in the flappybird tutorial:
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
x: -13
y: -13
//This dosent move the collider at all?
// anchors.centerIn: parent
}
}