@homie-rocks/studio 0.37.2 → 0.38.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +32 -0
- package/bin/homie-studio.mjs +3 -3
- package/lib/perf.mjs +17 -10
- package/lib/port-check.mjs +77 -18
- package/lib/rules-check-worker.mjs +15 -2
- package/lib/shoot.mjs +11 -5
- package/lib/template-history.json +44 -0
- package/netplay/NETPLAY.md +20 -6
- package/netplay/netplay.ts +3 -1
- package/package.json +1 -1
- package/port/probe.ts +2 -1
- package/rules/core.ts +3 -1
- package/rules/host.ts +3 -1
- package/rules/pack.ts +30 -3
- package/rules/view.ts +232 -40
- package/starters/coin-dash/lab.json +17 -0
- package/starters/coin-dash/src/rules.ts +3 -3
- package/starters/gem-rush/game.json +19 -4
- package/starters/gem-rush/map/main.json +50 -0
- package/starters/gem-rush/src/move.ts +23 -0
- package/starters/gem-rush/src/rules.ts +118 -0
- package/starters/gem-rush/src/view.ts +429 -0
- package/starters/gem-rush/tunables.json +98 -11
- package/worker/version.mjs +1 -1
- package/starters/gem-rush/src/main.ts +0 -1087
|
@@ -1,13 +1,100 @@
|
|
|
1
1
|
{
|
|
2
|
-
"
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
2
|
+
"public": {
|
|
3
|
+
"knockRange": {
|
|
4
|
+
"value": 2.2,
|
|
5
|
+
"min": 1.2,
|
|
6
|
+
"max": 4.0,
|
|
7
|
+
"step": 0.02,
|
|
8
|
+
"unit": "m",
|
|
9
|
+
"group": "Knock",
|
|
10
|
+
"note": "How near a body must be for a wave to bump it"
|
|
11
|
+
},
|
|
12
|
+
"hitStopMs": {
|
|
13
|
+
"value": 70,
|
|
14
|
+
"min": 0,
|
|
15
|
+
"max": 200,
|
|
16
|
+
"step": 5,
|
|
17
|
+
"unit": "ms",
|
|
18
|
+
"group": "Knock",
|
|
19
|
+
"note": "The hit lands: the bumped body holds, squashed and shaking, before it flies"
|
|
20
|
+
},
|
|
21
|
+
"knockDistance": {
|
|
22
|
+
"value": 3.7,
|
|
23
|
+
"min": 0.8,
|
|
24
|
+
"max": 8.0,
|
|
25
|
+
"step": 0.1,
|
|
26
|
+
"unit": "m",
|
|
27
|
+
"group": "Knock",
|
|
28
|
+
"note": "How far a bump sends a body, the same at any frame rate"
|
|
29
|
+
},
|
|
30
|
+
"knockMs": {
|
|
31
|
+
"value": 420,
|
|
32
|
+
"min": 120,
|
|
33
|
+
"max": 1000,
|
|
34
|
+
"step": 10,
|
|
35
|
+
"unit": "ms",
|
|
36
|
+
"group": "Knock",
|
|
37
|
+
"note": "How long the slide takes"
|
|
38
|
+
},
|
|
39
|
+
"knockEase": {
|
|
40
|
+
"value": 4,
|
|
41
|
+
"min": 1,
|
|
42
|
+
"max": 6,
|
|
43
|
+
"step": 0.1,
|
|
44
|
+
"group": "Knock",
|
|
45
|
+
"note": "1 slides at one speed; higher leaves faster and eases into the stop"
|
|
46
|
+
},
|
|
47
|
+
"squash": {
|
|
48
|
+
"value": 0.35,
|
|
49
|
+
"min": 0,
|
|
50
|
+
"max": 0.8,
|
|
51
|
+
"step": 0.01,
|
|
52
|
+
"group": "Body",
|
|
53
|
+
"note": "How much a flying body stretches along the hit, and squashes when it stops"
|
|
54
|
+
},
|
|
55
|
+
"settleMs": {
|
|
56
|
+
"value": 260,
|
|
57
|
+
"min": 0,
|
|
58
|
+
"max": 700,
|
|
59
|
+
"step": 10,
|
|
60
|
+
"unit": "ms",
|
|
61
|
+
"group": "Body",
|
|
62
|
+
"note": "The wobble after the stop (overlap)"
|
|
63
|
+
},
|
|
64
|
+
"flashMs": {
|
|
65
|
+
"value": 110,
|
|
66
|
+
"min": 0,
|
|
67
|
+
"max": 300,
|
|
68
|
+
"step": 5,
|
|
69
|
+
"unit": "ms",
|
|
70
|
+
"group": "Hit",
|
|
71
|
+
"note": "How long the bumped body flashes white"
|
|
72
|
+
},
|
|
73
|
+
"shake": {
|
|
74
|
+
"value": 7,
|
|
75
|
+
"min": 0,
|
|
76
|
+
"max": 24,
|
|
77
|
+
"step": 0.5,
|
|
78
|
+
"unit": "px",
|
|
79
|
+
"group": "Hit",
|
|
80
|
+
"note": "The camera's kick when you bump or are bumped"
|
|
81
|
+
},
|
|
82
|
+
"sparks": {
|
|
83
|
+
"value": 9,
|
|
84
|
+
"min": 0,
|
|
85
|
+
"max": 24,
|
|
86
|
+
"step": 1,
|
|
87
|
+
"group": "Hit",
|
|
88
|
+
"note": "Sparks thrown off the hit"
|
|
89
|
+
},
|
|
90
|
+
"ringMs": {
|
|
91
|
+
"value": 900,
|
|
92
|
+
"min": 200,
|
|
93
|
+
"max": 2000,
|
|
94
|
+
"step": 10,
|
|
95
|
+
"unit": "ms",
|
|
96
|
+
"group": "Wave",
|
|
97
|
+
"note": "How long a wave's ring lasts"
|
|
98
|
+
}
|
|
99
|
+
}
|
|
13
100
|
}
|
package/worker/version.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/** The @homie-rocks/studio version this Worker code is (package.json's; a test keeps them equal). Cache-busts /_homie/site.js. */
|
|
2
|
-
export const STUDIO_VERSION_TAG = '0.
|
|
2
|
+
export const STUDIO_VERSION_TAG = '0.38.0';
|