hayao 0.3.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 +10 -0
- package/bin/create-hayao.mjs +1 -1
- package/dist/app/browser.d.ts +33 -3
- package/dist/app/game.d.ts +15 -11
- package/dist/audio/audio.d.ts +18 -1
- package/dist/audio/synth.d.ts +7 -0
- package/dist/audio/zzfx.d.ts +14 -0
- package/dist/core/clock.d.ts +1 -1
- package/dist/core/projection.d.ts +36 -0
- package/dist/core/rng.d.ts +9 -0
- package/dist/hayao.global.js +190 -5
- package/dist/index.d.ts +10 -1
- package/dist/index.js +2341 -328
- package/dist/index.js.map +4 -4
- package/dist/index.min.js +190 -5
- package/dist/input/actions.d.ts +60 -6
- package/dist/input/gamepad.d.ts +101 -0
- package/dist/input/source.d.ts +85 -4
- package/dist/logic/coroutine.d.ts +68 -0
- package/dist/render/canvas.d.ts +3 -7
- package/dist/render/canvas2d-core.d.ts +9 -0
- package/dist/render/commands.d.ts +36 -2
- package/dist/render/paint.d.ts +8 -0
- package/dist/render/renderer.d.ts +25 -0
- package/dist/render/svg.d.ts +2 -1
- package/dist/render/webgl.d.ts +176 -0
- package/dist/scene/iso.d.ts +73 -0
- package/dist/scene/node.d.ts +81 -2
- package/dist/scene/nodes.d.ts +34 -0
- package/dist/scene/particles.d.ts +19 -0
- package/dist/scene/verletChain.d.ts +76 -0
- package/dist/ui/touch.d.ts +51 -0
- package/dist/verify/dom.d.ts +26 -0
- package/dist/world.d.ts +72 -7
- package/docs/API.md +79 -26
- package/docs/CONVENTIONS.md +290 -2
- package/docs/EMBED.md +5 -0
- package/docs/QUICKSTART.md +13 -1
- package/docs/VERIFICATION.md +34 -4
- package/package.json +2 -1
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,15 +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';
|
|
10
12
|
export * from './scene/cameraController';
|
|
11
13
|
export * from './scene/parallax';
|
|
12
14
|
export * from './scene/pool';
|
|
13
15
|
export * from './scene/tween';
|
|
14
16
|
export * from './scene/particles';
|
|
15
17
|
export * from './scene/floatingText';
|
|
18
|
+
export * from './scene/verletChain';
|
|
16
19
|
export * from './scene/registry';
|
|
17
20
|
export * from './input/actions';
|
|
18
21
|
export * from './input/source';
|
|
22
|
+
export * from './input/gamepad';
|
|
19
23
|
export * from './physics/tilemap';
|
|
20
24
|
export * from './physics/aabb';
|
|
21
25
|
export * from './physics/platformer';
|
|
@@ -32,6 +36,7 @@ export * from './render/renderer';
|
|
|
32
36
|
export * from './render/svgString';
|
|
33
37
|
export * from './render/svg';
|
|
34
38
|
export * from './render/canvas';
|
|
39
|
+
export * from './render/webgl';
|
|
35
40
|
export * from './render/headless';
|
|
36
41
|
export * from './render/nineSlice';
|
|
37
42
|
export * from './art/palette';
|
|
@@ -58,10 +63,12 @@ export * from './audio/match';
|
|
|
58
63
|
export * from './audio/adaptive';
|
|
59
64
|
export * from './audio/quality';
|
|
60
65
|
export * from './audio/genres';
|
|
66
|
+
export * from './audio/zzfx';
|
|
61
67
|
export * from './audio/album';
|
|
62
68
|
export * from './ui/overlay';
|
|
63
69
|
export * from './ui/settings';
|
|
64
70
|
export * from './ui/shell';
|
|
71
|
+
export * from './ui/touch';
|
|
65
72
|
export * from './ui/transition';
|
|
66
73
|
export * from './verify/solver';
|
|
67
74
|
export * from './verify/determinism';
|
|
@@ -76,7 +83,9 @@ export * from './verify/ramp';
|
|
|
76
83
|
export * from './verify/filmstrip';
|
|
77
84
|
export * from './verify/audioFilmstrip';
|
|
78
85
|
export * from './verify/ethnography';
|
|
86
|
+
export * from './verify/dom';
|
|
79
87
|
export * from './logic/fsm';
|
|
88
|
+
export * from './logic/coroutine';
|
|
80
89
|
export * from './logic/random';
|
|
81
90
|
export * from './logic/graph';
|
|
82
91
|
export * from './logic/history';
|
|
@@ -105,4 +114,4 @@ export * from './studio/record';
|
|
|
105
114
|
export * from './studio/timeline';
|
|
106
115
|
export * from './studio/run';
|
|
107
116
|
/** Engine version. */
|
|
108
|
-
export declare const VERSION = "0.
|
|
117
|
+
export declare const VERSION = "0.4.0";
|