ya2
·
news
·
projects
·
code
·
about
Ya2
/
projects
/
pmachines.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
metal background
[pmachines.git]
/
assets
/
scenes
/
box.json
1
{
2
"background": "metal",
3
"instructions": "Goal: the left box must hit the right box\n\nkeep \\5mouse_l\\5 pressed to drag an item\n\nkeep \\5mouse_r\\5 pressed to rotate an item",
4
"items": [
5
{
6
"class": "Shelf",
7
"mass": 0,
8
"position": [
9
0.46,
10
0,
11
-3.95
12
]
13
},
14
{
15
"class": "Shelf",
16
"mass": 0,
17
"position": [
18
4.43,
19
0,
20
-3.95
21
]
22
},
23
{
24
"class": "Shelf",
25
"mass": 0,
26
"position": [
27
-1.29,
28
0,
29
0.26
30
],
31
"roll": 28.45
32
},
33
{
34
"class": "Shelf",
35
"mass": 0,
36
"position": [
37
2.15,
38
0,
39
-1.49
40
],
41
"roll": 28.45
42
},
43
{
44
"class": "Box",
45
"friction": 0.4,
46
"id": "left_box",
47
"mass": 1,
48
"position": [
49
-1.5499999523162842,
50
0.0,
51
1.2300000190734863
52
],
53
"roll": 0.0
54
},
55
{
56
"class": "Box",
57
"mass": 1,
58
"position": [
59
4.380000114440918,
60
0.0,
61
-3.3499999046325684
62
],
63
"roll": 0.0,
64
"strategy": "HitStrategy",
65
"strategy_args": [
66
"left_box"
67
]
68
}
69
],
70
"name": "Box",
71
"start_items": [
72
{
73
"class": "Box",
74
"count": 3
75
}
76
],
77
"test_items": {
78
"pixel_space": [
79
{
80
"id": "drag_start_0",
81
"position": [
82
65,
83
60
84
]
85
}
86
],
87
"world_space": [
88
{
89
"id": "drag_stop_0",
90
"position": [
91
0.42,
92
-3.29
93
]
94
},
95
{
96
"id": "drag_stop_1",
97
"position": [
98
0.42,
99
-2.18
100
]
101
},
102
{
103
"id": "drag_stop_2",
104
"position": [
105
0.35,
106
-1.06
107
]
108
}
109
]
110
},
111
"version": "8f6333998c31"
112
}