Durdles - 2-Player Action Game
import Felgo 4.0
import QtQuick 2.0
import QtMultimedia 5.0
import "../common"
import ".."
SceneBase {
id: menuScene
signal selectLevelPressed
signal creditsPressed
signal settingsPressed
Timer {
id: timerMusic
interval: 100; running: true; repeat: true;
onTriggered: {
running = false
}
}
Image {
z: -2
id: background
source: Qt.resolvedUrl("../../assets/img/MenuBG.png")
anchors.centerIn: parent
scale: 0.5
}
MenuButton {
id: menuButton1
anchors.top: parent.top
anchors.left: parent.left
anchors.topMargin: 230
anchors.leftMargin: 175
rotation: 352
text: "Play"
onClicked: selectLevelPressed()
color: "transparent"
buttonText.color: "white"
buttonText.opacity: 1
buttonText.font.pixelSize: 36
buttonText.font.family: standardFont.name
}
MenuButton {
anchors.top: parent.top
anchors.left: parent.left
anchors.topMargin: 314
anchors.leftMargin: 175
rotation: 352
text: "Settings"
onClicked: settingsPressed()
color: "transparent"
buttonText.color: "white"
buttonText.opacity: 1
buttonText.font.pixelSize: 36
buttonText.font.family: standardFont.name
}
MenuButton {
anchors.top: parent.top
anchors.left: parent.left
anchors.topMargin: 398
anchors.leftMargin: 178
rotation: 352
text: "Credits"
onClicked: creditsPressed()
color: "transparent"
buttonText.color: "white"
buttonText.opacity: 1
buttonText.font.pixelSize: 36