@moku-labs/game 0.15.78 → 0.15.79

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.
@@ -1,4 +1,4 @@
1
- import { m as StartedPage, r as GameConfig, t as AnyGameApp, u as PageOptions } from "../types-CD25TfIM.mjs";
1
+ import { m as StartedPage, r as GameConfig, t as AnyGameApp, u as PageOptions } from "../types-DTNXCdlt.mjs";
2
2
 
3
3
  //#region src/app/page.d.ts
4
4
  /**
@@ -1,6 +1,6 @@
1
- import { Br as PlayerStateProvider } from "../types-JrYEbbeJ.mjs";
2
- import { ht as PlatformProvider } from "../index-CDOJKnNB.mjs";
3
- import { _ as SystemShellFactory, g as SystemName, h as SystemModules } from "../types-CD25TfIM.mjs";
1
+ import { Br as PlayerStateProvider } from "../types-_IA-GeU5.mjs";
2
+ import { ht as PlatformProvider } from "../index-DbU7bje8.mjs";
3
+ import { _ as SystemShellFactory, g as SystemName, h as SystemModules } from "../types-DTNXCdlt.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 { Fr as Json } from "./types-JrYEbbeJ.mjs";
2
- import { U as StringTable } from "./types-DvAtKyJ3.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-CD25TfIM.mjs";
1
+ import { Fr as Json } from "./types-_IA-GeU5.mjs";
2
+ import { U as StringTable } from "./types-BLN0-h3r.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-DTNXCdlt.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-C3rvV0rG.mjs";
1
+ import { Ft as audioPlugin, H as platformPlugin, i as screen, m as flattenFeatures, t as createApp, wt as effectsPlugin } from "./src-BjfN4qUr.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,4 +1,4 @@
1
- import { d as Manifest } from "./types-JrYEbbeJ.mjs";
1
+ import { d as Manifest } from "./types-_IA-GeU5.mjs";
2
2
 
3
3
  //#region src/plugins/assets/scan/cli.d.ts
4
4
  /**
@@ -1,8 +1,8 @@
1
- import { An as FlowState, D as DebugSwitches, Dn as Bookmark, Kr as StoreApi, Wr as Snapshot, X as Api$1, Yr as Api, ri as FrameRate, si as Time, st as Captured, w as ScenesApi, xr as Api$2 } from "./types-JrYEbbeJ.mjs";
2
- import { P as AnimApi, a as AudioApi, h as EffectsApi, r as UiApi } from "./types-G9hpd34F.mjs";
3
- import { N as InputApi } from "./types-DvAtKyJ3.mjs";
4
- import { t as HeadlessApp } from "./headless-CFlHYKpY.mjs";
5
- import { n as Command, r as ControlApp } from "./types-B9dzviB6.mjs";
1
+ import { An as FlowState, D as DebugSwitches, Dn as Bookmark, Kr as StoreApi, Wr as Snapshot, X as Api$1, Yr as Api, ri as FrameRate, si as Time, st as Captured, w as ScenesApi, xr as Api$2 } from "./types-_IA-GeU5.mjs";
2
+ import { P as AnimApi, a as AudioApi, h as EffectsApi, r as UiApi } from "./types-BOLsr7JS.mjs";
3
+ import { N as InputApi } from "./types-BLN0-h3r.mjs";
4
+ import { t as HeadlessApp } from "./headless-CzcPlFFk.mjs";
5
+ import { n as Command, r as ControlApp } from "./types-1WiTbp-a.mjs";
6
6
 
7
7
  //#region src/plugins/flow/doors/commands.d.ts
8
8
  /**
@@ -1,7 +1,7 @@
1
- import { t as HeadlessApp } from "./headless-CFlHYKpY.mjs";
2
- import { i as InputArguments, n as Command, o as InputSchema, s as Ran } from "./types-B9dzviB6.mjs";
3
- import { t as commands } from "./commands-BICMk0d0.mjs";
4
- import { t as defineCommand } from "./define-BrGCWhuG.mjs";
1
+ import { t as HeadlessApp } from "./headless-CzcPlFFk.mjs";
2
+ import { i as InputArguments, n as Command, o as InputSchema, s as Ran } from "./types-1WiTbp-a.mjs";
3
+ import { t as commands } from "./commands-BiVUH2ou.mjs";
4
+ import { t as defineCommand } from "./define-BZkHXqQA.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-CFlHYKpY.mjs";
2
- import { c as Source, n as Command, o as InputSchema } from "./types-B9dzviB6.mjs";
1
+ import { t as HeadlessApp } from "./headless-CzcPlFFk.mjs";
2
+ import { c as Source, n as Command, o as InputSchema } from "./types-1WiTbp-a.mjs";
3
3
 
4
4
  //#region src/plugins/flow/doors/define.d.ts
5
5
  /**
@@ -1,4 +1,4 @@
1
- import { An as FlowState, Fr as Json, Hn as Answer, Jr as RngState, Nn as RouteStep, jn as JournalEntry, sn as Api$1, ti as Api } from "./types-JrYEbbeJ.mjs";
1
+ import { An as FlowState, Fr as Json, Hn as Answer, Jr as RngState, Nn as RouteStep, jn as JournalEntry, sn as Api$1, ti as Api } from "./types-_IA-GeU5.mjs";
2
2
 
3
3
  //#region src/plugins/flow/headless.d.ts
4
4
  /**
@@ -1,6 +1,6 @@
1
- import { $n as ReducedMotion, $r as State$4, Ar as State$2, At as PassKind, Bn as Hint, C as SceneSpec, Cn as FeatureDescription, Er as Api$1, Fr as Json, G as SpriteValue, Gn as DescriptionNode, Hn as Answer, I as NineSliceValue, In as Descriptor, Ir as Root, J as sprite, Kn as Ease, Kr as StoreApi, Ln as Effect, Lr as State$5, Nr as Config$5, On as DefineNode, Or as Config$2, P as HudPartValue, Pn as SceneIdOf, Qn as ProjectionSpec, Qr as PauseReason, R as OverlayValue, Rn as EffectOptions, S as SceneDefinition, Sr as Config$9, T as State$7, Tn as FeatureTree, V as ShapeValue, W as SpriteOptions, X as Api$4, Xn as NumericFields, Xr as Config$4, Yr as Api$3, Z as Config$6, Zn as ProjectionMotion, Zr as Events, _ as AnySceneProjection, _r as ResourceType, a as Config$1, ai as State$8, br as TagType, bt as FrameRing, c as LoadBundles, cn as BundlesOf, di as Require, dn as GameTypes, f as ReadyBundles, fn as HudKeysOf, ft as ViewportSize, gr as QueryTerm, hn as TextStylesOf, hr as Narrowed, i as BundleSpec, ii as RateChange, it as State$6, l as LoadReason, li as Config$10, ln as Config$3, lr as ComponentType, m as Tier, mn as State$3, mr as Mut, ni as Config$8, o as DefineBundles, oi as ThermalReading, p as State$1, q as TransformValue, qr as RngApi, r as BundleMap, sn as Api$2, sr as ComponentHandle, t as Api, ti as Api$5, u as LoadResult, ui as Events$1, un as EmitterIdOf, ur as ComponentValue, v as Config$7, vn as defineFlow, vr as SystemDefinition, w as ScenesApi, wn as FeaturePlugin, wr as State$9, x as LayerMap, xr as Api$6, y as DefineScene, yr as SystemFor, yt as FrameRecord, zn as GuideOptions, zr as Patch } from "./types-JrYEbbeJ.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-G9hpd34F.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-DvAtKyJ3.mjs";
1
+ import { $n as ReducedMotion, $r as State$4, Ar as State$2, At as PassKind, Bn as Hint, C as SceneSpec, Cn as FeatureDescription, Er as Api$1, Fr as Json, G as SpriteValue, Gn as DescriptionNode, Hn as Answer, I as NineSliceValue, In as Descriptor, Ir as Root, J as sprite, Kn as Ease, Kr as StoreApi, Ln as Effect, Lr as State$5, Nr as Config$5, On as DefineNode, Or as Config$2, P as HudPartValue, Pn as SceneIdOf, Qn as ProjectionSpec, Qr as PauseReason, R as OverlayValue, Rn as EffectOptions, S as SceneDefinition, Sr as Config$9, T as State$7, Tn as FeatureTree, V as ShapeValue, W as SpriteOptions, X as Api$4, Xn as NumericFields, Xr as Config$4, Yr as Api$3, Z as Config$6, Zn as ProjectionMotion, Zr as Events, _ as AnySceneProjection, _r as ResourceType, a as Config$1, ai as State$8, br as TagType, bt as FrameRing, c as LoadBundles, cn as BundlesOf, di as Require, dn as GameTypes, f as ReadyBundles, fn as HudKeysOf, ft as ViewportSize, gr as QueryTerm, hn as TextStylesOf, hr as Narrowed, i as BundleSpec, ii as RateChange, it as State$6, l as LoadReason, li as Config$10, ln as Config$3, lr as ComponentType, m as Tier, mn as State$3, mr as Mut, ni as Config$8, o as DefineBundles, oi as ThermalReading, p as State$1, q as TransformValue, qr as RngApi, r as BundleMap, sn as Api$2, sr as ComponentHandle, t as Api, ti as Api$5, u as LoadResult, ui as Events$1, un as EmitterIdOf, ur as ComponentValue, v as Config$7, vn as defineFlow, vr as SystemDefinition, w as ScenesApi, wn as FeaturePlugin, wr as State$9, x as LayerMap, xr as Api$6, y as DefineScene, yr as SystemFor, yt as FrameRecord, zn as GuideOptions, zr as Patch } from "./types-_IA-GeU5.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-BOLsr7JS.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-BLN0-h3r.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 ProblemRule, At as PassKind, B as Shape, Bt as PerfGapLine, Ct as MonitorSections, Dt as PERF_GAP_BUCKETS, E as types_d_exports$13, Et as PERF_CAUSES, F as NineSlice, Ft as PerfCollectorLine, Gn as DescriptionNode, Gt as PerfMeasured, H as Sprite, Ht as PerfLogLine, It as PerfCounts, J as sprite, Jt as PerfStartupLine, K as Transform, Kt as PerfSampleLine, L as Overlay, Lt as PerfDisplay, M as Display, Mt as PerfCause, N as HudPart, Nt as PerfChange, Ot as PERF_LOG_VERSION, P as HudPartValue, Pt as PerfChangeEntry, Q as MonitorConfig, Qt as ProblemEventDetail, R as OverlayValue, Rr as types_d_exports$10, Rt as PerfEventLine, Sn as type, St as MONITOR_SECTIONS, Tr as types_d_exports$17, Tt as OverlayWhat, U as SpriteBlend, Un as AnchorTarget, Ur as SaveUnreadableError, Ut as PerfLongFrameLine, Vt as PerfHeaderLine, Wt as PerfMarkLine, Xt as PerfThermalLine, Y as AdaptiveScale, Yt as PerfTelemetryLine, Zt as PoolTrimDetail, _n as contribution, _t as FrameReadResult, an as CanvasRestart, bn as slot, bt as FrameRing, ci as types_d_exports$15, ct as MonitorCounts, ei as types_d_exports$9, en as SHADER_WHATS, er as SceneSwitch, g as types_d_exports$1, gn as types_d_exports$6, gt as FrameColumns, ht as WhyLive, in as CANVAS_RESTARTS, j as WhyEntry, jr as types_d_exports$3, jt as PassRecord, kt as PROBLEM_RULES, mt as RetakeWhy, nn as ShaderWhat, on as DEMAND_REASONS, ot as types_d_exports$12, qt as PerfSpikeLine, rn as WarmDetail, rt as PoolTrim, tn as ShaderEventDetail, vt as FrameReadout, wt as OverlayEventDetail, xn as to, xt as LongFrameEntry, yn as exit, yt as FrameRecord, z as Parent, zt as PerfEventName } from "./types-JrYEbbeJ.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-G9hpd34F.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-DvAtKyJ3.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-CDOJKnNB.mjs";
1
+ import { $t as ProblemRule, At as PassKind, B as Shape, Bt as PerfGapLine, Ct as MonitorSections, Dt as PERF_GAP_BUCKETS, E as types_d_exports$13, Et as PERF_CAUSES, F as NineSlice, Ft as PerfCollectorLine, Gn as DescriptionNode, Gt as PerfMeasured, H as Sprite, Ht as PerfLogLine, It as PerfCounts, J as sprite, Jt as PerfStartupLine, K as Transform, Kt as PerfSampleLine, L as Overlay, Lt as PerfDisplay, M as Display, Mt as PerfCause, N as HudPart, Nt as PerfChange, Ot as PERF_LOG_VERSION, P as HudPartValue, Pt as PerfChangeEntry, Q as MonitorConfig, Qt as ProblemEventDetail, R as OverlayValue, Rr as types_d_exports$10, Rt as PerfEventLine, Sn as type, St as MONITOR_SECTIONS, Tr as types_d_exports$17, Tt as OverlayWhat, U as SpriteBlend, Un as AnchorTarget, Ur as SaveUnreadableError, Ut as PerfLongFrameLine, Vt as PerfHeaderLine, Wt as PerfMarkLine, Xt as PerfThermalLine, Y as AdaptiveScale, Yt as PerfTelemetryLine, Zt as PoolTrimDetail, _n as contribution, _t as FrameReadResult, an as CanvasRestart, bn as slot, bt as FrameRing, ci as types_d_exports$15, ct as MonitorCounts, ei as types_d_exports$9, en as SHADER_WHATS, er as SceneSwitch, g as types_d_exports$1, gn as types_d_exports$6, gt as FrameColumns, ht as WhyLive, in as CANVAS_RESTARTS, j as WhyEntry, jr as types_d_exports$3, jt as PassRecord, kt as PROBLEM_RULES, mt as RetakeWhy, nn as ShaderWhat, on as DEMAND_REASONS, ot as types_d_exports$12, qt as PerfSpikeLine, rn as WarmDetail, rt as PoolTrim, tn as ShaderEventDetail, vt as FrameReadout, wt as OverlayEventDetail, xn as to, xt as LongFrameEntry, yn as exit, yt as FrameRecord, z as Parent, zt as PerfEventName } from "./types-_IA-GeU5.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-BOLsr7JS.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-BLN0-h3r.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-DbU7bje8.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, CANVAS_RESTARTS, type CanvasRestart, 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, type RetakeWhy, 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, type WhyEntry, type WhyLive, 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 worldPlugin, 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 DEMAND_REASONS, 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 CANVAS_RESTARTS, _ as defineBundles, _t as Tappable, a as cubicBezier, an as to, at as use, b as types_exports$17, bt as Traced, c as hint, cn as SaveUnreadableError, ct as Draggable, d as defineScene, dn as clockPlugin, dt as Hovered, en as flowPlugin, 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 slot, it as tween, j as types_exports$6, jt as Noise, k as types_exports$8, kt as Displacement, l as schedule, ln as lifecyclePlugin, lt as DropTarget, m as flattenFeatures, mt as Pressable, n as createPlugin, nn as contribution, nt as stagger, o as defineEffect, on as type, ot as wait, p as defineFeature, pt as PointerOver, q as haptic, qt as PERF_GAP_BUCKETS, r as defineGame, rn as exit, rt as stopSfx, s as guide, sn as modelPlugin, st as inputPlugin, t as createApp, tt as spawned, u as projection, un as timePlugin, 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-C3rvV0rG.mjs";
1
+ import { $ as sfx, $t as worldPlugin, 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 DEMAND_REASONS, 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 CANVAS_RESTARTS, _ as defineBundles, _t as Tappable, a as cubicBezier, an as to, at as use, b as types_exports$17, bt as Traced, c as hint, cn as SaveUnreadableError, ct as Draggable, d as defineScene, dn as clockPlugin, dt as Hovered, en as flowPlugin, 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 slot, it as tween, j as types_exports$6, jt as Noise, k as types_exports$8, kt as Displacement, l as schedule, ln as lifecyclePlugin, lt as DropTarget, m as flattenFeatures, mt as Pressable, n as createPlugin, nn as contribution, nt as stagger, o as defineEffect, on as type, ot as wait, p as defineFeature, pt as PointerOver, q as haptic, qt as PERF_GAP_BUCKETS, r as defineGame, rn as exit, rt as stopSfx, s as guide, sn as modelPlugin, st as inputPlugin, t as createApp, tt as spawned, u as projection, un as timePlugin, 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-BjfN4qUr.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, CANVAS_RESTARTS, 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 };
@@ -1,9 +1,9 @@
1
- import { Cr as Explained, Mr as Api, Wr as Snapshot, X as Api$2, at as Under, cr as ComponentSchema, fr as EntitySnapshot, h as Usage, jn as JournalEntry, kn as FlowGraph, lt as RenderStats, pn as Position, pr as FrameDiff, t as Api$3, xr as Api$1 } from "./types-JrYEbbeJ.mjs";
2
- import { a as AudioApi, g as EffectsStats, h as EffectsApi, r as UiApi, u as SoundEntry } from "./types-G9hpd34F.mjs";
3
- import { c as UiNode } from "./types-DvAtKyJ3.mjs";
4
- import { t as HeadlessApp } from "./headless-CFlHYKpY.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-B9dzviB6.mjs";
6
- import { n as defineSource } from "./define-BrGCWhuG.mjs";
1
+ import { Cr as Explained, Mr as Api, Wr as Snapshot, X as Api$2, at as Under, cr as ComponentSchema, fr as EntitySnapshot, h as Usage, jn as JournalEntry, kn as FlowGraph, lt as RenderStats, pn as Position, pr as FrameDiff, t as Api$3, xr as Api$1 } from "./types-_IA-GeU5.mjs";
2
+ import { a as AudioApi, g as EffectsStats, h as EffectsApi, r as UiApi, u as SoundEntry } from "./types-BOLsr7JS.mjs";
3
+ import { c as UiNode } from "./types-BLN0-h3r.mjs";
4
+ import { t as HeadlessApp } from "./headless-CzcPlFFk.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-1WiTbp-a.mjs";
6
+ import { n as defineSource } from "./define-BZkHXqQA.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-lHRyrkCb.mjs";
1
+ import { a as jsxs, i as jsxDEV, n as JSX, r as jsx, t as Fragment } from "./runtime-sQMQXZc1.mjs";
2
2
  export { Fragment, type JSX, jsx, jsxDEV, jsxs };
@@ -1,2 +1,2 @@
1
- import { a as jsxs, n as JSX, r as jsx, t as Fragment } from "./runtime-lHRyrkCb.mjs";
1
+ import { a as jsxs, n as JSX, r as jsx, t as Fragment } from "./runtime-sQMQXZc1.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-DvAtKyJ3.mjs";
1
+ import { _ as UiIntrinsicElements, a as JsxChild, t as DescriptionNode } from "./types-BLN0-h3r.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. */
@@ -28921,7 +28921,7 @@ function defaultBordersOf(nine) {
28921
28921
  };
28922
28922
  }
28923
28923
  /**
28924
- * Makes a Pixi texture out of a decoded image, on behalf of `assets`.
28924
+ * Makes a Pixi texture out of a decoded image, on behalf of `assets`, which decides when it leaves the GPU.
28925
28925
  *
28926
28926
  * @param sctx - Domain context of the sync module.
28927
28927
  * @param image - The decoded image.
@@ -28936,6 +28936,7 @@ function createTexture(sctx, image, options) {
28936
28936
  autoGenerateMipmaps: true
28937
28937
  }) : pixi.Texture.from(image);
28938
28938
  const nine = options?.nine;
28939
+ base.source.autoGarbageCollect = false;
28939
28940
  if (nine === void 0) return base;
28940
28941
  const bordered = new pixi.Texture({
28941
28942
  source: base.source,
@@ -30472,6 +30473,7 @@ function put(sctx, upload, source) {
30472
30473
  });
30473
30474
  }
30474
30475
  upload.done.add(source);
30476
+ source.once("unload", upload.forget);
30475
30477
  }
30476
30478
  /**
30477
30479
  * Counts a source off for the calls that wait for it; a call whose last source it was answers true.
@@ -35565,12 +35567,16 @@ function createWarmState() {
35565
35567
  * @returns The upload branch of the sync state.
35566
35568
  */
35567
35569
  function createUploadState() {
35568
- return {
35570
+ const upload = {
35569
35571
  queue: [],
35570
35572
  head: 0,
35571
35573
  waiting: emptyMap$6(),
35572
- done: emptyWeakSet()
35574
+ done: emptyWeakSet(),
35575
+ forget: (source) => {
35576
+ upload.done.delete(source);
35577
+ }
35573
35578
  };
35579
+ return upload;
35574
35580
  }
35575
35581
  /**
35576
35582
  * Creates the empty aside queue of a scene build: nothing waits for a view. Its own non-exported function, as
@@ -1,7 +1,7 @@
1
- import { Bn as Hint, Dr as ClockSource, En as AnyFlow, Fr as Json, In as Descriptor, Mn as NodeTable, Vn as NodeFx, kr as FakeClock, wn as FeaturePlugin } from "./types-JrYEbbeJ.mjs";
2
- import { t as createApp } from "./index-CDOJKnNB.mjs";
3
- import { b as saveOf, v as WithGameState, y as memory } from "./types-CD25TfIM.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-CFlHYKpY.mjs";
1
+ import { Bn as Hint, Dr as ClockSource, En as AnyFlow, Fr as Json, In as Descriptor, Mn as NodeTable, Vn as NodeFx, kr as FakeClock, wn as FeaturePlugin } from "./types-_IA-GeU5.mjs";
2
+ import { t as createApp } from "./index-DbU7bje8.mjs";
3
+ import { b as saveOf, v as WithGameState, y as memory } from "./types-DTNXCdlt.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-CzcPlFFk.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 { m as flattenFeatures, on as type, rn as exit, t as createApp, tn as refuseStart } from "./src-C3rvV0rG.mjs";
1
+ import { m as flattenFeatures, on as type, rn as exit, t as createApp, tn as refuseStart } from "./src-BjfN4qUr.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 { Fr as Json, Wr as Snapshot } from "./types-JrYEbbeJ.mjs";
2
- import { t as HeadlessApp } from "./headless-CFlHYKpY.mjs";
1
+ import { Fr as Json, Wr as Snapshot } from "./types-_IA-GeU5.mjs";
2
+ import { t as HeadlessApp } from "./headless-CzcPlFFk.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 ReducedMotion, Bn as Hint, Er as Api$5, Fr as Json, Hn as Answer, In as Descriptor, Jn as MotionCause, Kn as Ease, Un as AnchorTarget, Wn as ChangeHook, X as Api$3, Xn as NumericFields, Yn as MotionHandle, Zn as ProjectionMotion, ar as AnyComponentType, br as TagType, di as Require, dr as Entity, ft as ViewportSize, ir as AnyComponent, lr as ComponentType, or as AnyComponentValue, q as TransformValue, qn as Motion, rr as ViewHandle, s as Events$1, sn as Api$1, t as Api$4, ti as Api, xr as Api$2 } from "./types-JrYEbbeJ.mjs";
1
+ import { $n as ReducedMotion, Bn as Hint, Er as Api$5, Fr as Json, Hn as Answer, In as Descriptor, Jn as MotionCause, Kn as Ease, Un as AnchorTarget, Wn as ChangeHook, X as Api$3, Xn as NumericFields, Yn as MotionHandle, Zn as ProjectionMotion, ar as AnyComponentType, br as TagType, di as Require, dr as Entity, ft as ViewportSize, ir as AnyComponent, lr as ComponentType, or as AnyComponentValue, q as TransformValue, qn as Motion, rr as ViewHandle, s as Events$1, sn as Api$1, t as Api$4, ti as Api, xr as Api$2 } from "./types-_IA-GeU5.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,5 +1,5 @@
1
- import { $ as PixiFilter, $n as ReducedMotion, A as SyncApi, Fn as TypeTag, Fr as Json, In as Descriptor, Kn as Ease, Mr as Api$6, O as FilterSlot, Pr as Events$3, Un as AnchorTarget, X as Api$4, Xn as NumericFields, Yn as MotionHandle, Zr as Events$5, b as Events$4, di as Require, dr as Entity, dt as Point, et as PixiModule, ir as AnyComponent, k as FilterSlotInputs, lr as ComponentType, nr as TrackSegment, nt as PixiTexture, or as AnyComponentValue, pt as FilterCache, s as Events$1, sn as Api$2, sr as ComponentHandle, t as Api$5, ti as Api$1, tr as TrackOptions, tt as PixiSprite, ui as Events$2, xr as Api$3 } from "./types-JrYEbbeJ.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-DvAtKyJ3.mjs";
1
+ import { $ as PixiFilter, $n as ReducedMotion, A as SyncApi, Fn as TypeTag, Fr as Json, In as Descriptor, Kn as Ease, Mr as Api$6, O as FilterSlot, Pr as Events$3, Un as AnchorTarget, X as Api$4, Xn as NumericFields, Yn as MotionHandle, Zr as Events$5, b as Events$4, di as Require, dr as Entity, dt as Point, et as PixiModule, ir as AnyComponent, k as FilterSlotInputs, lr as ComponentType, nr as TrackSegment, nt as PixiTexture, or as AnyComponentValue, pt as FilterCache, s as Events$1, sn as Api$2, sr as ComponentHandle, t as Api$5, ti as Api$1, tr as TrackOptions, tt as PixiSprite, ui as Events$2, xr as Api$3 } from "./types-_IA-GeU5.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-BLN0-h3r.mjs";
3
3
  import { Log } from "@moku-labs/common/browser";
4
4
  import { PluginCtx } from "@moku-labs/core";
5
5
 
@@ -1,7 +1,7 @@
1
- import { Br as PlayerStateProvider, Dr as ClockSource, En as AnyFlow, Fn as TypeTag, Fr as Json, Gr as SnapshotOf, Hr as SaveDoc, Nr as Config, Vr as ProviderCall, Z as Config$2, a as Config$3, d as Manifest, et as PixiModule, kr as FakeClock, ln as Config$1, n as AssetsIo, ut as Orientation, wn as FeaturePlugin } from "./types-JrYEbbeJ.mjs";
2
- import { o as AudioContextLike, s as Config$4 } from "./types-G9hpd34F.mjs";
3
- import { R as I18nApi, U as StringTable, W as TextKey } from "./types-DvAtKyJ3.mjs";
4
- import { St as effectsPlugin, Tt as audioPlugin, ht as PlatformProvider, i as screen, pt as platformPlugin, t as createApp } from "./index-CDOJKnNB.mjs";
1
+ import { Br as PlayerStateProvider, Dr as ClockSource, En as AnyFlow, Fn as TypeTag, Fr as Json, Gr as SnapshotOf, Hr as SaveDoc, Nr as Config, Vr as ProviderCall, Z as Config$2, a as Config$3, d as Manifest, et as PixiModule, kr as FakeClock, ln as Config$1, n as AssetsIo, ut as Orientation, wn as FeaturePlugin } from "./types-_IA-GeU5.mjs";
2
+ import { o as AudioContextLike, s as Config$4 } from "./types-BOLsr7JS.mjs";
3
+ import { R as I18nApi, U as StringTable, W as TextKey } from "./types-BLN0-h3r.mjs";
4
+ import { St as effectsPlugin, Tt as audioPlugin, ht as PlatformProvider, i as screen, pt as platformPlugin, t as createApp } from "./index-DbU7bje8.mjs";
5
5
  import { AnyPluginInstance } from "@moku-labs/core";
6
6
 
7
7
  //#region src/plugins/model/store/providers/memory.d.ts
@@ -11172,7 +11172,8 @@ type TexturesApi = {
11172
11172
  */
11173
11173
  provide(fn: TextureProvider): () => void;
11174
11174
  /**
11175
- * Makes a Pixi texture from a decoded image, so `assets` never imports Pixi.
11175
+ * Makes a Pixi texture from a decoded image, so `assets` never imports Pixi. Once uploaded it stays on the GPU until
11176
+ * `destroy`: Pixi's collector leaves it alone.
11176
11177
  *
11177
11178
  * @param image - The decoded image.
11178
11179
  * @param options - `nine` is left, top, right and bottom in pixels; it becomes the texture's
@@ -11183,6 +11184,7 @@ type TexturesApi = {
11183
11184
  * ```ts
11184
11185
  * // `assets` uploads one file of a bundle it just decoded.
11185
11186
  * const renderer = ctx.require(rendererPlugin);
11187
+ * const response = await fetch("/assets/board/panel.png");
11186
11188
  * const bitmap = await createImageBitmap(await response.blob());
11187
11189
  * const texture = renderer.sync.textures.create(bitmap, { nine: [12, 12, 12, 12] });
11188
11190
  * ```
@@ -11245,7 +11247,8 @@ type TexturesApi = {
11245
11247
  * and the renderer asks for the next frame while sources wait. The slices of one atlas page share its source, so the
11246
11248
  * page is uploaded once. On a Galaxy A26 one upload costs about 9 ms whatever its size: the frame that showed 6 cold
11247
11249
  * textures took 55 ms, 8 ms once they were uploaded before. Answers `true` once every source of this call went
11248
- * through, at once when they all did on this device; `false` at once while nothing draws (headless, a lost device)
11250
+ * through, at once when they all did on this device and none left it since; `false` at once while nothing draws
11251
+ * (headless, a lost device)
11249
11252
  * or with `uploads: 0`, and `false` when the renderer stops or the device is lost before the queue reached them. A
11250
11253
  * source whose upload throws is logged (`renderer:upload-failed`) and counted done: its first draw uploads it, as
11251
11254
  * before. A source destroyed while it waits is skipped. The renderer never destroys a texture it was handed.
@@ -12296,9 +12299,10 @@ type UploadState = {
12296
12299
  waiting: Map<PixiTextureSource, UploadWaiter[]>;
12297
12300
  /**
12298
12301
  * The sources that went through `initSource` on this device, or threw there: a call naming only these answers at
12299
- * once.
12302
+ * once. A source leaves it at its `unload`.
12300
12303
  */
12301
- done: WeakSet<PixiTextureSource>;
12304
+ done: WeakSet<PixiTextureSource>; /** The one listener on `unload` of every source in `done`. */
12305
+ forget(source: PixiTextureSource): void;
12302
12306
  };
12303
12307
  /**
12304
12308
  * What a nine-slice view's object offers `sync`, whichever class draws it: Pixi's `NineSliceSprite`, or the engine's
@@ -1,9 +1,9 @@
1
- import { Er as Api$4, Mr as Api$2, X as Api, Yr as Api$3, xr as Api$1 } from "./types-JrYEbbeJ.mjs";
2
- import { P as AnimApi, r as UiApi } from "./types-G9hpd34F.mjs";
3
- import { N as InputApi } from "./types-DvAtKyJ3.mjs";
4
- import { r as Repro } from "./headless-CFlHYKpY.mjs";
5
- import { a as InputOf, r as ControlApp } from "./types-B9dzviB6.mjs";
6
- import { t as commands } from "./commands-BICMk0d0.mjs";
1
+ import { Er as Api$4, Mr as Api$2, X as Api, Yr as Api$3, xr as Api$1 } from "./types-_IA-GeU5.mjs";
2
+ import { P as AnimApi, r as UiApi } from "./types-BOLsr7JS.mjs";
3
+ import { N as InputApi } from "./types-BLN0-h3r.mjs";
4
+ import { r as Repro } from "./headless-CzcPlFFk.mjs";
5
+ import { a as InputOf, r as ControlApp } from "./types-1WiTbp-a.mjs";
6
+ import { t as commands } from "./commands-BiVUH2ou.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-Dfue6iA6.mjs";
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-BgW9u_SK.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.78",
3
+ "version": "0.15.79",
4
4
  "description": "2D puzzle game engine on TypeScript and PixiJS, built on @moku-labs/core.",
5
5
  "type": "module",
6
6
  "sideEffects": [