hayao 0.2.0 → 0.4.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/README.md +123 -24
- package/bin/create-hayao.mjs +380 -0
- package/bin/hayao-mcp-cli.mjs +11 -0
- package/dist/app/browser.d.ts +65 -4
- package/dist/app/game.d.ts +59 -10
- package/dist/app/tuning.d.ts +68 -0
- package/dist/art/palette.d.ts +41 -0
- package/dist/audio/adaptive.d.ts +58 -0
- package/dist/audio/album.d.ts +16 -0
- package/dist/audio/analysis.d.ts +59 -0
- package/dist/audio/audio.d.ts +39 -1
- package/dist/audio/chord.d.ts +17 -0
- package/dist/audio/genres.d.ts +11 -0
- package/dist/audio/lint.d.ts +29 -0
- package/dist/audio/match.d.ts +38 -0
- package/dist/audio/music.d.ts +88 -0
- package/dist/audio/pcm.d.ts +54 -0
- package/dist/audio/quality.d.ts +28 -0
- package/dist/audio/reverb.d.ts +15 -0
- package/dist/audio/synth.d.ts +63 -0
- package/dist/audio/theory.d.ts +64 -0
- package/dist/audio/zzfx.d.ts +14 -0
- package/dist/content/campaign.d.ts +69 -0
- package/dist/content/generate.d.ts +78 -0
- package/dist/content/level.d.ts +93 -0
- package/dist/content/worldgraph.d.ts +73 -0
- package/dist/core/clock.d.ts +1 -1
- package/dist/core/dmath.d.ts +2 -0
- package/dist/core/projection.d.ts +36 -0
- package/dist/core/rng.d.ts +9 -0
- package/dist/hayao.global.js +200 -0
- package/dist/index.d.ts +39 -1
- package/dist/index.js +6558 -686
- package/dist/index.js.map +4 -4
- package/dist/index.min.js +200 -0
- package/dist/input/actions.d.ts +60 -6
- package/dist/input/gamepad.d.ts +101 -0
- package/dist/input/source.d.ts +133 -1
- package/dist/logic/coroutine.d.ts +68 -0
- package/dist/mcp.js +31225 -0
- package/dist/rasterize-worker-lite.mjs +13 -0
- package/dist/render/canvas.d.ts +6 -5
- package/dist/render/canvas2d-core.d.ts +9 -0
- package/dist/render/commands.d.ts +82 -2
- package/dist/render/paint.d.ts +41 -0
- package/dist/render/renderer.d.ts +47 -0
- package/dist/render/svg.d.ts +5 -1
- package/dist/render/svgString.d.ts +6 -2
- package/dist/render/webgl.d.ts +176 -0
- package/dist/scene/cameraController.d.ts +42 -0
- package/dist/scene/iso.d.ts +73 -0
- package/dist/scene/node.d.ts +98 -6
- package/dist/scene/nodes.d.ts +48 -0
- package/dist/scene/parallax.d.ts +15 -0
- package/dist/scene/particles.d.ts +19 -0
- package/dist/scene/verletChain.d.ts +76 -0
- package/dist/studio/mcpMain.d.ts +1 -0
- package/dist/studio/mcpServer.d.ts +2 -0
- package/dist/studio/record.d.ts +54 -0
- package/dist/studio/run.d.ts +78 -0
- package/dist/studio/session.d.ts +80 -0
- package/dist/studio/timeline.d.ts +35 -0
- package/dist/studio/vitePlugin.d.ts +6 -0
- package/dist/studio-plugin.js +228 -0
- package/dist/ui/overlay.d.ts +6 -0
- package/dist/ui/touch.d.ts +51 -0
- package/dist/verify/audioFilmstrip.d.ts +39 -0
- package/dist/verify/dom.d.ts +26 -0
- package/dist/verify/ethnography.d.ts +67 -0
- package/dist/verify/gates.d.ts +160 -0
- package/dist/verify/layout.d.ts +30 -3
- package/dist/verify/ramp.d.ts +40 -0
- package/dist/world.d.ts +109 -8
- package/dist-studio/assets/index-C7tty_Wo.js +109 -0
- package/dist-studio/assets/index-CM3tjRQo.css +1 -0
- package/dist-studio/index.html +18 -0
- package/docs/API.md +300 -23
- package/docs/CONVENTIONS.md +511 -0
- package/docs/EMBED.md +90 -0
- package/docs/QUICKSTART.md +141 -0
- package/docs/STUDIO.md +97 -0
- package/docs/VERIFICATION.md +256 -0
- package/package.json +40 -6
package/dist/index.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
export * from './core/math';
|
|
2
|
+
export * from './core/projection';
|
|
2
3
|
export * from './core/dmath';
|
|
3
4
|
export * from './core/rng';
|
|
4
5
|
export * from './core/clock';
|
|
@@ -7,13 +8,18 @@ export * from './core/hash';
|
|
|
7
8
|
export * from './scene/node';
|
|
8
9
|
export { Node as Node2D } from './scene/node';
|
|
9
10
|
export * from './scene/nodes';
|
|
11
|
+
export * from './scene/iso';
|
|
12
|
+
export * from './scene/cameraController';
|
|
13
|
+
export * from './scene/parallax';
|
|
10
14
|
export * from './scene/pool';
|
|
11
15
|
export * from './scene/tween';
|
|
12
16
|
export * from './scene/particles';
|
|
13
17
|
export * from './scene/floatingText';
|
|
18
|
+
export * from './scene/verletChain';
|
|
14
19
|
export * from './scene/registry';
|
|
15
20
|
export * from './input/actions';
|
|
16
21
|
export * from './input/source';
|
|
22
|
+
export * from './input/gamepad';
|
|
17
23
|
export * from './physics/tilemap';
|
|
18
24
|
export * from './physics/aabb';
|
|
19
25
|
export * from './physics/platformer';
|
|
@@ -25,10 +31,12 @@ export * from './physics/rigidJoints';
|
|
|
25
31
|
export * from './physics/rigidStep';
|
|
26
32
|
export * from './physics/rigidQueries';
|
|
27
33
|
export * from './render/commands';
|
|
34
|
+
export * from './render/paint';
|
|
28
35
|
export * from './render/renderer';
|
|
29
36
|
export * from './render/svgString';
|
|
30
37
|
export * from './render/svg';
|
|
31
38
|
export * from './render/canvas';
|
|
39
|
+
export * from './render/webgl';
|
|
32
40
|
export * from './render/headless';
|
|
33
41
|
export * from './render/nineSlice';
|
|
34
42
|
export * from './art/palette';
|
|
@@ -43,9 +51,24 @@ export * from './procgen/cave';
|
|
|
43
51
|
export * from './procgen/terrain';
|
|
44
52
|
export * from './procgen/rooms';
|
|
45
53
|
export * from './audio/audio';
|
|
54
|
+
export * from './audio/pcm';
|
|
55
|
+
export * from './audio/synth';
|
|
56
|
+
export * from './audio/analysis';
|
|
57
|
+
export * from './audio/theory';
|
|
58
|
+
export * from './audio/chord';
|
|
59
|
+
export * from './audio/reverb';
|
|
60
|
+
export * from './audio/music';
|
|
61
|
+
export * from './audio/lint';
|
|
62
|
+
export * from './audio/match';
|
|
63
|
+
export * from './audio/adaptive';
|
|
64
|
+
export * from './audio/quality';
|
|
65
|
+
export * from './audio/genres';
|
|
66
|
+
export * from './audio/zzfx';
|
|
67
|
+
export * from './audio/album';
|
|
46
68
|
export * from './ui/overlay';
|
|
47
69
|
export * from './ui/settings';
|
|
48
70
|
export * from './ui/shell';
|
|
71
|
+
export * from './ui/touch';
|
|
49
72
|
export * from './ui/transition';
|
|
50
73
|
export * from './verify/solver';
|
|
51
74
|
export * from './verify/determinism';
|
|
@@ -55,8 +78,14 @@ export * from './verify/driver';
|
|
|
55
78
|
export * from './verify/bot';
|
|
56
79
|
export * from './verify/layout';
|
|
57
80
|
export * from './verify/feel';
|
|
81
|
+
export * from './verify/gates';
|
|
82
|
+
export * from './verify/ramp';
|
|
58
83
|
export * from './verify/filmstrip';
|
|
84
|
+
export * from './verify/audioFilmstrip';
|
|
85
|
+
export * from './verify/ethnography';
|
|
86
|
+
export * from './verify/dom';
|
|
59
87
|
export * from './logic/fsm';
|
|
88
|
+
export * from './logic/coroutine';
|
|
60
89
|
export * from './logic/random';
|
|
61
90
|
export * from './logic/graph';
|
|
62
91
|
export * from './logic/history';
|
|
@@ -64,6 +93,10 @@ export * from './persist/storage';
|
|
|
64
93
|
export * from './persist/codec';
|
|
65
94
|
export * from './persist/save';
|
|
66
95
|
export * from './content/dsl';
|
|
96
|
+
export * from './content/level';
|
|
97
|
+
export * from './content/generate';
|
|
98
|
+
export * from './content/campaign';
|
|
99
|
+
export * from './content/worldgraph';
|
|
67
100
|
export * from './net/players';
|
|
68
101
|
export * from './net/protocol';
|
|
69
102
|
export * from './net/transport';
|
|
@@ -74,6 +107,11 @@ export * from './net/room';
|
|
|
74
107
|
export * from './net/browser';
|
|
75
108
|
export * from './world';
|
|
76
109
|
export * from './app/game';
|
|
110
|
+
export * from './app/tuning';
|
|
77
111
|
export * from './app/browser';
|
|
112
|
+
export * from './studio/session';
|
|
113
|
+
export * from './studio/record';
|
|
114
|
+
export * from './studio/timeline';
|
|
115
|
+
export * from './studio/run';
|
|
78
116
|
/** Engine version. */
|
|
79
|
-
export declare const VERSION = "0.
|
|
117
|
+
export declare const VERSION = "0.4.0";
|