@moku-labs/game 0.15.63 → 0.15.65
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/app/page.d.mts +1 -1
- package/dist/app/system.d.mts +3 -3
- package/dist/app.d.mts +3 -3
- package/dist/app.mjs +1 -1
- package/dist/assets.d.mts +1 -1
- package/dist/{commands-BUcpkjkJ.d.mts → commands-Bm8eGFaH.d.mts} +5 -5
- package/dist/control.d.mts +4 -4
- package/dist/{define-Zcp-8PpW.d.mts → define-CvDuGXk8.d.mts} +2 -2
- package/dist/{headless-BL5fruJy.d.mts → headless-BdfPq6Rk.d.mts} +1 -1
- package/dist/{index-DRIKBqg7.d.mts → index-BJtzpola.d.mts} +3 -3
- package/dist/index.d.mts +4 -4
- package/dist/index.mjs +1 -1
- package/dist/inspect.d.mts +6 -6
- package/dist/jsx-dev-runtime.d.mts +1 -1
- package/dist/jsx-runtime.d.mts +1 -1
- package/dist/{runtime-BrW9Aw12.d.mts → runtime-BOpDKzS4.d.mts} +1 -1
- package/dist/{src-BLCYY1gz.mjs → src-DqX5kci9.mjs} +38 -16
- package/dist/testing.d.mts +4 -4
- package/dist/testing.mjs +1 -1
- package/dist/{types-Bc59p8EZ.d.mts → types-C9LTGx_J.d.mts} +2 -2
- package/dist/{types-f5zHtSKV.d.mts → types-CafT9oPU.d.mts} +1 -1
- package/dist/{types-B71pyqu9.d.mts → types-Chzp2med.d.mts} +4 -4
- package/dist/{types-CNMfNFbW.d.mts → types-CmwjkCj5.d.mts} +5 -0
- package/dist/{types-XoQyY8NV.d.mts → types-feXn09s4.d.mts} +9 -5
- package/dist/{visual-BnPy4Zjg.d.mts → visual-DGI5ygP0.d.mts} +6 -6
- package/dist/visual.d.mts +1 -1
- package/package.json +2 -2
package/dist/app/page.d.mts
CHANGED
package/dist/app/system.d.mts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { Fr as PlayerStateProvider } from "../types-
|
|
2
|
-
import { ht as PlatformProvider } from "../index-
|
|
3
|
-
import { _ as SystemShellFactory, g as SystemName, h as SystemModules } from "../types-
|
|
1
|
+
import { Fr as PlayerStateProvider } from "../types-CmwjkCj5.mjs";
|
|
2
|
+
import { ht as PlatformProvider } from "../index-BJtzpola.mjs";
|
|
3
|
+
import { _ as SystemShellFactory, g as SystemName, h as SystemModules } from "../types-Chzp2med.mjs";
|
|
4
4
|
import { Back, Haptics, KeepAwake, Lifecycle, Store } from "@moku-labs/system";
|
|
5
5
|
|
|
6
6
|
//#region src/app/system.d.ts
|
package/dist/app.d.mts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { Ar as Json } from "./types-
|
|
2
|
-
import { U as StringTable } from "./types-
|
|
3
|
-
import { a as GameHandle, c as MemoryProvider, d as SaveKind, f as Scenario, g as SystemName, i as GameDefinition, l as PageAgent, n as GameApp, o as GamePluginConfigs, p as ScreenSeams, r as GameConfig, s as HeadlessSeams, v as WithGameState } from "./types-
|
|
1
|
+
import { Ar as Json } from "./types-CmwjkCj5.mjs";
|
|
2
|
+
import { U as StringTable } from "./types-CafT9oPU.mjs";
|
|
3
|
+
import { a as GameHandle, c as MemoryProvider, d as SaveKind, f as Scenario, g as SystemName, i as GameDefinition, l as PageAgent, n as GameApp, o as GamePluginConfigs, p as ScreenSeams, r as GameConfig, s as HeadlessSeams, v as WithGameState } from "./types-Chzp2med.mjs";
|
|
4
4
|
import { AnyPluginInstance } from "@moku-labs/core";
|
|
5
5
|
|
|
6
6
|
//#region src/app/define.d.ts
|
package/dist/app.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Ft as audioPlugin, H as platformPlugin, i as screen, m as flattenFeatures, t as createApp, wt as effectsPlugin } from "./src-
|
|
1
|
+
import { Ft as audioPlugin, H as platformPlugin, i as screen, m as flattenFeatures, t as createApp, wt as effectsPlugin } from "./src-DqX5kci9.mjs";
|
|
2
2
|
import { t as memory } from "./memory-CWlqhS7l.mjs";
|
|
3
3
|
import { n as fakeClock, r as isFakeClock } from "./fake-hnJcJeYf.mjs";
|
|
4
4
|
//#region src/app/define.ts
|
package/dist/assets.d.mts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { D as DebugSwitches, Qr as FrameRate, Sn as Bookmark, Tn as FlowState, Vr as StoreApi, Wr as Api, Y as Api$1, gr as Api$2, ni as Time, ot as Captured, w as ScenesApi, zr as Snapshot } from "./types-
|
|
2
|
-
import { P as AnimApi, a as AudioApi, h as EffectsApi, r as UiApi } from "./types-
|
|
3
|
-
import { N as InputApi } from "./types-
|
|
4
|
-
import { t as HeadlessApp } from "./headless-
|
|
5
|
-
import { n as Command, r as ControlApp } from "./types-
|
|
1
|
+
import { D as DebugSwitches, Qr as FrameRate, Sn as Bookmark, Tn as FlowState, Vr as StoreApi, Wr as Api, Y as Api$1, gr as Api$2, ni as Time, ot as Captured, w as ScenesApi, zr as Snapshot } from "./types-CmwjkCj5.mjs";
|
|
2
|
+
import { P as AnimApi, a as AudioApi, h as EffectsApi, r as UiApi } from "./types-feXn09s4.mjs";
|
|
3
|
+
import { N as InputApi } from "./types-CafT9oPU.mjs";
|
|
4
|
+
import { t as HeadlessApp } from "./headless-BdfPq6Rk.mjs";
|
|
5
|
+
import { n as Command, r as ControlApp } from "./types-C9LTGx_J.mjs";
|
|
6
6
|
|
|
7
7
|
//#region src/plugins/flow/doors/commands.d.ts
|
|
8
8
|
/**
|
package/dist/control.d.mts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { t as HeadlessApp } from "./headless-
|
|
2
|
-
import { i as InputArguments, n as Command, o as InputSchema, s as Ran } from "./types-
|
|
3
|
-
import { t as commands } from "./commands-
|
|
4
|
-
import { t as defineCommand } from "./define-
|
|
1
|
+
import { t as HeadlessApp } from "./headless-BdfPq6Rk.mjs";
|
|
2
|
+
import { i as InputArguments, n as Command, o as InputSchema, s as Ran } from "./types-C9LTGx_J.mjs";
|
|
3
|
+
import { t as commands } from "./commands-Bm8eGFaH.mjs";
|
|
4
|
+
import { t as defineCommand } from "./define-CvDuGXk8.mjs";
|
|
5
5
|
|
|
6
6
|
//#region src/plugins/flow/doors/dev.d.ts
|
|
7
7
|
/**
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { t as HeadlessApp } from "./headless-
|
|
2
|
-
import { c as Source, n as Command, o as InputSchema } from "./types-
|
|
1
|
+
import { t as HeadlessApp } from "./headless-BdfPq6Rk.mjs";
|
|
2
|
+
import { c as Source, n as Command, o as InputSchema } from "./types-C9LTGx_J.mjs";
|
|
3
3
|
|
|
4
4
|
//#region src/plugins/flow/doors/define.d.ts
|
|
5
5
|
/**
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Ar as Json, En as JournalEntry, Ln as Answer, On as RouteStep, Tn as FlowState, Ur as RngState, Xr as Api, nn as Api$1 } from "./types-
|
|
1
|
+
import { Ar as Json, En as JournalEntry, Ln as Answer, On as RouteStep, Tn as FlowState, Ur as RngState, Xr as Api, nn as Api$1 } from "./types-CmwjkCj5.mjs";
|
|
2
2
|
|
|
3
3
|
//#region src/plugins/flow/headless.d.ts
|
|
4
4
|
/**
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { $r as RateChange, Ar as Json, B as ShapeValue, Bn as DescriptionNode, C as SceneSpec, Cn as DefineNode, Cr as Config$2, Dt as PassKind, F as NineSliceValue, Fn as Hint, Gn as NumericFields, Gr as Config$4, Hr as RngApi, Jn as ReducedMotion, Jr as State$4, K as TransformValue, Kn as ProjectionMotion, Kr as Events, L as OverlayValue, Ln as Answer, Mn as Effect, Mr as State$5, N as HudPartValue, Nn as EffectOptions, Or as Config$5, Pn as GuideOptions, Pr as Patch, S as SceneDefinition, T as State$7, Tr as State$2, U as SpriteOptions, Vn as Ease, Vr as StoreApi, W as SpriteValue, Wr as Api$3, X as Config$6, Xr as Api$5, Y as Api$4, Zr as Config$8, _ as AnySceneProjection, _r as Config$9, _t as FrameRing, a as Config$1, ai as Events$1, an as EmitterIdOf, ar as ComponentValue, bn as FeatureTree, c as LoadBundles, dr as QueryTerm, dt as ViewportSize, ei as State$8, f as ReadyBundles, fr as ResourceType, gr as Api$6, gt as FrameRecord, hr as TagType, i as BundleSpec, ii as Config$10, in as Config$3, ir as ComponentType, jn as Descriptor, jr as Root, kn as SceneIdOf, l as LoadReason, ln as State$3, lr as Mut, m as Tier, mr as SystemFor, nn as Api$2, nr as ComponentHandle, o as DefineBundles, oi as Require, on as GameTypes, p as State$1, pn as defineFlow, pr as SystemDefinition, q as sprite, qn as ProjectionSpec, qr as PauseReason, r as BundleMap, rn as BundlesOf, rt as State$6, sn as HudKeysOf, t as Api, ti as ThermalReading, u as LoadResult, un as TextStylesOf, ur as Narrowed, v as Config$7, vn as FeatureDescription, w as ScenesApi, x as LayerMap, xr as Api$1, y as DefineScene, yn as FeaturePlugin, yr as State$9 } from "./types-
|
|
2
|
-
import { A as GlowValue, B as Target, C as BlurValue, D as FilterComponent, F as AnimPlayerValue, H as HapticKind, I as Config$11, K as defineAnimation, L as FramesValue, M as OutlineValue, N as UniformDeclaration, O as FilterSpec, P as AnimApi, Q as play, R as MotionKeyframe, S as AlphaValue, T as DisplacementValue, U as SfxDescriptor, W as Step, _ as State$12, a as AudioApi, b as EmitterDefinition, c as MusicDescriptor, d as State$11, f as VolumesFor, h as EffectsApi, j as NoiseValue, k as FilterValueOf, l as MusicOptions, lt as OverlayApi, m as Config$13, n as State$13, r as UiApi, s as Config$12, t as Config$14, w as ColorMatrixValue, x as EmitterValue, y as EmitterConfig, z as State$10 } from "./types-
|
|
3
|
-
import { B as Message, C as State$16, D as TextStyleInput, G as TypedTr, H as State$14, I as Argument, J as ResolvedStyle, L as Config$15, M as Config$16, N as InputApi, O as TextStyles, P as State$15, R as I18nApi, S as Point, T as TextBind, V as Part, W as TextKey, Y as Style, Z as WhenFlags, b as Config$17, g as IntrinsicElementsFor, h as defineTokens, j as defineComponent, k as TextValue, q as IsFlags, s as PopupComponent, v as BindField, w as TextApi, x as CountdownValue, y as BindOptions, z as IntlKit } from "./types-
|
|
1
|
+
import { $r as RateChange, Ar as Json, B as ShapeValue, Bn as DescriptionNode, C as SceneSpec, Cn as DefineNode, Cr as Config$2, Dt as PassKind, F as NineSliceValue, Fn as Hint, Gn as NumericFields, Gr as Config$4, Hr as RngApi, Jn as ReducedMotion, Jr as State$4, K as TransformValue, Kn as ProjectionMotion, Kr as Events, L as OverlayValue, Ln as Answer, Mn as Effect, Mr as State$5, N as HudPartValue, Nn as EffectOptions, Or as Config$5, Pn as GuideOptions, Pr as Patch, S as SceneDefinition, T as State$7, Tr as State$2, U as SpriteOptions, Vn as Ease, Vr as StoreApi, W as SpriteValue, Wr as Api$3, X as Config$6, Xr as Api$5, Y as Api$4, Zr as Config$8, _ as AnySceneProjection, _r as Config$9, _t as FrameRing, a as Config$1, ai as Events$1, an as EmitterIdOf, ar as ComponentValue, bn as FeatureTree, c as LoadBundles, dr as QueryTerm, dt as ViewportSize, ei as State$8, f as ReadyBundles, fr as ResourceType, gr as Api$6, gt as FrameRecord, hr as TagType, i as BundleSpec, ii as Config$10, in as Config$3, ir as ComponentType, jn as Descriptor, jr as Root, kn as SceneIdOf, l as LoadReason, ln as State$3, lr as Mut, m as Tier, mr as SystemFor, nn as Api$2, nr as ComponentHandle, o as DefineBundles, oi as Require, on as GameTypes, p as State$1, pn as defineFlow, pr as SystemDefinition, q as sprite, qn as ProjectionSpec, qr as PauseReason, r as BundleMap, rn as BundlesOf, rt as State$6, sn as HudKeysOf, t as Api, ti as ThermalReading, u as LoadResult, un as TextStylesOf, ur as Narrowed, v as Config$7, vn as FeatureDescription, w as ScenesApi, x as LayerMap, xr as Api$1, y as DefineScene, yn as FeaturePlugin, yr as State$9 } from "./types-CmwjkCj5.mjs";
|
|
2
|
+
import { A as GlowValue, B as Target, C as BlurValue, D as FilterComponent, F as AnimPlayerValue, H as HapticKind, I as Config$11, K as defineAnimation, L as FramesValue, M as OutlineValue, N as UniformDeclaration, O as FilterSpec, P as AnimApi, Q as play, R as MotionKeyframe, S as AlphaValue, T as DisplacementValue, U as SfxDescriptor, W as Step, _ as State$12, a as AudioApi, b as EmitterDefinition, c as MusicDescriptor, d as State$11, f as VolumesFor, h as EffectsApi, j as NoiseValue, k as FilterValueOf, l as MusicOptions, lt as OverlayApi, m as Config$13, n as State$13, r as UiApi, s as Config$12, t as Config$14, w as ColorMatrixValue, x as EmitterValue, y as EmitterConfig, z as State$10 } from "./types-feXn09s4.mjs";
|
|
3
|
+
import { B as Message, C as State$16, D as TextStyleInput, G as TypedTr, H as State$14, I as Argument, J as ResolvedStyle, L as Config$15, M as Config$16, N as InputApi, O as TextStyles, P as State$15, R as I18nApi, S as Point, T as TextBind, V as Part, W as TextKey, Y as Style, Z as WhenFlags, b as Config$17, g as IntrinsicElementsFor, h as defineTokens, j as defineComponent, k as TextValue, q as IsFlags, s as PopupComponent, v as BindField, w as TextApi, x as CountdownValue, y as BindOptions, z as IntlKit } from "./types-CafT9oPU.mjs";
|
|
4
4
|
import { Log } from "@moku-labs/common/browser";
|
|
5
5
|
import { PluginCtx } from "@moku-labs/core";
|
|
6
6
|
|
package/dist/index.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { $t as ShaderWhat, At as PerfChange, Bn as DescriptionNode, Bt as PerfLongFrameLine, Ct as PERF_CAUSES, Dt as PassKind, E as types_d_exports$13, Er as types_d_exports$3, Et as PROBLEM_RULES, Ft as PerfEventLine, G as Transform, Gt as PerfStartupLine, H as SpriteBlend, Ht as PerfMeasured, I as Overlay, It as PerfEventName, J as AdaptiveScale, Jt as PoolTrimDetail, Kt as PerfTelemetryLine, L as OverlayValue, Lt as PerfGapLine, M as HudPart, Mt as PerfCollectorLine, N as HudPartValue, Nr as types_d_exports$10, Nt as PerfCounts, Ot as PassRecord, P as NineSlice, Pt as PerfDisplay, Qt as ShaderEventDetail, R as Parent, Rn as AnchorTarget, Rr as SaveUnreadableError, Rt as PerfHeaderLine, St as OverlayWhat, Tt as PERF_LOG_VERSION, Ut as PerfSampleLine, V as Sprite, Vt as PerfMarkLine, Wt as PerfSpikeLine, Xt as ProblemRule, Yn as SceneSwitch, Yr as types_d_exports$9, Yt as ProblemEventDetail, Z as MonitorConfig, Zt as SHADER_WHATS, _n as type, _t as FrameRing, at as types_d_exports$12, br as types_d_exports$17, bt as MonitorSections, dn as types_d_exports$6, en as WarmDetail, fn as contribution, g as types_d_exports$1, gn as to, gt as FrameRecord, hn as slot, ht as FrameReadout, j as Display, jt as PerfChangeEntry, kt as PerfCause, mn as exit, mt as FrameReadResult, nt as PoolTrim, pt as FrameColumns, q as sprite, qt as PerfThermalLine, ri as types_d_exports$15, st as MonitorCounts, tn as DEMAND_REASONS, vt as LongFrameEntry, wt as PERF_GAP_BUCKETS, xt as OverlayEventDetail, yt as MONITOR_SECTIONS, z as Shape, zt as PerfLogLine } from "./types-
|
|
2
|
-
import { $ as sequence, E as FilterArea, G as HAPTIC_KINDS, H as HapticKind, J as frames, K as defineAnimation, Q as play, V as types_d_exports, X as mark, Y as haptic, Z as parallel, at as stopSfx, ct as wait, et as set, i as types_d_exports$16, it as stagger, nt as spawn, ot as tween, p as types_d_exports$2, q as external, rt as spawned, st as use, tt as sfx, ut as types_d_exports$4, v as types_d_exports$5 } from "./types-
|
|
3
|
-
import { A as types_d_exports$14, E as TextFormat, F as types_d_exports$8, K as types_d_exports$7, d as DebugTrigger, f as LocalWrite, h as defineTokens, j as defineComponent, m as popup, p as ScrollState, u as Box, x as CountdownValue, y as BindOptions } from "./types-
|
|
4
|
-
import { $ as system, A as Draggable, At as Text, B as Touchable, C as AnimPlayer, Ct as debugPlugin, D as defineBundles, Dt as animPlugin, E as defineScene, Et as assetsPlugin, F as PointerOver, G as Exiting, H as Traced, I as Pressable, J as Order, K as Layer, L as Pressed, M as Held, Mt as defineTextStyles, N as Hovered, Nt as label, O as load, Ot as projection, P as Pointer, Q as resource, R as Swipeable, S as defineMotion, St as effectsPlugin, T as Frames, Tt as audioPlugin, U as PASS_KINDS, V as Traceable, W as frameAt, X as component, Y as Tree, Z as mut, _ as defineStyle, _t as modelPlugin, a as defineEmitter, at as defineFeature, b as messageDuration, bt as i18nPlugin, c as Alpha, ct as uiPlugin, d as Displacement, dt as scenesPlugin, et as tag, f as Glow, ft as rendererPlugin, g as resolve, gt as types_d_exports$11, h as music, ht as PlatformProvider, i as screen, it as schedule, j as DropTarget, jt as bind, k as ready, kt as Countdown, l as Blur, lt as timePlugin, m as Outline, mt as BackResult, n as createPlugin, nt as guide, o as Emitter, ot as flattenFeatures, p as Noise, pt as platformPlugin, q as Now, r as defineGame, rt as hint, s as defineFilter, st as worldPlugin, t as createApp, tt as defineEffect, u as ColorMatrix, ut as textPlugin, v as tr, vt as lifecyclePlugin, w as Animation, wt as clockPlugin, x as cubicBezier, xt as flowPlugin, y as messageArgument, yt as inputPlugin, z as Tappable } from "./index-
|
|
1
|
+
import { $t as ShaderWhat, At as PerfChange, Bn as DescriptionNode, Bt as PerfLongFrameLine, Ct as PERF_CAUSES, Dt as PassKind, E as types_d_exports$13, Er as types_d_exports$3, Et as PROBLEM_RULES, Ft as PerfEventLine, G as Transform, Gt as PerfStartupLine, H as SpriteBlend, Ht as PerfMeasured, I as Overlay, It as PerfEventName, J as AdaptiveScale, Jt as PoolTrimDetail, Kt as PerfTelemetryLine, L as OverlayValue, Lt as PerfGapLine, M as HudPart, Mt as PerfCollectorLine, N as HudPartValue, Nr as types_d_exports$10, Nt as PerfCounts, Ot as PassRecord, P as NineSlice, Pt as PerfDisplay, Qt as ShaderEventDetail, R as Parent, Rn as AnchorTarget, Rr as SaveUnreadableError, Rt as PerfHeaderLine, St as OverlayWhat, Tt as PERF_LOG_VERSION, Ut as PerfSampleLine, V as Sprite, Vt as PerfMarkLine, Wt as PerfSpikeLine, Xt as ProblemRule, Yn as SceneSwitch, Yr as types_d_exports$9, Yt as ProblemEventDetail, Z as MonitorConfig, Zt as SHADER_WHATS, _n as type, _t as FrameRing, at as types_d_exports$12, br as types_d_exports$17, bt as MonitorSections, dn as types_d_exports$6, en as WarmDetail, fn as contribution, g as types_d_exports$1, gn as to, gt as FrameRecord, hn as slot, ht as FrameReadout, j as Display, jt as PerfChangeEntry, kt as PerfCause, mn as exit, mt as FrameReadResult, nt as PoolTrim, pt as FrameColumns, q as sprite, qt as PerfThermalLine, ri as types_d_exports$15, st as MonitorCounts, tn as DEMAND_REASONS, vt as LongFrameEntry, wt as PERF_GAP_BUCKETS, xt as OverlayEventDetail, yt as MONITOR_SECTIONS, z as Shape, zt as PerfLogLine } from "./types-CmwjkCj5.mjs";
|
|
2
|
+
import { $ as sequence, E as FilterArea, G as HAPTIC_KINDS, H as HapticKind, J as frames, K as defineAnimation, Q as play, V as types_d_exports, X as mark, Y as haptic, Z as parallel, at as stopSfx, ct as wait, et as set, i as types_d_exports$16, it as stagger, nt as spawn, ot as tween, p as types_d_exports$2, q as external, rt as spawned, st as use, tt as sfx, ut as types_d_exports$4, v as types_d_exports$5 } from "./types-feXn09s4.mjs";
|
|
3
|
+
import { A as types_d_exports$14, E as TextFormat, F as types_d_exports$8, K as types_d_exports$7, d as DebugTrigger, f as LocalWrite, h as defineTokens, j as defineComponent, m as popup, p as ScrollState, u as Box, x as CountdownValue, y as BindOptions } from "./types-CafT9oPU.mjs";
|
|
4
|
+
import { $ as system, A as Draggable, At as Text, B as Touchable, C as AnimPlayer, Ct as debugPlugin, D as defineBundles, Dt as animPlugin, E as defineScene, Et as assetsPlugin, F as PointerOver, G as Exiting, H as Traced, I as Pressable, J as Order, K as Layer, L as Pressed, M as Held, Mt as defineTextStyles, N as Hovered, Nt as label, O as load, Ot as projection, P as Pointer, Q as resource, R as Swipeable, S as defineMotion, St as effectsPlugin, T as Frames, Tt as audioPlugin, U as PASS_KINDS, V as Traceable, W as frameAt, X as component, Y as Tree, Z as mut, _ as defineStyle, _t as modelPlugin, a as defineEmitter, at as defineFeature, b as messageDuration, bt as i18nPlugin, c as Alpha, ct as uiPlugin, d as Displacement, dt as scenesPlugin, et as tag, f as Glow, ft as rendererPlugin, g as resolve, gt as types_d_exports$11, h as music, ht as PlatformProvider, i as screen, it as schedule, j as DropTarget, jt as bind, k as ready, kt as Countdown, l as Blur, lt as timePlugin, m as Outline, mt as BackResult, n as createPlugin, nt as guide, o as Emitter, ot as flattenFeatures, p as Noise, pt as platformPlugin, q as Now, r as defineGame, rt as hint, s as defineFilter, st as worldPlugin, t as createApp, tt as defineEffect, u as ColorMatrix, ut as textPlugin, v as tr, vt as lifecyclePlugin, w as Animation, wt as clockPlugin, x as cubicBezier, xt as flowPlugin, y as messageArgument, yt as inputPlugin, z as Tappable } from "./index-BJtzpola.mjs";
|
|
5
5
|
export { type AdaptiveScale, Alpha, type AnchorTarget, types_d_exports as Anim, AnimPlayer, Animation, types_d_exports$1 as Assets, types_d_exports$2 as Audio, type BackResult, type BindOptions, Blur, Box, types_d_exports$3 as Clock, ColorMatrix, Countdown, type CountdownValue, DEMAND_REASONS, types_d_exports$4 as Debug, DebugTrigger, type DescriptionNode, Displacement, Display, Draggable, DropTarget, types_d_exports$5 as Effects, Emitter, Exiting, type FilterArea, types_d_exports$6 as Flow, type FrameColumns, type FrameReadResult, type FrameReadout, type FrameRecord, type FrameRing, Frames, Glow, HAPTIC_KINDS, type HapticKind, Held, Hovered, HudPart, type HudPartValue, types_d_exports$7 as I18n, types_d_exports$8 as Input, Layer, types_d_exports$9 as Lifecycle, LocalWrite, type LongFrameEntry, MONITOR_SECTIONS, types_d_exports$10 as Model, type MonitorConfig, type MonitorCounts, type MonitorSections, NineSlice, Noise, Now, Order, Outline, Overlay, type OverlayEventDetail, type OverlayValue, type OverlayWhat, PASS_KINDS, PERF_CAUSES, PERF_GAP_BUCKETS, PERF_LOG_VERSION, PROBLEM_RULES, Parent, type PassKind, type PassRecord, type PerfCause, type PerfChange, type PerfChangeEntry, type PerfCollectorLine, type PerfCounts, type PerfDisplay, type PerfEventLine, type PerfEventName, type PerfGapLine, type PerfHeaderLine, type PerfLogLine, type PerfLongFrameLine, type PerfMarkLine, type PerfMeasured, type PerfSampleLine, type PerfSpikeLine, type PerfStartupLine, type PerfTelemetryLine, type PerfThermalLine, types_d_exports$11 as Platform, type PlatformProvider, Pointer, PointerOver, type PoolTrim, type PoolTrimDetail, Pressable, Pressed, type ProblemEventDetail, type ProblemRule, types_d_exports$12 as Renderer, SHADER_WHATS, SaveUnreadableError, type SceneSwitch, types_d_exports$13 as Scenes, ScrollState, type ShaderEventDetail, type ShaderWhat, Shape, Sprite, type SpriteBlend, Swipeable, Tappable, Text, type TextFormat, types_d_exports$14 as TextTypes, types_d_exports$15 as Time, Touchable, Traceable, Traced, Transform, Tree, types_d_exports$16 as Ui, type WarmDetail, types_d_exports$17 as World, animPlugin, assetsPlugin, audioPlugin, bind, clockPlugin, component, contribution, createApp, createPlugin, cubicBezier, debugPlugin, defineAnimation, defineBundles, defineComponent, defineEffect, defineEmitter, defineFeature, defineFilter, defineGame, defineMotion, defineScene, defineStyle, defineTextStyles, defineTokens, effectsPlugin, exit, external, flattenFeatures, flowPlugin, frameAt, frames, guide, haptic, hint, i18nPlugin, inputPlugin, label, lifecyclePlugin, load, mark, messageArgument, messageDuration, modelPlugin, music, mut, parallel, platformPlugin, play, popup, projection, ready, rendererPlugin, resolve, resource, scenesPlugin, schedule, screen, sequence, set, sfx, slot, spawn, spawned, sprite, stagger, stopSfx, system, tag, textPlugin, timePlugin, to, tr, tween, type, uiPlugin, use, wait, worldPlugin };
|
package/dist/index.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { $ as sfx, $t as flowPlugin, A as types_exports$7, At as Glow, B as defineMotion, Bt as Animation, C as types_exports$14, Ct as messageDuration, D as types_exports$10, Dt as Blur, E as types_exports$11, Et as Alpha, F as types_exports$2, Ft as audioPlugin, G as external, Gt as MONITOR_SECTIONS, H as platformPlugin, Ht as rendererPlugin, I as types_exports$1, It as scenesPlugin, J as mark, Jt as PERF_LOG_VERSION, K as frames, Kt as PERF_CAUSES, L as types_exports, Lt as assetsPlugin, M as types_exports$5, Mt as Outline, N as types_exports$4, Nt as defineFilter, O as types_exports$9, Ot as ColorMatrix, P as types_exports$3, Pt as debugPlugin, Q as set, Qt as worldPlugin, R as uiPlugin, Rt as animPlugin, S as types_exports$15, St as messageArgument, T as types_exports$12, Tt as Emitter, U as HAPTIC_KINDS, Ut as PASS_KINDS, V as textPlugin, Vt as Frames, W as defineAnimation, Wt as frameAt, X as play, Xt as SHADER_WHATS, Y as parallel, Yt as PROBLEM_RULES, Z as sequence, Zt as DEMAND_REASONS, _ as defineBundles, _t as Tappable, a as cubicBezier, an as type, at as use, b as types_exports$17, bt as Traced, c as hint, cn as lifecyclePlugin, ct as Draggable, d as defineScene, dt as Hovered, et as spawn, f as tr, ft as Pointer, g as music, gt as Swipeable, h as defineEmitter, ht as Pressed, i as screen, in as to, it as tween, j as types_exports$6, jt as Noise, k as types_exports$8, kt as Displacement, l as schedule, ln as timePlugin, lt as DropTarget, m as flattenFeatures, mt as Pressable, n as createPlugin, nn as exit, nt as stagger, o as defineEffect, on as modelPlugin, ot as wait, p as defineFeature, pt as PointerOver, q as haptic, qt as PERF_GAP_BUCKETS, r as defineGame, rn as slot, rt as stopSfx, s as guide, sn as SaveUnreadableError, st as inputPlugin, t as createApp, tn as contribution, tt as spawned, u as projection, un as clockPlugin, ut as Held, v as load, vt as Touchable, w as types_exports$13, wt as effectsPlugin, x as types_exports$16, xt as i18nPlugin, y as ready, yt as Traceable, z as resolve, zt as AnimPlayer } from "./src-
|
|
1
|
+
import { $ as sfx, $t as flowPlugin, A as types_exports$7, At as Glow, B as defineMotion, Bt as Animation, C as types_exports$14, Ct as messageDuration, D as types_exports$10, Dt as Blur, E as types_exports$11, Et as Alpha, F as types_exports$2, Ft as audioPlugin, G as external, Gt as MONITOR_SECTIONS, H as platformPlugin, Ht as rendererPlugin, I as types_exports$1, It as scenesPlugin, J as mark, Jt as PERF_LOG_VERSION, K as frames, Kt as PERF_CAUSES, L as types_exports, Lt as assetsPlugin, M as types_exports$5, Mt as Outline, N as types_exports$4, Nt as defineFilter, O as types_exports$9, Ot as ColorMatrix, P as types_exports$3, Pt as debugPlugin, Q as set, Qt as worldPlugin, R as uiPlugin, Rt as animPlugin, S as types_exports$15, St as messageArgument, T as types_exports$12, Tt as Emitter, U as HAPTIC_KINDS, Ut as PASS_KINDS, V as textPlugin, Vt as Frames, W as defineAnimation, Wt as frameAt, X as play, Xt as SHADER_WHATS, Y as parallel, Yt as PROBLEM_RULES, Z as sequence, Zt as DEMAND_REASONS, _ as defineBundles, _t as Tappable, a as cubicBezier, an as type, at as use, b as types_exports$17, bt as Traced, c as hint, cn as lifecyclePlugin, ct as Draggable, d as defineScene, dt as Hovered, et as spawn, f as tr, ft as Pointer, g as music, gt as Swipeable, h as defineEmitter, ht as Pressed, i as screen, in as to, it as tween, j as types_exports$6, jt as Noise, k as types_exports$8, kt as Displacement, l as schedule, ln as timePlugin, lt as DropTarget, m as flattenFeatures, mt as Pressable, n as createPlugin, nn as exit, nt as stagger, o as defineEffect, on as modelPlugin, ot as wait, p as defineFeature, pt as PointerOver, q as haptic, qt as PERF_GAP_BUCKETS, r as defineGame, rn as slot, rt as stopSfx, s as guide, sn as SaveUnreadableError, st as inputPlugin, t as createApp, tn as contribution, tt as spawned, u as projection, un as clockPlugin, ut as Held, v as load, vt as Touchable, w as types_exports$13, wt as effectsPlugin, x as types_exports$16, xt as i18nPlugin, y as ready, yt as Traceable, z as resolve, zt as AnimPlayer } from "./src-DqX5kci9.mjs";
|
|
2
2
|
import { $ as Layer, B as Display, C as defineStyle, E as bind, G as Parent, H as NineSlice, J as Transform, K as Shape, O as defineTextStyles, Q as Exiting, S as defineTokens, T as Text, U as Overlay, V as HudPart, Z as sprite, _ as ScrollState, at as resource, b as popup, ct as tag, d as Box, et as Now, h as LocalWrite, it as mut, k as label, nt as Tree, ot as system, p as DebugTrigger, q as Sprite, rt as component, tt as Order, w as Countdown } from "./visual-B7TxMv1J.mjs";
|
|
3
3
|
import { t as defineComponent } from "./component-DGg5DqKK.mjs";
|
|
4
4
|
export { Alpha, types_exports as Anim, AnimPlayer, Animation, types_exports$1 as Assets, types_exports$2 as Audio, Blur, Box, types_exports$3 as Clock, ColorMatrix, Countdown, DEMAND_REASONS, types_exports$4 as Debug, DebugTrigger, Displacement, Display, Draggable, DropTarget, types_exports$5 as Effects, Emitter, Exiting, types_exports$6 as Flow, Frames, Glow, HAPTIC_KINDS, Held, Hovered, HudPart, types_exports$7 as I18n, types_exports$8 as Input, Layer, types_exports$9 as Lifecycle, LocalWrite, MONITOR_SECTIONS, types_exports$10 as Model, NineSlice, Noise, Now, Order, Outline, Overlay, PASS_KINDS, PERF_CAUSES, PERF_GAP_BUCKETS, PERF_LOG_VERSION, PROBLEM_RULES, Parent, types_exports$11 as Platform, Pointer, PointerOver, Pressable, Pressed, types_exports$12 as Renderer, SHADER_WHATS, SaveUnreadableError, types_exports$13 as Scenes, ScrollState, Shape, Sprite, Swipeable, Tappable, Text, types_exports$14 as TextTypes, types_exports$15 as Time, Touchable, Traceable, Traced, Transform, Tree, types_exports$16 as Ui, types_exports$17 as World, animPlugin, assetsPlugin, audioPlugin, bind, clockPlugin, component, contribution, createApp, createPlugin, cubicBezier, debugPlugin, defineAnimation, defineBundles, defineComponent, defineEffect, defineEmitter, defineFeature, defineFilter, defineGame, defineMotion, defineScene, defineStyle, defineTextStyles, defineTokens, effectsPlugin, exit, external, flattenFeatures, flowPlugin, frameAt, frames, guide, haptic, hint, i18nPlugin, inputPlugin, label, lifecyclePlugin, load, mark, messageArgument, messageDuration, modelPlugin, music, mut, parallel, platformPlugin, play, popup, projection, ready, rendererPlugin, resolve, resource, scenesPlugin, schedule, screen, sequence, set, sfx, slot, spawn, spawned, sprite, stagger, stopSfx, system, tag, textPlugin, timePlugin, to, tr, tween, type, uiPlugin, use, wait, worldPlugin };
|
package/dist/inspect.d.mts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { Dr as Api, En as JournalEntry, Y as Api$2, cn as Position, cr as FrameDiff, ct as RenderStats, gr as Api$1, h as Usage, it as Under, rr as ComponentSchema, sr as EntitySnapshot, t as Api$3, vr as Explained, wn as FlowGraph, zr as Snapshot } from "./types-
|
|
2
|
-
import { a as AudioApi, g as EffectsStats, h as EffectsApi, r as UiApi, u as SoundEntry } from "./types-
|
|
3
|
-
import { c as UiNode } from "./types-
|
|
4
|
-
import { t as HeadlessApp } from "./headless-
|
|
5
|
-
import { a as InputOf, c as Source, i as InputArguments, l as WatchApp, o as InputSchema, t as CheatEntry, u as WatchInput } from "./types-
|
|
6
|
-
import { n as defineSource } from "./define-
|
|
1
|
+
import { Dr as Api, En as JournalEntry, Y as Api$2, cn as Position, cr as FrameDiff, ct as RenderStats, gr as Api$1, h as Usage, it as Under, rr as ComponentSchema, sr as EntitySnapshot, t as Api$3, vr as Explained, wn as FlowGraph, zr as Snapshot } from "./types-CmwjkCj5.mjs";
|
|
2
|
+
import { a as AudioApi, g as EffectsStats, h as EffectsApi, r as UiApi, u as SoundEntry } from "./types-feXn09s4.mjs";
|
|
3
|
+
import { c as UiNode } from "./types-CafT9oPU.mjs";
|
|
4
|
+
import { t as HeadlessApp } from "./headless-BdfPq6Rk.mjs";
|
|
5
|
+
import { a as InputOf, c as Source, i as InputArguments, l as WatchApp, o as InputSchema, t as CheatEntry, u as WatchInput } from "./types-C9LTGx_J.mjs";
|
|
6
|
+
import { n as defineSource } from "./define-CvDuGXk8.mjs";
|
|
7
7
|
|
|
8
8
|
//#region src/plugins/flow/doors/read.d.ts
|
|
9
9
|
/**
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as jsxs, i as jsxDEV, n as JSX, r as jsx, t as Fragment } from "./runtime-
|
|
1
|
+
import { a as jsxs, i as jsxDEV, n as JSX, r as jsx, t as Fragment } from "./runtime-BOpDKzS4.mjs";
|
|
2
2
|
export { Fragment, type JSX, jsx, jsxDEV, jsxs };
|
package/dist/jsx-runtime.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as jsxs, n as JSX, r as jsx, t as Fragment } from "./runtime-
|
|
1
|
+
import { a as jsxs, n as JSX, r as jsx, t as Fragment } from "./runtime-BOpDKzS4.mjs";
|
|
2
2
|
export { Fragment, type JSX, jsx, jsxs };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _ as UiIntrinsicElements, a as JsxChild, t as DescriptionNode } from "./types-
|
|
1
|
+
import { _ as UiIntrinsicElements, a as JsxChild, t as DescriptionNode } from "./types-CafT9oPU.mjs";
|
|
2
2
|
|
|
3
3
|
//#region src/plugins/ui/jsx/runtime.d.ts
|
|
4
4
|
/** What the compiler passes as props: the children plus whatever the tag declared. */
|
|
@@ -32707,7 +32707,9 @@ function warnOutside(sctx, entity, key) {
|
|
|
32707
32707
|
}
|
|
32708
32708
|
/**
|
|
32709
32709
|
* The HUD parts: every part of the HUD layer is drawn with the factor of the overlays' levels of this frame, and the
|
|
32710
|
-
* parts leaving or not fully back take no tap. A part outside the HUD layer is warned once and drawn as it is.
|
|
32710
|
+
* parts leaving or not fully back take no tap. A part outside the HUD layer is warned once and drawn as it is. A part of
|
|
32711
|
+
* a scene built aside is not warned while it builds, nor in the frame its build waits to be attached: the layers it is
|
|
32712
|
+
* judged against are still the scene's being left (a splash with no HUD layer), or none on a cold page (F117).
|
|
32711
32713
|
*
|
|
32712
32714
|
* @param sctx - Domain context of the sync module.
|
|
32713
32715
|
*/
|
|
@@ -32716,14 +32718,16 @@ function stepParts(sctx) {
|
|
|
32716
32718
|
const overlay = state.overlay;
|
|
32717
32719
|
if (overlay.parts.size === 0 && overlay.offTops.size === 0) return;
|
|
32718
32720
|
const hud = state.hudLayer;
|
|
32721
|
+
const settling = heldWaiting(sctx);
|
|
32719
32722
|
const ecs = sctx.ctx.deps.world.ecs;
|
|
32723
|
+
const projection = sctx.ctx.deps.world.projection;
|
|
32720
32724
|
if (overlay.nextOff.size > 0) overlay.nextOff.clear();
|
|
32721
32725
|
for (const entity of overlay.parts) {
|
|
32722
32726
|
const view = state.views.get(entity);
|
|
32723
32727
|
if (view === void 0) continue;
|
|
32724
32728
|
const key = ecs.get(entity, HudPart)?.key ?? "";
|
|
32725
32729
|
if (hud === void 0 || layerOf$1(sctx, entity) !== hud) {
|
|
32726
|
-
warnOutside(sctx, entity, key);
|
|
32730
|
+
if (!settling && !projection.isBuilding(entity)) warnOutside(sctx, entity, key);
|
|
32727
32731
|
applyHud(sctx, entity, view, 1);
|
|
32728
32732
|
continue;
|
|
32729
32733
|
}
|
|
@@ -40034,7 +40038,8 @@ function releaseMarkedRest(ctx, run) {
|
|
|
40034
40038
|
/**
|
|
40035
40039
|
* The `load` stage of entering a node: the bundles of the node become the pinned set, the release
|
|
40036
40040
|
* a rest marked runs, and in live mode the node waits for its bundles. A bundle the preload did not
|
|
40037
|
-
* reach is a dev warning, except a `"leave"` bundle, which the preload skips on purpose
|
|
40041
|
+
* reach is a dev warning, except a `"leave"` bundle, which the preload skips on purpose, and the
|
|
40042
|
+
* bundles of a node entered before any live rest, which no preload could reach (F117).
|
|
40038
40043
|
*
|
|
40039
40044
|
* @param ctx - Domain context of the plugin.
|
|
40040
40045
|
* @param node - The node being entered.
|
|
@@ -40051,7 +40056,7 @@ async function enterNode(ctx, node, run) {
|
|
|
40051
40056
|
if (state.io === void 0 || run.mode === "fast") return;
|
|
40052
40057
|
for (const name of bundles) {
|
|
40053
40058
|
const isLeaving = state.manifest.bundles[name]?.release === "leave";
|
|
40054
|
-
if (state.records.get(name)?.status !== "loaded" && !isLeaving) ctx.log.warn("assets: the node waited for a bundle", {
|
|
40059
|
+
if (state.restedLive && state.records.get(name)?.status !== "loaded" && !isLeaving) ctx.log.warn("assets: the node waited for a bundle", {
|
|
40055
40060
|
bundle: name,
|
|
40056
40061
|
path: node.path
|
|
40057
40062
|
});
|
|
@@ -40182,6 +40187,7 @@ function releaseAll(state) {
|
|
|
40182
40187
|
state.sceneComing = [];
|
|
40183
40188
|
state.exiting = 0;
|
|
40184
40189
|
state.restPending = false;
|
|
40190
|
+
state.restedLive = false;
|
|
40185
40191
|
state.stamps = void 0;
|
|
40186
40192
|
state.swapping = void 0;
|
|
40187
40193
|
state.io = void 0;
|
|
@@ -40926,7 +40932,10 @@ function createHandlers$5(ctx, reload) {
|
|
|
40926
40932
|
assets ??= withDeps$6(ctx);
|
|
40927
40933
|
if (assets.state.io === void 0) return;
|
|
40928
40934
|
const live = assets.deps.flow.state().mode !== "fast";
|
|
40929
|
-
if (live)
|
|
40935
|
+
if (live) {
|
|
40936
|
+
assets.state.restPending = true;
|
|
40937
|
+
assets.state.restedLive = true;
|
|
40938
|
+
}
|
|
40930
40939
|
enforceBudget(assets);
|
|
40931
40940
|
if (!live) return;
|
|
40932
40941
|
startPreload(assets);
|
|
@@ -41002,6 +41011,7 @@ function createAssetsState() {
|
|
|
41002
41011
|
exiting: 0,
|
|
41003
41012
|
companions: [],
|
|
41004
41013
|
restPending: false,
|
|
41014
|
+
restedLive: false,
|
|
41005
41015
|
readyFailed: emptySet$2(),
|
|
41006
41016
|
warmed: emptyMap$3()
|
|
41007
41017
|
};
|
|
@@ -48545,25 +48555,34 @@ function hasEnabledFilter(ectx, view) {
|
|
|
48545
48555
|
return false;
|
|
48546
48556
|
}
|
|
48547
48557
|
/**
|
|
48548
|
-
*
|
|
48549
|
-
*
|
|
48550
|
-
*
|
|
48558
|
+
* Frames in a row the render passes stay over the budget before it warns. A scene that appears draws every filtered
|
|
48559
|
+
* view live until its first take, one take a frame, and a take frame pays the take on top of the views still live: a
|
|
48560
|
+
* board of A Memory Missing went 26 of 24 for a few frames on a cold start (F117). A second at 60 Hz outlasts that.
|
|
48561
|
+
*/
|
|
48562
|
+
const STEADY_FRAMES = 60;
|
|
48563
|
+
/**
|
|
48564
|
+
* Warns once per steady crossing of the pass budget: the renderer's render passes over `config.maxPasses` for
|
|
48565
|
+
* `STEADY_FRAMES` frames in a row. The count walks the renderer's filtered views, so it is read only while a view
|
|
48566
|
+
* carries a filter; with none the frame draws at most one pass and the budget cannot trip.
|
|
48551
48567
|
*
|
|
48552
48568
|
* @param ectx - Domain context of the effects plugin.
|
|
48553
48569
|
*/
|
|
48554
48570
|
function checkPassBudget(ectx) {
|
|
48555
48571
|
const { state, config, deps } = ectx;
|
|
48556
48572
|
if (state.views.size === 0) {
|
|
48557
|
-
state.over.passes =
|
|
48573
|
+
state.over.passes = 0;
|
|
48558
48574
|
return;
|
|
48559
48575
|
}
|
|
48560
48576
|
const passes = deps.renderer.sync.renderPasses();
|
|
48561
|
-
|
|
48562
|
-
|
|
48577
|
+
if (passes <= config.maxPasses) {
|
|
48578
|
+
state.over.passes = 0;
|
|
48579
|
+
return;
|
|
48580
|
+
}
|
|
48581
|
+
state.over.passes += 1;
|
|
48582
|
+
if (state.over.passes === STEADY_FRAMES) ectx.log.warn("effects:pass-budget", {
|
|
48563
48583
|
passes,
|
|
48564
48584
|
budget: config.maxPasses
|
|
48565
48585
|
});
|
|
48566
|
-
state.over.passes = overPasses;
|
|
48567
48586
|
}
|
|
48568
48587
|
/** The components a view's box and scale are read from (`coversScreen`): one plain array, never frozen. */
|
|
48569
48588
|
const BOX_COMPONENTS = [
|
|
@@ -49392,7 +49411,8 @@ function placementOf(ecs, host) {
|
|
|
49392
49411
|
* Starts an instance of a baked effect on a host: the container, the particle entity, the seed,
|
|
49393
49412
|
* then the prewarm and the burst. World space places the container at the host's root point,
|
|
49394
49413
|
* turned and scaled by nothing, and leaves it there; local space gives it the host's whole root
|
|
49395
|
-
* pose, which the step writes again every frame. Neither uses `Parent`.
|
|
49414
|
+
* pose, which the step writes again every frame. Neither uses `Parent`. A host of a scene built
|
|
49415
|
+
* aside has its particle entity adopted into that build: held until the commit, gone with a discard.
|
|
49396
49416
|
*
|
|
49397
49417
|
* @param ectx - Domain context of the effects plugin.
|
|
49398
49418
|
* @param pixi - The module the renderer loaded.
|
|
@@ -49427,6 +49447,8 @@ function createInstance(ectx, pixi, host, baked, emitting) {
|
|
|
49427
49447
|
Transform(pose),
|
|
49428
49448
|
...placementOf(ecs, host)
|
|
49429
49449
|
]);
|
|
49450
|
+
const projection = ectx.deps.world.projection;
|
|
49451
|
+
if (projection.isBuilding(host)) projection.adopt(entity);
|
|
49430
49452
|
const instance = {
|
|
49431
49453
|
id: baked.id,
|
|
49432
49454
|
baked,
|
|
@@ -49932,7 +49954,7 @@ function createEffectsState() {
|
|
|
49932
49954
|
particles: 0,
|
|
49933
49955
|
over: {
|
|
49934
49956
|
particles: false,
|
|
49935
|
-
passes:
|
|
49957
|
+
passes: 0,
|
|
49936
49958
|
fullScreen: false
|
|
49937
49959
|
},
|
|
49938
49960
|
removers: [],
|
|
@@ -50158,7 +50180,7 @@ function stopEffects(state) {
|
|
|
50158
50180
|
state.particles = 0;
|
|
50159
50181
|
state.over = {
|
|
50160
50182
|
particles: false,
|
|
50161
|
-
passes:
|
|
50183
|
+
passes: 0,
|
|
50162
50184
|
fullScreen: false
|
|
50163
50185
|
};
|
|
50164
50186
|
state.diagnostics.off.clear();
|
|
@@ -70387,7 +70409,7 @@ function cubicBezier(x1, y1, x2, y2) {
|
|
|
70387
70409
|
* | audio | music | "decode", gapless; "stream" plays an `<audio>` element |
|
|
70388
70410
|
* | audio | session | "ambient", iOS only |
|
|
70389
70411
|
* | effects | maxParticles | 3000, live particles above which one dev warning fires per crossing |
|
|
70390
|
-
* | effects | maxPasses | 24, render passes per frame above which one dev warning fires
|
|
70412
|
+
* | effects | maxPasses | 24, render passes per frame above which one dev warning fires once they stay over it 60 frames in a row |
|
|
70391
70413
|
* | effects | phone | "auto", a coarse pointer and a short side of at most 820 CSS px |
|
|
70392
70414
|
* | effects | blur | { quality: 2, phoneResolution: 0.5 }, what a Blur with quality 0 and resolution 0 resolves to; shallow merge: a game that sets `blur` gives both fields |
|
|
70393
70415
|
* | platform | provider | undefined, inert: no subscription, no haptic handler, `back()` answers "none"; the engine page passes the system shell's provider |
|
package/dist/testing.d.mts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { Ar as Json, Dn as NodeTable, Fn as Hint, In as NodeFx, Sr as ClockSource, jn as Descriptor, wr as FakeClock, xn as AnyFlow, yn as FeaturePlugin } from "./types-
|
|
2
|
-
import { t as createApp } from "./index-
|
|
3
|
-
import { b as saveOf, v as WithGameState, y as memory } from "./types-
|
|
4
|
-
import { a as createHeadless, i as ReproResult, n as HeadlessGame, o as runRepro, r as Repro, s as stepFrames, t as HeadlessApp } from "./headless-
|
|
1
|
+
import { Ar as Json, Dn as NodeTable, Fn as Hint, In as NodeFx, Sr as ClockSource, jn as Descriptor, wr as FakeClock, xn as AnyFlow, yn as FeaturePlugin } from "./types-CmwjkCj5.mjs";
|
|
2
|
+
import { t as createApp } from "./index-BJtzpola.mjs";
|
|
3
|
+
import { b as saveOf, v as WithGameState, y as memory } from "./types-Chzp2med.mjs";
|
|
4
|
+
import { a as createHeadless, i as ReproResult, n as HeadlessGame, o as runRepro, r as Repro, s as stepFrames, t as HeadlessApp } from "./headless-BdfPq6Rk.mjs";
|
|
5
5
|
import { AnyPluginInstance } from "@moku-labs/core";
|
|
6
6
|
|
|
7
7
|
//#region src/plugins/clock/fake.d.ts
|
package/dist/testing.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { an as type, en as refuseStart, m as flattenFeatures, nn as exit, t as createApp } from "./src-
|
|
1
|
+
import { an as type, en as refuseStart, m as flattenFeatures, nn as exit, t as createApp } from "./src-DqX5kci9.mjs";
|
|
2
2
|
import { n as saveOf, t as memory } from "./memory-CWlqhS7l.mjs";
|
|
3
3
|
import { n as fakeClock } from "./fake-hnJcJeYf.mjs";
|
|
4
4
|
import { i as stepFrames, r as runRepro, t as createHeadless } from "./headless-CCiUwvlp.mjs";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Ar as Json, zr as Snapshot } from "./types-
|
|
2
|
-
import { t as HeadlessApp } from "./headless-
|
|
1
|
+
import { Ar as Json, zr as Snapshot } from "./types-CmwjkCj5.mjs";
|
|
2
|
+
import { t as HeadlessApp } from "./headless-BdfPq6Rk.mjs";
|
|
3
3
|
import { Log } from "@moku-labs/common/browser";
|
|
4
4
|
|
|
5
5
|
//#region src/plugins/flow/doors/types.d.ts
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { $n as AnyComponent, Ar as Json, Fn as Hint, Gn as NumericFields, Hn as Motion, Jn as ReducedMotion, K as TransformValue, Kn as ProjectionMotion, Ln as Answer, Qn as ViewHandle, Rn as AnchorTarget, Un as MotionCause, Vn as Ease, Wn as MotionHandle, Xr as Api, Y as Api$3, dt as ViewportSize, er as AnyComponentType, gr as Api$2, hr as TagType, ir as ComponentType, jn as Descriptor, nn as Api$1, oi as Require, or as Entity, s as Events$1, t as Api$4, tr as AnyComponentValue, xr as Api$5, zn as ChangeHook } from "./types-
|
|
1
|
+
import { $n as AnyComponent, Ar as Json, Fn as Hint, Gn as NumericFields, Hn as Motion, Jn as ReducedMotion, K as TransformValue, Kn as ProjectionMotion, Ln as Answer, Qn as ViewHandle, Rn as AnchorTarget, Un as MotionCause, Vn as Ease, Wn as MotionHandle, Xr as Api, Y as Api$3, dt as ViewportSize, er as AnyComponentType, gr as Api$2, hr as TagType, ir as ComponentType, jn as Descriptor, nn as Api$1, oi as Require, or as Entity, s as Events$1, t as Api$4, tr as AnyComponentValue, xr as Api$5, zn as ChangeHook } from "./types-CmwjkCj5.mjs";
|
|
2
2
|
import { Log } from "@moku-labs/common/browser";
|
|
3
3
|
import { PluginCtx } from "@moku-labs/core";
|
|
4
4
|
import { Node, Yoga } from "yoga-layout/load";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { $ as PixiModule, An as TypeTag, Ar as Json, Br as SnapshotOf, Fr as PlayerStateProvider, Ir as ProviderCall, Lr as SaveDoc, Or as Config, Sr as ClockSource, X as Config$2, a as Config$3, d as Manifest, in as Config$1, lt as Orientation, n as AssetsIo, wr as FakeClock, xn as AnyFlow, yn as FeaturePlugin } from "./types-
|
|
2
|
-
import { o as AudioContextLike, s as Config$4 } from "./types-
|
|
3
|
-
import { R as I18nApi, U as StringTable, W as TextKey } from "./types-
|
|
4
|
-
import { St as effectsPlugin, Tt as audioPlugin, ht as PlatformProvider, i as screen, pt as platformPlugin, t as createApp } from "./index-
|
|
1
|
+
import { $ as PixiModule, An as TypeTag, Ar as Json, Br as SnapshotOf, Fr as PlayerStateProvider, Ir as ProviderCall, Lr as SaveDoc, Or as Config, Sr as ClockSource, X as Config$2, a as Config$3, d as Manifest, in as Config$1, lt as Orientation, n as AssetsIo, wr as FakeClock, xn as AnyFlow, yn as FeaturePlugin } from "./types-CmwjkCj5.mjs";
|
|
2
|
+
import { o as AudioContextLike, s as Config$4 } from "./types-feXn09s4.mjs";
|
|
3
|
+
import { R as I18nApi, U as StringTable, W as TextKey } from "./types-CafT9oPU.mjs";
|
|
4
|
+
import { St as effectsPlugin, Tt as audioPlugin, ht as PlatformProvider, i as screen, pt as platformPlugin, t as createApp } from "./index-BJtzpola.mjs";
|
|
5
5
|
import { AnyPluginInstance } from "@moku-labs/core";
|
|
6
6
|
|
|
7
7
|
//#region src/plugins/model/store/providers/memory.d.ts
|
|
@@ -13594,6 +13594,11 @@ type State = {
|
|
|
13594
13594
|
exiting: number; /** Registered companions, in registration order. */
|
|
13595
13595
|
companions: BundleCompanion[]; /** A live rest was announced; the arriving node's `load` stage runs the release. */
|
|
13596
13596
|
restPending: boolean;
|
|
13597
|
+
/**
|
|
13598
|
+
* A live rest was announced on this page, so the background preload had its chance: until then a node entered live
|
|
13599
|
+
* (the first scene of a cold boot or a restore) waits for its bundles without a warning (F117).
|
|
13600
|
+
*/
|
|
13601
|
+
restedLive: boolean;
|
|
13597
13602
|
/**
|
|
13598
13603
|
* Bundles whose warm for a `ready` effect failed (not an abort): `ready` counts them as there, so a node never
|
|
13599
13604
|
* hangs on them, until a later load of the bundle succeeds (F52).
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { $ as PixiModule, $n as AnyComponent, A as SyncApi, An as TypeTag, Ar as Json, Dr as Api$6, Gn as NumericFields, Jn as ReducedMotion, Kr as Events$5, O as FilterSlot, Q as PixiFilter, Rn as AnchorTarget, Vn as Ease, Wn as MotionHandle, Xn as TrackOptions, Xr as Api$1, Y as Api$4, Zn as TrackSegment, ai as Events$2, b as Events$4, et as PixiSprite, ft as FilterCache, gr as Api$3, ir as ComponentType, jn as Descriptor, k as FilterSlotInputs, kr as Events$3, nn as Api$2, nr as ComponentHandle, oi as Require, or as Entity, s as Events$1, t as Api$5, tr as AnyComponentValue, tt as PixiTexture, ut as Point } from "./types-
|
|
2
|
-
import { N as InputApi, R as I18nApi, X as StylesState, c as UiNode, i as Finding, l as LayoutState, n as ElementChange, o as JsxState, r as ElementMotion, w as TextApi } from "./types-
|
|
1
|
+
import { $ as PixiModule, $n as AnyComponent, A as SyncApi, An as TypeTag, Ar as Json, Dr as Api$6, Gn as NumericFields, Jn as ReducedMotion, Kr as Events$5, O as FilterSlot, Q as PixiFilter, Rn as AnchorTarget, Vn as Ease, Wn as MotionHandle, Xn as TrackOptions, Xr as Api$1, Y as Api$4, Zn as TrackSegment, ai as Events$2, b as Events$4, et as PixiSprite, ft as FilterCache, gr as Api$3, ir as ComponentType, jn as Descriptor, k as FilterSlotInputs, kr as Events$3, nn as Api$2, nr as ComponentHandle, oi as Require, or as Entity, s as Events$1, t as Api$5, tr as AnyComponentValue, tt as PixiTexture, ut as Point } from "./types-CmwjkCj5.mjs";
|
|
2
|
+
import { N as InputApi, R as I18nApi, X as StylesState, c as UiNode, i as Finding, l as LayoutState, n as ElementChange, o as JsxState, r as ElementMotion, w as TextApi } from "./types-CafT9oPU.mjs";
|
|
3
3
|
import { Log } from "@moku-labs/common/browser";
|
|
4
4
|
import { PluginCtx } from "@moku-labs/core";
|
|
5
5
|
|
|
@@ -2245,7 +2245,7 @@ declare namespace types_d_exports$2 {
|
|
|
2245
2245
|
* ```
|
|
2246
2246
|
*/
|
|
2247
2247
|
type Config$2 = {
|
|
2248
|
-
/** Live particles over all instances above which one dev warning fires per crossing. */maxParticles: number; /** Render passes per frame above which one dev warning fires
|
|
2248
|
+
/** Live particles over all instances above which one dev warning fires per crossing. */maxParticles: number; /** Render passes per frame above which one dev warning fires once they stay over it 60 frames in a row. */
|
|
2249
2249
|
maxPasses: number; /** Whether this device is a phone. `"auto"`: a coarse pointer and a short side of at most 820 CSS px, read once in `onStart`. */
|
|
2250
2250
|
phone: boolean | "auto";
|
|
2251
2251
|
/**
|
|
@@ -2280,10 +2280,14 @@ type State$2 = {
|
|
|
2280
2280
|
viewList: FilteredView[]; /** The filter kinds in registration order, one per `index`: the change sets the filter sync reads, by index. */
|
|
2281
2281
|
kindList: FilterKind[]; /** Where the filter sync stands between two runs. */
|
|
2282
2282
|
filterSync: FilterSyncState; /** Keys of the one-shot warnings: `"emitter:fx.x"`, `"texture:board.cell"`, `"atlas:fx.x"`. */
|
|
2283
|
-
warned: Set<string>;
|
|
2283
|
+
warned: Set<string>;
|
|
2284
|
+
/**
|
|
2285
|
+
* Whether each budget warning is in force, so a crossing warns once; for the passes, the frames in a row over the
|
|
2286
|
+
* budget, so only a steady crossing warns.
|
|
2287
|
+
*/
|
|
2284
2288
|
over: {
|
|
2285
2289
|
particles: boolean;
|
|
2286
|
-
passes:
|
|
2290
|
+
passes: number;
|
|
2287
2291
|
fullScreen: boolean;
|
|
2288
2292
|
}; /** The teardown closure, the two systems and the world hooks. */
|
|
2289
2293
|
removers: Array<() => void>;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { Dr as Api$2, Wr as Api$3, Y as Api, gr as Api$1, xr as Api$4 } from "./types-
|
|
2
|
-
import { P as AnimApi, r as UiApi } from "./types-
|
|
3
|
-
import { N as InputApi } from "./types-
|
|
4
|
-
import { r as Repro } from "./headless-
|
|
5
|
-
import { a as InputOf, r as ControlApp } from "./types-
|
|
6
|
-
import { t as commands } from "./commands-
|
|
1
|
+
import { Dr as Api$2, Wr as Api$3, Y as Api, gr as Api$1, xr as Api$4 } from "./types-CmwjkCj5.mjs";
|
|
2
|
+
import { P as AnimApi, r as UiApi } from "./types-feXn09s4.mjs";
|
|
3
|
+
import { N as InputApi } from "./types-CafT9oPU.mjs";
|
|
4
|
+
import { r as Repro } from "./headless-BdfPq6Rk.mjs";
|
|
5
|
+
import { a as InputOf, r as ControlApp } from "./types-C9LTGx_J.mjs";
|
|
6
|
+
import { t as commands } from "./commands-Bm8eGFaH.mjs";
|
|
7
7
|
|
|
8
8
|
//#region src/visual/types.d.ts
|
|
9
9
|
/** The base commands of the `/control` door, keyed by their short names. */
|
package/dist/visual.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as VisualApp, c as VisualRenderer, d as VisualStart, f as VisualStep, h as VisualTolerance, i as CheckpointResult, l as VisualReport, m as VisualTestResult, n as runVisualTests, o as VisualOptions, p as VisualTest, r as defineVisualTest, s as VisualPage, t as parseVisualArgv, u as VisualSetup } from "./visual-
|
|
1
|
+
import { a as VisualApp, c as VisualRenderer, d as VisualStart, f as VisualStep, h as VisualTolerance, i as CheckpointResult, l as VisualReport, m as VisualTestResult, n as runVisualTests, o as VisualOptions, p as VisualTest, r as defineVisualTest, s as VisualPage, t as parseVisualArgv, u as VisualSetup } from "./visual-DGI5ygP0.mjs";
|
|
2
2
|
export { type CheckpointResult, type VisualApp, type VisualOptions, type VisualPage, type VisualRenderer, type VisualReport, type VisualSetup, type VisualStart, type VisualStep, type VisualTest, type VisualTestResult, type VisualTolerance, defineVisualTest, parseVisualArgv, runVisualTests };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@moku-labs/game",
|
|
3
|
-
"version": "0.15.
|
|
3
|
+
"version": "0.15.65",
|
|
4
4
|
"description": "2D puzzle game engine on TypeScript and PixiJS, built on @moku-labs/core.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"sideEffects": [
|
|
@@ -162,7 +162,7 @@
|
|
|
162
162
|
"@moku-labs/ci": "1.5.7",
|
|
163
163
|
"@moku-labs/common": "0.3.10",
|
|
164
164
|
"@moku-labs/core": "1.7.6",
|
|
165
|
-
"@moku-labs/native": "0.3.
|
|
165
|
+
"@moku-labs/native": "0.3.11",
|
|
166
166
|
"@moku-labs/system": "0.3.7",
|
|
167
167
|
"@types/bun": "1.4.2",
|
|
168
168
|
"@vitest/coverage-istanbul": "4.0.18",
|