| 1 |
/* GCompris - Data.qml |
| 2 |
* |
| 3 |
* SPDX-FileCopyrightText: 2020 Johnny Jazeix <[email protected]> |
| 4 |
* |
| 5 |
* Authors: |
| 6 |
* Johnny Jazeix <[email protected]> |
| 7 |
* |
| 8 |
* SPDX-License-Identifier: GPL-3.0-or-later |
| 9 |
*/ |
| 10 |
import core 1.0 |
| 11 |
|
| 12 |
Data { |
| 13 |
objective: qsTr("The spaceship rotates when you use the direction keys.") |
| 14 |
difficulty: 5 |
| 15 |
data: [ |
| 16 |
{ |
| 17 |
"planet": qsTr("Ceres"), |
| 18 |
"gravity": 0.27, |
| 19 |
"maxAccel": 0.054, |
| 20 |
"accelSteps": 2, |
| 21 |
"alt": 75.0, |
| 22 |
"mode": "rotation", |
| 23 |
"fuel" : -1, |
| 24 |
"intro": qsTr("The up and down keys control the thrust of the rear engine." |
| 25 |
+ "<br/>The right and left keys now control the rotation of the ship." |
| 26 |
+ "<br/>To move the ship in horizontal direction you must first rotate and then accelerate.") |
| 27 |
}, |
| 28 |
{ |
| 29 |
"planet": qsTr("Pluto"), |
| 30 |
"gravity": 0.62, |
| 31 |
"maxAccel": 0.186, |
| 32 |
"accelSteps": 3, |
| 33 |
"alt": 100.0, |
| 34 |
"mode": "rotation", |
| 35 |
"fuel" : -1 |
| 36 |
}, |
| 37 |
{ |
| 38 |
"planet": qsTr("Titan"), |
| 39 |
"gravity": 1.352, |
| 40 |
"maxAccel": 0.406, |
| 41 |
"accelSteps": 3, |
| 42 |
"alt": 100.0, |
| 43 |
"mode": "rotation", |
| 44 |
"fuel" : -1 |
| 45 |
}, |
| 46 |
{ |
| 47 |
"planet": qsTr("Moon"), |
| 48 |
"gravity": 1.622, |
| 49 |
"maxAccel": 0.324, |
| 50 |
"accelSteps": 4, |
| 51 |
"alt": 150.0, |
| 52 |
"mode": "rotation", |
| 53 |
"fuel" : 10 |
| 54 |
}, |
| 55 |
{ |
| 56 |
"planet": qsTr("Mars"), |
| 57 |
"gravity": 3.711, |
| 58 |
"maxAccel": 0.619, |
| 59 |
"accelSteps": 5, |
| 60 |
"alt": 200.0, |
| 61 |
"mode": "rotation", |
| 62 |
"fuel" : 20 |
| 63 |
}, |
| 64 |
{ |
| 65 |
"planet": qsTr("Venus"), |
| 66 |
"gravity": 8.87, |
| 67 |
"maxAccel": 1.331, |
| 68 |
"accelSteps": 6, |
| 69 |
"alt": 300.0, |
| 70 |
"mode": "rotation", |
| 71 |
"fuel" : 70 |
| 72 |
}, |
| 73 |
{ |
| 74 |
"planet": qsTr("Earth"), |
| 75 |
"gravity": 9.807, |
| 76 |
"maxAccel": 1.373, |
| 77 |
"accelSteps": 7, |
| 78 |
"alt": 350.0, |
| 79 |
"mode": "rotation", |
| 80 |
"fuel" : 70 |
| 81 |
} |
| 82 |
] |
| 83 |
} |