ya2 · news · projects · code · about

functional tests: editor
[pmachines.git] / assets / scenes / domino.json
CommitLineData
2aeb9f68 1{
3466af49 2 "instructions": "Goal: every domino piece must fall\n\nkeep \\5mouse_l\\5 pressed to drag an item\n\nkeep \\5mouse_r\\5 pressed to rotate an item",
2aeb9f68
FC
3 "items": [
4 {
5 "class": "Shelf",
3466af49 6 "mass": 0,
2aeb9f68
FC
7 "position": [
8 -1.2,
9 0,
10 -0.6
3466af49 11 ]
2aeb9f68
FC
12 },
13 {
14 "class": "Shelf",
3466af49 15 "mass": 0,
2aeb9f68
FC
16 "position": [
17 1.2,
18 0,
19 -0.6
3466af49 20 ]
2aeb9f68
FC
21 },
22 {
23 "class": "Domino",
3466af49 24 "mass": 1,
2aeb9f68
FC
25 "position": [
26 -1.14,
27 0,
28 -0.04
29 ],
98741d67 30 "strategy": "DownStrategy",
2aeb9f68
FC
31 "strategy_args": [
32 60
33 ]
34 },
35 {
36 "class": "Domino",
3466af49
FC
37 "id": "test_piece",
38 "mass": 1,
2aeb9f68
FC
39 "position": [
40 -0.49,
41 0,
42 -0.04
43 ],
98741d67 44 "strategy": "DownStrategy",
2aeb9f68
FC
45 "strategy_args": [
46 60
47 ]
48 },
49 {
50 "class": "Domino",
3466af49 51 "mass": 1,
2aeb9f68
FC
52 "position": [
53 0.94,
54 0,
55 -0.04
56 ],
98741d67 57 "strategy": "DownStrategy",
2aeb9f68
FC
58 "strategy_args": [
59 60
60 ]
61 },
62 {
63 "class": "Domino",
3466af49 64 "mass": 1,
2aeb9f68
FC
65 "position": [
66 1.55,
67 0,
68 -0.04
69 ],
98741d67 70 "strategy": "DownStrategy",
2aeb9f68
FC
71 "strategy_args": [
72 60
73 ]
74 },
75 {
76 "class": "Domino",
3466af49 77 "mass": 1,
2aeb9f68
FC
78 "position": [
79 2.09,
80 0,
81 -0.04
82 ],
98741d67 83 "strategy": "DownStrategy",
2aeb9f68
FC
84 "strategy_args": [
85 88
86 ]
87 }
88 ],
2aeb9f68
FC
89 "name": "Domino",
90 "start_items": [
91 {
92 "class": "Domino",
93 "count": 2
94 }
95 ],
96 "test_items": {
97 "pixel_space": [
98 {
99 "id": "drag_start_0",
100 "position": [
101 35,
102 60
103 ]
104 }
105 ],
106 "world_space": [
107 {
108 "id": "drag_stop_0",
109 "position": [
110 -1.82,
111 0.06
112 ]
113 },
114 {
115 "id": "drag_stop_1",
116 "position": [
117 0.49,
118 0.06
119 ]
120 },
121 {
122 "id": "drag_stop_2",
123 "position": [
124 -1.54,
125 0.06
126 ]
127 },
128 {
129 "id": "drag_start_1",
130 "position": [
131 -1.54,
132 0.4
133 ]
134 },
135 {
136 "id": "drag_stop_3",
137 "position": [
138 -1.05,
139 0.4
140 ]
141 }
142 ]
143 },
3466af49
FC
144 "version": "51b44031bbce"
145}