Durdles - 2-Player Action Game
import QtQuick 2.0
import Felgo 4.0
import "../common" as Common
import ".."
import "../levels"
import "../entities"
import "../entities/powerUps"
Common.LevelBase {
id: scene
Opponents {
id: opponentSnowman1
anchors {
top: scene.top
left: scene.left
topMargin: scene.height / 4
leftMargin: scene.width / 3 + 10
}
rotation: 0
opponentBody.source: Qt.resolvedUrl("../../assets/img/Snowman.gif")
}
Opponents {
id: opponentSnowman2
anchors {
top: scene.top
left: scene.left
topMargin: scene.height / 4
leftMargin: scene.width / 3 * 2 - 10
}
rotation: 0
opponentBody.source: Qt.resolvedUrl("../../assets/img/Snowman.gif")
}
Opponents {
id: opponentSnowman3
anchors {
top: scene.top
left: scene.left
topMargin: scene.height / 4 * 2
leftMargin: scene.width / 3 + 10
}
rotation: 0
opponentBody.source: Qt.resolvedUrl("../../assets/img/Snowman.gif")
}
Opponents {
id: opponentSnowman4
anchors {
top: scene.top
left: scene.left
topMargin: scene.height / 4 * 2
leftMargin: scene.width / 3 * 2 - 10
}
rotation: 0
opponentBody.source: Qt.resolvedUrl("../../assets/img/Snowman.gif")
}
Opponents {
id: opponentSnowman5
anchors {
top: scene.top
left: scene.left
topMargin: scene.height / 4 * 3
leftMargin: scene.width / 3 + 10
}
rotation: 0
opponentBody.source: Qt.resolvedUrl("../../assets/img/Snowman.gif")
}
Opponents {
id: opponentSnowman6
anchors {
top: scene.top
left: scene.left
topMargin: scene.height / 4 * 3
leftMargin: scene.width / 3 * 2 - 10
}
rotation: 0
opponentBody.source: Qt.resolvedUrl("../../assets/img/Snowman.gif")
}
Obstacle {
id: obstacle1
anchors {
top: scene.top
left: scene.left
topMargin: scene.height / 4
leftMargin: scene.width / 6
}
rotation: 0
obstacleBody.source: Qt.resolvedUrl("../../assets/img/Obstacle.png")
}
Obstacle {
id: obstacle2
anchors {
top: scene.top
left: scene.left
topMargin: scene.height / 4
leftMargin: scene.width / 6 * 5
}
rotation: 0
obstacleBody.source: Qt.resolvedUrl("../../assets/img/Obstacle.png")
}
Obstacle {
id: obstacle3
anchors {
top: scene.top
left: scene.left
topMargin: scene.height / 4 * 3
leftMargin: scene.width / 6
}
rotation: 0
obstacleBody.source: Qt.resolvedUrl("../../assets/img/Obstacle.png")
}
Obstacle {
id: obstacle4
anchors {
top: scene.top
left: scene.left
topMargin: scene.height / 4 * 3
leftMargin: scene.width / 6 * 5
}
rotation: 0
obstacleBody.source: Qt.resolvedUrl("../../assets/img/Obstacle.png")
}
Tree {
entityId: "tree1"
id: tree1
anchors {
top: scene.top
left: scene.left
topMargin: scene.height / 2
leftMargin: scene.width / 6 + 10
}
treeBody.source: Qt.resolvedUrl("../../assets/img/Tree.png")
}
PowerUpSpawn {
entityId: "spawn1"
id: spawn1
anchors {
top: scene.top
left: scene.left
topMargin: scene.height / 2
leftMargin: scene.width / 6 * 5 - 10
}