hayao 0.1.0 → 0.3.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 +127 -21
- package/bin/create-hayao.mjs +380 -0
- package/bin/hayao-mcp-cli.mjs +11 -0
- package/dist/app/browser.d.ts +33 -2
- package/dist/app/game.d.ts +47 -2
- package/dist/app/tuning.d.ts +68 -0
- package/dist/art/autotile.d.ts +77 -0
- package/dist/art/bitmapFont.d.ts +113 -0
- package/dist/art/font5.d.ts +11 -0
- package/dist/art/palette.d.ts +79 -0
- package/dist/art/texture.d.ts +78 -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 +28 -0
- 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 +56 -0
- package/dist/audio/theory.d.ts +64 -0
- package/dist/content/campaign.d.ts +69 -0
- package/dist/content/dsl.d.ts +61 -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/dmath.d.ts +22 -0
- package/dist/core/math.d.ts +2 -0
- package/dist/hayao.global.js +15 -0
- package/dist/index.d.ts +66 -1
- package/dist/index.js +9174 -835
- package/dist/index.js.map +4 -4
- package/dist/index.min.js +15 -0
- package/dist/input/source.d.ts +52 -1
- package/dist/logic/fsm.d.ts +85 -0
- package/dist/logic/graph.d.ts +88 -0
- package/dist/logic/history.d.ts +54 -0
- package/dist/logic/random.d.ts +32 -0
- package/dist/mcp.js +31225 -0
- package/dist/net/browser.d.ts +37 -0
- package/dist/net/inputBuffer.d.ts +27 -0
- package/dist/net/lockstep.d.ts +79 -0
- package/dist/net/players.d.ts +27 -0
- package/dist/net/protocol.d.ts +100 -0
- package/dist/net/rollback.d.ts +89 -0
- package/dist/net/room.d.ts +78 -0
- package/dist/net/transport.d.ts +78 -0
- package/dist/persist/codec.d.ts +4 -0
- package/dist/persist/save.d.ts +32 -0
- package/dist/persist/storage.d.ts +46 -0
- package/dist/physics/rigidBody.d.ts +104 -0
- package/dist/physics/rigidCollide.d.ts +16 -0
- package/dist/physics/rigidJoints.d.ts +65 -0
- package/dist/physics/rigidQueries.d.ts +15 -0
- package/dist/physics/rigidStep.d.ts +14 -0
- package/dist/procgen/cave.d.ts +21 -0
- package/dist/procgen/grid.d.ts +21 -0
- package/dist/procgen/rooms.d.ts +34 -0
- package/dist/procgen/scatter.d.ts +32 -0
- package/dist/procgen/terrain.d.ts +24 -0
- package/dist/rasterize-worker-lite.mjs +13 -0
- package/dist/render/canvas.d.ts +6 -1
- package/dist/render/commands.d.ts +46 -0
- package/dist/render/nineSlice.d.ts +32 -0
- package/dist/render/paint.d.ts +33 -0
- package/dist/render/renderer.d.ts +22 -0
- package/dist/render/svg.d.ts +4 -1
- package/dist/render/svgString.d.ts +6 -2
- package/dist/scene/cameraController.d.ts +42 -0
- package/dist/scene/floatingText.d.ts +51 -0
- package/dist/scene/node.d.ts +17 -4
- package/dist/scene/nodes.d.ts +14 -0
- package/dist/scene/parallax.d.ts +15 -0
- package/dist/scene/particles.d.ts +64 -0
- package/dist/scene/pool.d.ts +16 -0
- package/dist/scene/tween.d.ts +26 -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/transition.d.ts +107 -0
- package/dist/verify/audioFilmstrip.d.ts +39 -0
- package/dist/verify/ethnography.d.ts +67 -0
- package/dist/verify/gates.d.ts +160 -0
- package/dist/verify/layout.d.ts +66 -0
- package/dist/verify/ramp.d.ts +40 -0
- package/dist/world.d.ts +38 -2
- 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 +473 -10
- package/docs/CONVENTIONS.md +223 -0
- package/docs/EMBED.md +85 -0
- package/docs/QUICKSTART.md +129 -0
- package/docs/STUDIO.md +97 -0
- package/docs/VERIFICATION.md +226 -0
- package/package.json +66 -11
package/dist/index.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
export * from './core/math';
|
|
2
|
+
export * from './core/dmath';
|
|
2
3
|
export * from './core/rng';
|
|
3
4
|
export * from './core/clock';
|
|
4
5
|
export * from './core/events';
|
|
@@ -6,8 +7,12 @@ export * from './core/hash';
|
|
|
6
7
|
export * from './scene/node';
|
|
7
8
|
export { Node as Node2D } from './scene/node';
|
|
8
9
|
export * from './scene/nodes';
|
|
10
|
+
export * from './scene/cameraController';
|
|
11
|
+
export * from './scene/parallax';
|
|
12
|
+
export * from './scene/pool';
|
|
9
13
|
export * from './scene/tween';
|
|
10
14
|
export * from './scene/particles';
|
|
15
|
+
export * from './scene/floatingText';
|
|
11
16
|
export * from './scene/registry';
|
|
12
17
|
export * from './input/actions';
|
|
13
18
|
export * from './input/source';
|
|
@@ -16,28 +21,88 @@ export * from './physics/aabb';
|
|
|
16
21
|
export * from './physics/platformer';
|
|
17
22
|
export * from './physics/spatialHash';
|
|
18
23
|
export * from './physics/raycast';
|
|
24
|
+
export * from './physics/rigidBody';
|
|
25
|
+
export * from './physics/rigidCollide';
|
|
26
|
+
export * from './physics/rigidJoints';
|
|
27
|
+
export * from './physics/rigidStep';
|
|
28
|
+
export * from './physics/rigidQueries';
|
|
19
29
|
export * from './render/commands';
|
|
30
|
+
export * from './render/paint';
|
|
20
31
|
export * from './render/renderer';
|
|
21
32
|
export * from './render/svgString';
|
|
22
33
|
export * from './render/svg';
|
|
23
34
|
export * from './render/canvas';
|
|
24
35
|
export * from './render/headless';
|
|
36
|
+
export * from './render/nineSlice';
|
|
25
37
|
export * from './art/palette';
|
|
26
38
|
export * from './art/shapes';
|
|
39
|
+
export * from './art/texture';
|
|
40
|
+
export * from './art/font5';
|
|
41
|
+
export * from './art/bitmapFont';
|
|
42
|
+
export * from './art/autotile';
|
|
43
|
+
export * from './procgen/grid';
|
|
44
|
+
export * from './procgen/scatter';
|
|
45
|
+
export * from './procgen/cave';
|
|
46
|
+
export * from './procgen/terrain';
|
|
47
|
+
export * from './procgen/rooms';
|
|
27
48
|
export * from './audio/audio';
|
|
49
|
+
export * from './audio/pcm';
|
|
50
|
+
export * from './audio/synth';
|
|
51
|
+
export * from './audio/analysis';
|
|
52
|
+
export * from './audio/theory';
|
|
53
|
+
export * from './audio/chord';
|
|
54
|
+
export * from './audio/reverb';
|
|
55
|
+
export * from './audio/music';
|
|
56
|
+
export * from './audio/lint';
|
|
57
|
+
export * from './audio/match';
|
|
58
|
+
export * from './audio/adaptive';
|
|
59
|
+
export * from './audio/quality';
|
|
60
|
+
export * from './audio/genres';
|
|
61
|
+
export * from './audio/album';
|
|
28
62
|
export * from './ui/overlay';
|
|
29
63
|
export * from './ui/settings';
|
|
30
64
|
export * from './ui/shell';
|
|
65
|
+
export * from './ui/transition';
|
|
31
66
|
export * from './verify/solver';
|
|
32
67
|
export * from './verify/determinism';
|
|
33
68
|
export * from './verify/playthrough';
|
|
34
69
|
export * from './verify/capture';
|
|
35
70
|
export * from './verify/driver';
|
|
36
71
|
export * from './verify/bot';
|
|
72
|
+
export * from './verify/layout';
|
|
37
73
|
export * from './verify/feel';
|
|
74
|
+
export * from './verify/gates';
|
|
75
|
+
export * from './verify/ramp';
|
|
38
76
|
export * from './verify/filmstrip';
|
|
77
|
+
export * from './verify/audioFilmstrip';
|
|
78
|
+
export * from './verify/ethnography';
|
|
79
|
+
export * from './logic/fsm';
|
|
80
|
+
export * from './logic/random';
|
|
81
|
+
export * from './logic/graph';
|
|
82
|
+
export * from './logic/history';
|
|
83
|
+
export * from './persist/storage';
|
|
84
|
+
export * from './persist/codec';
|
|
85
|
+
export * from './persist/save';
|
|
86
|
+
export * from './content/dsl';
|
|
87
|
+
export * from './content/level';
|
|
88
|
+
export * from './content/generate';
|
|
89
|
+
export * from './content/campaign';
|
|
90
|
+
export * from './content/worldgraph';
|
|
91
|
+
export * from './net/players';
|
|
92
|
+
export * from './net/protocol';
|
|
93
|
+
export * from './net/transport';
|
|
94
|
+
export * from './net/inputBuffer';
|
|
95
|
+
export * from './net/lockstep';
|
|
96
|
+
export * from './net/rollback';
|
|
97
|
+
export * from './net/room';
|
|
98
|
+
export * from './net/browser';
|
|
39
99
|
export * from './world';
|
|
40
100
|
export * from './app/game';
|
|
101
|
+
export * from './app/tuning';
|
|
41
102
|
export * from './app/browser';
|
|
103
|
+
export * from './studio/session';
|
|
104
|
+
export * from './studio/record';
|
|
105
|
+
export * from './studio/timeline';
|
|
106
|
+
export * from './studio/run';
|
|
42
107
|
/** Engine version. */
|
|
43
|
-
export declare const VERSION = "0.
|
|
108
|
+
export declare const VERSION = "0.3.0";
|