Debian Codegraph @

src/activities/memory-enumerate/resource/6/Data.qml

raw
1 /* GCompris - Data.qml
2 *
3 * SPDX-FileCopyrightText: 2020 Deepak Kumar <[email protected]>
4 * SPDX-FileCopyrightText: 2023 Timothée Giet <[email protected]>
5 *
6 * Authors:
7 * Deepak Kumar <[email protected]>
8 * Timothée Giet <[email protected]>
9 *
10 * SPDX-License-Identifier: GPL-3.0-or-later
11 */
12
13 import core 1.0
14 import core 1.0 as GCompris
15
16 Data {
17 objective: qsTr("Match the numbers up to 7.")
18 difficulty: 3
19
20 readonly property string imageUrl: "qrc:/gcompris/src/activities/memory-enumerate/resource/butterfly.svg"
21
22 readonly property list<var> texts: [
23 ["", 0],
24 ["", 1],
25 ["", 2],
26 ["", 3],
27 ["", 4],
28 ["", 5],
29 ["", 6],
30 ["", 7],
31 ]
32
33 readonly property list<var> repeaterModels: [
34 [
35 [{ "itemX": 0, "itemY": 0, "itemSize": 0, "itemRotation": 0, "itemSource": imageUrl}], ''
36 ],
37 [
38 [{ "itemX": 0.3, "itemY": 0.45, "itemSize": 0.3, "itemRotation": 30, "itemSource": imageUrl}], ''
39 ],
40 [
41 [{ "itemX": 0.25, "itemY": 0.1, "itemSize": 0.3, "itemRotation": 50, "itemSource": imageUrl},
42 { "itemX": 0.4, "itemY": 0.6, "itemSize": 0.3, "itemRotation": -50, "itemSource": imageUrl}], ''
43 ],
44 [
45 [{ "itemX": 0.1, "itemY": 0.05, "itemSize": 0.3, "itemRotation": -10, "itemSource": imageUrl},
46 { "itemX": 0.6, "itemY": 0.35, "itemSize": 0.3, "itemRotation": -25, "itemSource": imageUrl},
47 { "itemX": 0.2, "itemY": 0.55, "itemSize": 0.3, "itemRotation": 30, "itemSource": imageUrl}], ''
48 ],
49 [
50 [{ "itemX": 0.5, "itemY": 0.05, "itemSize": 0.3, "itemRotation": -40, "itemSource": imageUrl},
51 { "itemX": 0.1, "itemY": 0.3, "itemSize": 0.3, "itemRotation": 45, "itemSource": imageUrl},
52 { "itemX": 0.6, "itemY": 0.5, "itemSize": 0.3, "itemRotation": -15, "itemSource": imageUrl},
53 { "itemX": 0.25, "itemY": 0.65, "itemSize": 0.3, "itemRotation": -30, "itemSource": imageUrl}], ''
54 ],
55 [
56 [{ "itemX": 0.55, "itemY": 0.05, "itemSize": 0.3, "itemRotation": -15, "itemSource": imageUrl},
57 { "itemX": 0.1, "itemY": 0.15, "itemSize": 0.3, "itemRotation": -150, "itemSource": imageUrl},
58 { "itemX": 0.5, "itemY": 0.35, "itemSize": 0.3, "itemRotation": 45, "itemSource": imageUrl},
59 { "itemX": 0.1, "itemY": 0.55, "itemSize": 0.3, "itemRotation": -45, "itemSource": imageUrl},
60 { "itemX": 0.6, "itemY": 0.75, "itemSize": 0.3, "itemRotation": -10, "itemSource": imageUrl}], ''
61 ],
62 [
63 [{ "itemX": 0.1, "itemY": 0.05, "itemSize": 0.3, "itemRotation": -75, "itemSource": imageUrl},
64 { "itemX": 0.6, "itemY": 0.05, "itemSize": 0.3, "itemRotation": 15, "itemSource": imageUrl},
65 { "itemX": 0.25, "itemY": 0.35, "itemSize": 0.3, "itemRotation": -10, "itemSource": imageUrl},
66 { "itemX": 0.65, "itemY": 0.4, "itemSize": 0.3, "itemRotation": 10, "itemSource": imageUrl},
67 { "itemX": 0.1, "itemY": 0.65, "itemSize": 0.3, "itemRotation": 45, "itemSource": imageUrl},
68 { "itemX": 0.6, "itemY": 0.7, "itemSize": 0.3, "itemRotation": -45, "itemSource": imageUrl}], ''
69 ],
70 [
71 [{ "itemX": 0.1, "itemY": 0.02, "itemSize": 0.3, "itemRotation": 60, "itemSource": imageUrl},
72 { "itemX": 0.6, "itemY": 0.05, "itemSize": 0.3, "itemRotation": -10, "itemSource": imageUrl},
73 { "itemX": 0.25, "itemY": 0.25, "itemSize": 0.3, "itemRotation": -165, "itemSource": imageUrl},
74 { "itemX": 0.65, "itemY": 0.3, "itemSize": 0.3, "itemRotation": -135, "itemSource": imageUrl},
75 { "itemX": 0.1, "itemY": 0.5, "itemSize": 0.3, "itemRotation": 75, "itemSource": imageUrl},
76 { "itemX": 0.65, "itemY": 0.6, "itemSize": 0.3, "itemRotation": 10, "itemSource": imageUrl},
77 { "itemX": 0.3, "itemY": 0.75, "itemSize": 0.3, "itemRotation": -10, "itemSource": imageUrl}], ''
78 ]
79 ]
80
81 readonly property list<var> sounds: [
82 ["",
83 "voices-$CA/$LOCALE/alphabet/U0030.$CA"],
84 ["",
85 "voices-$CA/$LOCALE/alphabet/U0031.$CA"],
86 ["",
87 "voices-$CA/$LOCALE/alphabet/U0032.$CA"],
88 ["",
89 "voices-$CA/$LOCALE/alphabet/U0033.$CA"],
90 ["",
91 "voices-$CA/$LOCALE/alphabet/U0034.$CA"],
92 ["",
93 "voices-$CA/$LOCALE/alphabet/U0035.$CA"],
94 ["",
95 "voices-$CA/$LOCALE/alphabet/U0036.$CA"],
96 ["",
97 "voices-$CA/$LOCALE/alphabet/U0037.$CA"]
98 ]
99
100 data: [
101 { // Level 1
102 "columns": 4,
103 "rows": 4,
104 "texts": texts.slice(0, 8),
105 "repeaterModels": repeaterModels.slice(0, 8),
106 "sounds": sounds.slice(0, 8)
107 }
108 ]
109 }