@moku-labs/game 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.
Files changed (39) hide show
  1. package/README.md +121 -775
  2. package/bin/moku-game-assets.mjs +4 -0
  3. package/dist/assets.d.mts +181 -22
  4. package/dist/assets.mjs +1186 -160
  5. package/dist/{commands-C0BljsM5.d.mts → commands-DYO22lzi.d.mts} +22 -5
  6. package/dist/control.d.mts +3 -3
  7. package/dist/control.mjs +3 -3
  8. package/dist/{define-CjP_4H0G.d.mts → define-BKWjWgyQ.d.mts} +1 -1
  9. package/dist/dev-CQYJPmcD.mjs +1183 -0
  10. package/dist/flatten-BkXuscAV.mjs +100 -0
  11. package/dist/index.d.mts +88 -32
  12. package/dist/index.mjs +3238 -500
  13. package/dist/{session-DmAxY6Ll.mjs → input-CK4nxBO1.mjs} +41 -12
  14. package/dist/inspect.d.mts +32 -9
  15. package/dist/inspect.mjs +2 -2
  16. package/dist/jsx-dev-runtime.d.mts +1 -1
  17. package/dist/jsx-dev-runtime.mjs +1 -1
  18. package/dist/jsx-runtime.d.mts +1 -1
  19. package/dist/jsx-runtime.mjs +1 -1
  20. package/dist/{run-tlcn1w7y.mjs → run-BfuMLahc.mjs} +489 -213
  21. package/dist/{runtime-Bn5TXNxP.d.mts → runtime-Bhu442L8.d.mts} +1 -1
  22. package/dist/{runtime-DRlwxkIv.mjs → runtime-CBZgWgzx.mjs} +1 -57
  23. package/dist/{sources-BooL2MsX.mjs → sources-C1uGjz4l.mjs} +198 -21
  24. package/dist/testing.d.mts +5 -5
  25. package/dist/testing.mjs +5 -4
  26. package/dist/{types-CxZy7Pi4.d.mts → types-BnWH-75b.d.mts} +95 -21
  27. package/dist/{types-CqkrEY06.d.mts → types-CVUHPvMB.d.mts} +5 -434
  28. package/dist/{types-DmhTHRVW.d.mts → types-DtmFVCHf.d.mts} +1 -1
  29. package/dist/{types-BZ1OLf24.d.mts → types-Dy1xB68L.d.mts} +2318 -1169
  30. package/dist/{types-X9jXjka3.d.mts → types-VErbiEXy.d.mts} +867 -198
  31. package/dist/{visual-NPrDkvUk.mjs → visual-DUvvPPCt.mjs} +51 -1
  32. package/fonts/LICENSE.txt +105 -0
  33. package/fonts/font-body.fnt +372 -0
  34. package/fonts/font-body.png +0 -0
  35. package/llms.txt +536 -0
  36. package/package.json +13 -6
  37. package/dist/component-DGg5DqKK.mjs +0 -44
  38. package/dist/dev-CcwFrwok.mjs +0 -413
  39. package/dist/types-C47fKNcn.d.mts +0 -695
@@ -1,7 +1,7 @@
1
- import { Tt as Time, Ut as Api, ft as FlowState, lt as Bookmark, t as Api$1, u as DebugSwitches } from "./types-BZ1OLf24.mjs";
2
- import { d as HeadlessApp, n as Command, r as ControlApp } from "./types-DmhTHRVW.mjs";
3
- import { H as InputApi } from "./types-X9jXjka3.mjs";
4
- import { A as UiApi, t as AnimApi } from "./types-CqkrEY06.mjs";
1
+ import { C as Captured, Et as Bookmark, T as DebugSwitches, Vt as Time, an as Api, k as Api$2, kt as FlowState, m as Api$1 } from "./types-Dy1xB68L.mjs";
2
+ import { d as HeadlessApp, n as Command, r as ControlApp } from "./types-DtmFVCHf.mjs";
3
+ import { H as InputApi } from "./types-VErbiEXy.mjs";
4
+ import { A as UiApi, t as AnimApi } from "./types-CVUHPvMB.mjs";
5
5
 
6
6
  //#region src/plugins/flow/doors/commands.d.ts
7
7
  /**
@@ -67,10 +67,17 @@ declare const commands: Readonly<{
67
67
  } & {
68
68
  readonly lifecycle: Api;
69
69
  }>;
70
- capture: Command<{}, string | undefined, HeadlessApp & {
70
+ capture: Command<{
71
+ legend: "boolean?";
72
+ layers: "json?";
73
+ sheet: "json?";
74
+ diff: "json?";
75
+ }, Captured | undefined, HeadlessApp & {
71
76
  readonly log: import("@moku-labs/common/browser").LogApi;
72
77
  } & {
73
78
  readonly renderer: Api$1;
79
+ } & {
80
+ readonly world: Api$2;
74
81
  }>;
75
82
  debug: Command<{
76
83
  nineSlice: "boolean";
@@ -94,6 +101,16 @@ declare const commands: Readonly<{
94
101
  } & {
95
102
  readonly ui: Pick<UiApi, "fill">;
96
103
  }>;
104
+ timeScale: Command<{
105
+ scale: "number";
106
+ }, Readonly<Time>, ControlApp>;
107
+ trace: Command<{
108
+ path: "json";
109
+ }, boolean, HeadlessApp & {
110
+ readonly log: import("@moku-labs/common/browser").LogApi;
111
+ } & {
112
+ readonly input: InputApi;
113
+ }>;
97
114
  }>;
98
115
  //#endregion
99
116
  export { commands as t };
@@ -1,6 +1,6 @@
1
- import { d as HeadlessApp, i as InputArguments, n as Command, o as InputSchema, s as Ran } from "./types-DmhTHRVW.mjs";
2
- import { t as commands } from "./commands-C0BljsM5.mjs";
3
- import { t as defineCommand } from "./define-CjP_4H0G.mjs";
1
+ import { d as HeadlessApp, i as InputArguments, n as Command, o as InputSchema, s as Ran } from "./types-DtmFVCHf.mjs";
2
+ import { t as commands } from "./commands-DYO22lzi.mjs";
3
+ import { t as defineCommand } from "./define-BKWjWgyQ.mjs";
4
4
 
5
5
  //#region src/plugins/flow/doors/dev.d.ts
6
6
  /**
package/dist/control.mjs CHANGED
@@ -1,4 +1,4 @@
1
- import { t as controlRefused } from "./dev-CcwFrwok.mjs";
2
- import { n as commands, t as run } from "./run-tlcn1w7y.mjs";
3
- import { a as defineCommand } from "./session-DmAxY6Ll.mjs";
1
+ import { t as controlRefused } from "./dev-CQYJPmcD.mjs";
2
+ import { n as commands, t as run } from "./run-BfuMLahc.mjs";
3
+ import { s as defineCommand } from "./input-CK4nxBO1.mjs";
4
4
  export { commands, controlRefused, defineCommand, run };
@@ -1,4 +1,4 @@
1
- import { c as Source, d as HeadlessApp, n as Command, o as InputSchema } from "./types-DmhTHRVW.mjs";
1
+ import { c as Source, d as HeadlessApp, n as Command, o as InputSchema } from "./types-DtmFVCHf.mjs";
2
2
 
3
3
  //#region src/plugins/flow/doors/define.d.ts
4
4
  /**