@origingame/engine 0.1.1 → 0.2.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/dist/web/origin-engine.js +4 -4
- package/dist/web/origin-engine_bg.wasm +0 -0
- package/dist/web-publish/origin-engine-lanes.js +6 -6
- package/dist/web-publish/origin-engine-lanes_bg.wasm +0 -0
- package/dist/web-publish/origin-engine.js +4 -4
- package/dist/web-publish/origin-engine_bg.wasm +0 -0
- package/dist/web-publish-2d/origin-engine-lanes.js +6 -6
- package/dist/web-publish-2d/origin-engine-lanes_bg.wasm +0 -0
- package/dist/web-publish-2d/origin-engine.js +4 -4
- package/dist/web-publish-2d/origin-engine_bg.wasm +0 -0
- package/knowledge/package.json +4 -4
- package/knowledge/scaffold/origin-engine.json +2 -2
- package/knowledge/scaffold/template/package.json +1 -1
- package/knowledge/scaffold/template/project.ogt +1 -1
- package/knowledge/scripts/validate.ts +2 -1
- package/knowledge/skills/og-build/SKILL.md +17 -1
- package/knowledge/skills/og-feel/SKILL.md +8 -1
- package/knowledge/skills/og-game/SKILL.md +117 -13
- package/knowledge/skills/og-i18n/SKILL.md +12 -3
- package/knowledge/skills/og-platform-sdk/SKILL.md +3 -1
- package/knowledge/skills/og-ui/SKILL.md +19 -6
- package/knowledge/wiki/ai.md +20 -20
- package/knowledge/wiki/anim.md +41 -41
- package/knowledge/wiki/atmosphere.md +13 -13
- package/knowledge/wiki/audio.md +18 -18
- package/knowledge/wiki/camera.md +13 -13
- package/knowledge/wiki/commands.md +11 -11
- package/knowledge/wiki/game.md +8 -8
- package/knowledge/wiki/i18n.md +7 -7
- package/knowledge/wiki/index.md +4 -1
- package/knowledge/wiki/input.md +47 -47
- package/knowledge/wiki/load.md +45 -45
- package/knowledge/wiki/math.md +7 -7
- package/knowledge/wiki/nav.md +34 -34
- package/knowledge/wiki/physics.md +124 -106
- package/knowledge/wiki/platform.md +31 -31
- package/knowledge/wiki/probe.md +66 -66
- package/knowledge/wiki/reflect.md +15 -15
- package/knowledge/wiki/render.md +99 -89
- package/knowledge/wiki/rng.md +14 -14
- package/knowledge/wiki/stream.md +15 -15
- package/knowledge/wiki/system.md +8 -8
- package/knowledge/wiki/systems.md +2 -2
- package/knowledge/wiki/terrain.md +19 -19
- package/knowledge/wiki/tilemap.md +19 -15
- package/knowledge/wiki/time.md +4 -4
- package/knowledge/wiki/transform.md +8 -8
- package/knowledge/wiki/tween.md +17 -17
- package/knowledge/wiki/ui.md +289 -245
- package/knowledge/wiki/world.md +67 -37
- package/package.json +6 -6
- package/schema/api.schema.json +134 -9
- package/src/index.ts +1 -0
- package/src/node/polish.ts +2 -1
- package/src/node/run.ts +5 -1
- package/src/runtime.ts +2 -0
- package/src/ui-kit/huds.ts +18 -14
- package/types/bindings.json +61 -26
- package/types/index.d.ts +144 -13
|
@@ -14,7 +14,7 @@ module transform {
|
|
|
14
14
|
# declarations follow, each quoted below
|
|
15
15
|
```
|
|
16
16
|
|
|
17
|
-
<sub>`api.ogt` line
|
|
17
|
+
<sub>`api.ogt` line 532</sub>
|
|
18
18
|
|
|
19
19
|
## Contents
|
|
20
20
|
|
|
@@ -60,7 +60,7 @@ fn compose {
|
|
|
60
60
|
}
|
|
61
61
|
```
|
|
62
62
|
|
|
63
|
-
<sub>`api.ogt` line
|
|
63
|
+
<sub>`api.ogt` line 559</sub>
|
|
64
64
|
|
|
65
65
|
<a id="fn-decompose"></a>
|
|
66
66
|
|
|
@@ -88,7 +88,7 @@ fn decompose {
|
|
|
88
88
|
}
|
|
89
89
|
```
|
|
90
90
|
|
|
91
|
-
<sub>`api.ogt` line
|
|
91
|
+
<sub>`api.ogt` line 567</sub>
|
|
92
92
|
|
|
93
93
|
<a id="fn-lookAt"></a>
|
|
94
94
|
|
|
@@ -122,7 +122,7 @@ fn lookAt {
|
|
|
122
122
|
}
|
|
123
123
|
```
|
|
124
124
|
|
|
125
|
-
<sub>`api.ogt` line
|
|
125
|
+
<sub>`api.ogt` line 573</sub>
|
|
126
126
|
|
|
127
127
|
<a id="fn-fromAxisAngle"></a>
|
|
128
128
|
|
|
@@ -152,7 +152,7 @@ fn fromAxisAngle {
|
|
|
152
152
|
}
|
|
153
153
|
```
|
|
154
154
|
|
|
155
|
-
<sub>`api.ogt` line
|
|
155
|
+
<sub>`api.ogt` line 583</sub>
|
|
156
156
|
|
|
157
157
|
## Components, resources and events
|
|
158
158
|
|
|
@@ -183,7 +183,7 @@ component Transform {
|
|
|
183
183
|
}
|
|
184
184
|
```
|
|
185
185
|
|
|
186
|
-
<sub>`api.ogt` line
|
|
186
|
+
<sub>`api.ogt` line 536</sub>
|
|
187
187
|
|
|
188
188
|
<a id="record-Parent"></a>
|
|
189
189
|
|
|
@@ -204,7 +204,7 @@ component Parent {
|
|
|
204
204
|
}
|
|
205
205
|
```
|
|
206
206
|
|
|
207
|
-
<sub>`api.ogt` line
|
|
207
|
+
<sub>`api.ogt` line 547</sub>
|
|
208
208
|
|
|
209
209
|
<a id="record-MatrixWorld"></a>
|
|
210
210
|
|
|
@@ -227,4 +227,4 @@ component MatrixWorld {
|
|
|
227
227
|
}
|
|
228
228
|
```
|
|
229
229
|
|
|
230
|
-
<sub>`api.ogt` line
|
|
230
|
+
<sub>`api.ogt` line 552</sub>
|
package/knowledge/wiki/tween.md
CHANGED
|
@@ -18,7 +18,7 @@ module tween {
|
|
|
18
18
|
# declarations follow, each quoted below
|
|
19
19
|
```
|
|
20
20
|
|
|
21
|
-
<sub>`api.ogt` line
|
|
21
|
+
<sub>`api.ogt` line 6103</sub>
|
|
22
22
|
|
|
23
23
|
## Contents
|
|
24
24
|
|
|
@@ -71,7 +71,7 @@ fn to {
|
|
|
71
71
|
}
|
|
72
72
|
```
|
|
73
73
|
|
|
74
|
-
<sub>`api.ogt` line
|
|
74
|
+
<sub>`api.ogt` line 6228</sub>
|
|
75
75
|
|
|
76
76
|
<a id="fn-sequence"></a>
|
|
77
77
|
|
|
@@ -105,7 +105,7 @@ fn sequence {
|
|
|
105
105
|
}
|
|
106
106
|
```
|
|
107
107
|
|
|
108
|
-
<sub>`api.ogt` line
|
|
108
|
+
<sub>`api.ogt` line 6235</sub>
|
|
109
109
|
|
|
110
110
|
<a id="fn-parallel"></a>
|
|
111
111
|
|
|
@@ -139,7 +139,7 @@ fn parallel {
|
|
|
139
139
|
}
|
|
140
140
|
```
|
|
141
141
|
|
|
142
|
-
<sub>`api.ogt` line
|
|
142
|
+
<sub>`api.ogt` line 6245</sub>
|
|
143
143
|
|
|
144
144
|
<a id="fn-cancel"></a>
|
|
145
145
|
|
|
@@ -169,7 +169,7 @@ fn cancel {
|
|
|
169
169
|
}
|
|
170
170
|
```
|
|
171
171
|
|
|
172
|
-
<sub>`api.ogt` line
|
|
172
|
+
<sub>`api.ogt` line 6255</sub>
|
|
173
173
|
|
|
174
174
|
<a id="fn-cancelEntity"></a>
|
|
175
175
|
|
|
@@ -199,7 +199,7 @@ fn cancelEntity {
|
|
|
199
199
|
}
|
|
200
200
|
```
|
|
201
201
|
|
|
202
|
-
<sub>`api.ogt` line
|
|
202
|
+
<sub>`api.ogt` line 6262</sub>
|
|
203
203
|
|
|
204
204
|
<a id="fn-active"></a>
|
|
205
205
|
|
|
@@ -229,7 +229,7 @@ fn active {
|
|
|
229
229
|
}
|
|
230
230
|
```
|
|
231
231
|
|
|
232
|
-
<sub>`api.ogt` line
|
|
232
|
+
<sub>`api.ogt` line 6269</sub>
|
|
233
233
|
|
|
234
234
|
<a id="fn-squash"></a>
|
|
235
235
|
|
|
@@ -259,7 +259,7 @@ fn squash {
|
|
|
259
259
|
}
|
|
260
260
|
```
|
|
261
261
|
|
|
262
|
-
<sub>`api.ogt` line
|
|
262
|
+
<sub>`api.ogt` line 6276</sub>
|
|
263
263
|
|
|
264
264
|
<a id="fn-flash"></a>
|
|
265
265
|
|
|
@@ -289,7 +289,7 @@ fn flash {
|
|
|
289
289
|
}
|
|
290
290
|
```
|
|
291
291
|
|
|
292
|
-
<sub>`api.ogt` line
|
|
292
|
+
<sub>`api.ogt` line 6283</sub>
|
|
293
293
|
|
|
294
294
|
## Components, resources and events
|
|
295
295
|
|
|
@@ -316,7 +316,7 @@ event TweenCompleted {
|
|
|
316
316
|
}
|
|
317
317
|
```
|
|
318
318
|
|
|
319
|
-
<sub>`api.ogt` line
|
|
319
|
+
<sub>`api.ogt` line 6181</sub>
|
|
320
320
|
|
|
321
321
|
## Types
|
|
322
322
|
|
|
@@ -332,7 +332,7 @@ A generational handle: a number the engine hands out. A dead handle is an error
|
|
|
332
332
|
handle Tween "A running tween or group."
|
|
333
333
|
```
|
|
334
334
|
|
|
335
|
-
<sub>`api.ogt` line
|
|
335
|
+
<sub>`api.ogt` line 6109</sub>
|
|
336
336
|
|
|
337
337
|
<a id="type-Ease"></a>
|
|
338
338
|
|
|
@@ -395,7 +395,7 @@ enum Ease {
|
|
|
395
395
|
}
|
|
396
396
|
```
|
|
397
397
|
|
|
398
|
-
<sub>`api.ogt` line
|
|
398
|
+
<sub>`api.ogt` line 6118</sub>
|
|
399
399
|
|
|
400
400
|
<a id="type-TweenDesc"></a>
|
|
401
401
|
|
|
@@ -450,7 +450,7 @@ struct TweenDesc {
|
|
|
450
450
|
}
|
|
451
451
|
```
|
|
452
452
|
|
|
453
|
-
<sub>`api.ogt` line
|
|
453
|
+
<sub>`api.ogt` line 6144</sub>
|
|
454
454
|
|
|
455
455
|
<a id="type-TweenGroupDesc"></a>
|
|
456
456
|
|
|
@@ -478,7 +478,7 @@ struct TweenGroupDesc {
|
|
|
478
478
|
}
|
|
479
479
|
```
|
|
480
480
|
|
|
481
|
-
<sub>`api.ogt` line
|
|
481
|
+
<sub>`api.ogt` line 6171</sub>
|
|
482
482
|
|
|
483
483
|
<a id="type-SquashDesc"></a>
|
|
484
484
|
|
|
@@ -516,7 +516,7 @@ struct SquashDesc {
|
|
|
516
516
|
}
|
|
517
517
|
```
|
|
518
518
|
|
|
519
|
-
<sub>`api.ogt` line
|
|
519
|
+
<sub>`api.ogt` line 6188</sub>
|
|
520
520
|
|
|
521
521
|
<a id="type-FlashDesc"></a>
|
|
522
522
|
|
|
@@ -558,7 +558,7 @@ struct FlashDesc {
|
|
|
558
558
|
}
|
|
559
559
|
```
|
|
560
560
|
|
|
561
|
-
<sub>`api.ogt` line
|
|
561
|
+
<sub>`api.ogt` line 6206</sub>
|
|
562
562
|
|
|
563
563
|
## Column kinds
|
|
564
564
|
|
|
@@ -577,4 +577,4 @@ column Tween {
|
|
|
577
577
|
}
|
|
578
578
|
```
|
|
579
579
|
|
|
580
|
-
<sub>`api.ogt` line
|
|
580
|
+
<sub>`api.ogt` line 6111</sub>
|