I’ve been doing the flappy bird tutorial and once I added the Player.qml. I first got a message file case mismatch so I changed the code link to player { } and the file to player.qml. Now I am getting the message Cannot assign to non-existent property “player”. I can’t seem to get this right. Everything seems to look like the tutorial. Here is the code for main qml (player.qml is in the same directory as main.qml:
import Felgo 3.0
import QtQuick 2.0
GameWindow {
id: gameWindow
activeScene: scene
screenWidth: 320
screenHeight: 480
EntityManager {
id: entityManager
}
Scene {
id: scene
player {
id: player
x: 147
y: 167
}
}
}
Any idea how to go forward. I am using Mac OS Yosemite.