incanto 0.30.0 → 0.31.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/2d.d.ts +12 -5
- package/dist/2d.js +3 -3
- package/dist/3d.d.ts +47 -6
- package/dist/3d.js +4 -4
- package/dist/{audit-C6rMyict.js → audit-C4kmDK0o.js} +16 -0
- package/dist/{behavior-BAc0erXF.d.ts → behavior-D_jMpFh8.d.ts} +117 -55
- package/dist/{create-game-DuBTv2zI.js → create-game-DqOjMBUS.js} +50 -41
- package/dist/{create-game-5z_QVtLx.js → create-game-z5XaB1p5.js} +16 -8
- package/dist/debug.d.ts +1 -1
- package/dist/debug.js +7 -2
- package/dist/{duplicate-BgtFrFo4.js → duplicate-KRPtUtzl.js} +1 -1
- package/dist/{editor-switch-B0wB_DSr.d.ts → editor-switch-BJb-CWfA.d.ts} +12 -1
- package/dist/{register-DJ0SByQg.js → environment-presets--DigHNg4.js} +42 -11
- package/dist/{gameplay-Cfr6aFZ1.js → gameplay-BftxM_It.js} +2 -2
- package/dist/gameplay.d.ts +1 -1
- package/dist/gameplay.js +1 -1
- package/dist/index.d.ts +3 -3
- package/dist/index.js +6 -6
- package/dist/{loader-B242FF6N.d.ts → loader-BYBrqTxP.d.ts} +1 -1
- package/dist/{loader-BZqOKfI2.js → loader-BlaRQGaA.js} +482 -6
- package/dist/net.d.ts +1 -1
- package/dist/net.js +3 -3
- package/dist/{pathfinding-BwD974Ss.d.ts → pathfinding-BwhqPD3i.d.ts} +1 -1
- package/dist/{physics-2d-3kOQCtgd.js → physics-2d-D9wquBvK.js} +4 -3
- package/dist/{physics-3d-CeRH-Ff_.js → physics-3d-CnPygVGo.js} +5 -4
- package/dist/react.d.ts +1 -1
- package/dist/react.js +1 -1
- package/dist/{register-MelqEdza.js → register-CUY284Is.js} +3 -3
- package/dist/{register-BTg0EM7s.js → register-Dzkd6-os.js} +56 -380
- package/dist/{register-DWcWq4QG.js → register-tkR_8tWg.js} +4 -4
- package/dist/{registry-BVJ2HbCn.js → registry-CJdGpT2V.js} +6 -2
- package/dist/test.d.ts +2 -7
- package/dist/test.js +43 -14
- package/editor/assets/{agent8-CAp0i5qn.js → agent8-o27_Y1xN.js} +1 -1
- package/editor/assets/{debug-BoEYfbqK.js → debug-DfcWX3uW.js} +3 -2
- package/editor/assets/{index-BO6WU8by.js → index-C9fb5QcT.js} +90 -90
- package/editor/index.html +1 -1
- package/package.json +1 -1
- package/skills/incanto-verifying-your-game.md +62 -0
- package/templates-app/beacon-isle-3d/package.json +1 -1
- package/templates-app/tps-3d/package.json +1 -1
- package/templates-app/village-quest-3d/package.json +1 -1
package/dist/debug.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as jsonClone } from "./json-BLk7H2Qa.js";
|
|
2
|
-
import { s as mergeStaticProps } from "./registry-
|
|
2
|
+
import { s as mergeStaticProps } from "./registry-CJdGpT2V.js";
|
|
3
3
|
import { t as debugSources } from "./debug-draw-BM3DsvtT.js";
|
|
4
4
|
//#region src/debug/panel.ts
|
|
5
5
|
/** Keep a panel rect on screen and above the minimum usable size. */
|
|
@@ -913,8 +913,13 @@ function compactCount(n) {
|
|
|
913
913
|
}
|
|
914
914
|
function stringify(part) {
|
|
915
915
|
if (typeof part === "string") return part;
|
|
916
|
+
if (part instanceof Error) {
|
|
917
|
+
const first = part.stack?.split("\n")[1]?.trim();
|
|
918
|
+
return `${part.name}: ${part.message}${first ? ` (${first})` : ""}`;
|
|
919
|
+
}
|
|
916
920
|
try {
|
|
917
|
-
|
|
921
|
+
const text = JSON.stringify(part);
|
|
922
|
+
return text === "{}" || text === void 0 ? String(part) : text;
|
|
918
923
|
} catch {
|
|
919
924
|
return String(part);
|
|
920
925
|
}
|
|
@@ -1,5 +1,16 @@
|
|
|
1
1
|
import { s as JsonObject } from "./schema-CcoWb32N.js";
|
|
2
2
|
|
|
3
|
+
//#region src/core/diagnostics.d.ts
|
|
4
|
+
/** The minimum an engine has to look like to receive a diagnostic. */
|
|
5
|
+
interface DiagnosticSink {
|
|
6
|
+
log: {
|
|
7
|
+
warn(...parts: unknown[]): void;
|
|
8
|
+
error(...parts: unknown[]): void;
|
|
9
|
+
info(...parts: unknown[]): void;
|
|
10
|
+
debug(...parts: unknown[]): void;
|
|
11
|
+
};
|
|
12
|
+
}
|
|
13
|
+
//#endregion
|
|
3
14
|
//#region src/core/editor-switch.d.ts
|
|
4
15
|
/** Where a camera is and what it looks at, in world space. */
|
|
5
16
|
interface CameraPose {
|
|
@@ -56,4 +67,4 @@ type LibrarySearch = (query: {
|
|
|
56
67
|
total?: number;
|
|
57
68
|
}>;
|
|
58
69
|
//#endregion
|
|
59
|
-
export { EditorSwitchOptions as t };
|
|
70
|
+
export { DiagnosticSink as n, EditorSwitchOptions as t };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { t as registerCoreNodes } from "./register-
|
|
1
|
+
import { t as registerCoreNodes } from "./register-Dzkd6-os.js";
|
|
2
2
|
import { t as IncantoError } from "./errors-BpWbnbb_.js";
|
|
3
3
|
import { t as Rng } from "./rng-DP-SR7eg.js";
|
|
4
|
-
import { i as getNodeSchema, l as registerNode } from "./registry-
|
|
4
|
+
import { i as getNodeSchema, l as registerNode } from "./registry-CJdGpT2V.js";
|
|
5
5
|
import { t as createNoise2D } from "./noise-CGUMx44x.js";
|
|
6
6
|
import { i as applyParticlePreset, r as PARTICLE_PRESET_NAMES, t as ParticleSim } from "./particle-sim-Bw7hB93B.js";
|
|
7
|
-
import { A as Water3D, F as PhysicsBody3D, H as colliderFootDrop, I as RigidBody3D, L as StaticBody3D, M as WaterCutout3D, N as Area3D, P as CharacterBody3D, R as Node3D } from "./gameplay-
|
|
7
|
+
import { A as Water3D, F as PhysicsBody3D, H as colliderFootDrop, I as RigidBody3D, L as StaticBody3D, M as WaterCutout3D, N as Area3D, P as CharacterBody3D, R as Node3D } from "./gameplay-BftxM_It.js";
|
|
8
8
|
import { n as splatWeights, t as buildHeightmap } from "./heightmap-CRK0M4jT.js";
|
|
9
9
|
import { AdditiveBlending, AnimationClip, AnimationMixer, Box3, BoxGeometry, BufferAttribute, BufferGeometry, CanvasTexture, CapsuleGeometry, Color, ConeGeometry, CylinderGeometry, DataTexture, DirectionalLight, DoubleSide, DynamicDrawUsage, Euler, Group, IcosahedronGeometry, ImageBitmapLoader, InstancedBufferAttribute, InstancedMesh, LinearFilter, LoopOnce, LoopRepeat, Matrix4, Mesh, MeshBasicMaterial, MeshDepthMaterial, MeshPhysicalMaterial, MeshStandardMaterial, NearestFilter, NoBlending, NormalBlending, PerspectiveCamera, PlaneGeometry, PointLight, Points, PointsMaterial, Quaternion, QuaternionKeyframeTrack, RGBADepthPacking, RGBAFormat, RepeatWrapping, SRGBColorSpace, ShaderChunk, ShaderMaterial, SphereGeometry, Texture, TextureLoader, UniformsLib, UniformsUtils, Vector3, Vector4, VectorKeyframeTrack } from "three";
|
|
10
10
|
import { clone } from "three/addons/utils/SkeletonUtils.js";
|
|
@@ -6068,7 +6068,7 @@ var ModelInstance3D = class extends Node3D {
|
|
|
6068
6068
|
if (entry.claimedBy && entry.claimedBy !== this) {
|
|
6069
6069
|
if (!this.warnedClaim) {
|
|
6070
6070
|
this.warnedClaim = true;
|
|
6071
|
-
|
|
6071
|
+
this.diagnose("warn", `incanto: VRM '${this.model}' is already displayed by another node — a VRM asset can back only one ModelInstance3D.`);
|
|
6072
6072
|
}
|
|
6073
6073
|
return;
|
|
6074
6074
|
}
|
|
@@ -6119,7 +6119,7 @@ var ModelInstance3D = class extends Node3D {
|
|
|
6119
6119
|
const scale = size.y > 0 ? this.targetHeight / size.y : prev;
|
|
6120
6120
|
if (scale < .05 || scale > 20) {
|
|
6121
6121
|
this.fitGroup.scale.setScalar(1);
|
|
6122
|
-
|
|
6122
|
+
this.diagnose("warn", `[incanto] ModelInstance3D '${this.name}': targetHeight fit measured an implausible scale (${scale.toFixed(2)}x) — skinned rigs defeat bounding-box measurement. Rendering at the model's authored scale instead.`);
|
|
6123
6123
|
} else this.fitGroup.scale.setScalar(scale);
|
|
6124
6124
|
} else this.fitGroup.scale.setScalar(1);
|
|
6125
6125
|
}
|
|
@@ -6193,7 +6193,7 @@ var ModelInstance3D = class extends Node3D {
|
|
|
6193
6193
|
const cached = this.entry.retargeted.get(ref);
|
|
6194
6194
|
if (cached) return cached;
|
|
6195
6195
|
const result = retargetClipToVrm(source, anim.scene, this.entry.vrm);
|
|
6196
|
-
if (result.skippedBones.length > 0)
|
|
6196
|
+
if (result.skippedBones.length > 0) this.diagnose("warn", `incanto: retarget '${ref}' skipped bones: ${result.skippedBones.join(", ")}`);
|
|
6197
6197
|
this.entry.retargeted.set(ref, result.clip);
|
|
6198
6198
|
return result.clip;
|
|
6199
6199
|
}
|
|
@@ -6258,7 +6258,7 @@ var ModelInstance3D = class extends Node3D {
|
|
|
6258
6258
|
action.crossFadeFrom(this.currentAction, ANIM_CROSSFADE, warp);
|
|
6259
6259
|
}
|
|
6260
6260
|
this.currentAction = action;
|
|
6261
|
-
} else
|
|
6261
|
+
} else this.diagnose("warn", `incanto: model '${this.model}' has no animation '${this.animation}' — embedded: ${this.entry.animations.map((c) => c.name).join(", ") || "(none)"}; assets: ${assets.animationRefs().join(", ") || "(none)"}`);
|
|
6262
6262
|
}
|
|
6263
6263
|
/** The upper-body layer: masked clip on the `upperBodyRoot` subtree. */
|
|
6264
6264
|
syncUpperAnimation(assets) {
|
|
@@ -6272,13 +6272,13 @@ var ModelInstance3D = class extends Node3D {
|
|
|
6272
6272
|
const resolved = this.resolveClip(this.animationUpper, assets);
|
|
6273
6273
|
if (resolved === "loading") return;
|
|
6274
6274
|
if (!resolved) {
|
|
6275
|
-
|
|
6275
|
+
this.diagnose("warn", `incanto: model '${this.model}' has no animation '${this.animationUpper}' for the upper layer.`);
|
|
6276
6276
|
this.playingUpper = this.animationUpper;
|
|
6277
6277
|
return;
|
|
6278
6278
|
}
|
|
6279
6279
|
const variants = this.layerVariants(resolved);
|
|
6280
6280
|
if (!variants) {
|
|
6281
|
-
|
|
6281
|
+
this.diagnose("warn", `incanto: upperBodyRoot '${this.upperBodyRoot}' not found in '${this.model}' — upper layer skipped.`);
|
|
6282
6282
|
this.playingUpper = this.animationUpper;
|
|
6283
6283
|
return;
|
|
6284
6284
|
}
|
|
@@ -8306,7 +8306,7 @@ var River3D = class River3D extends Node3D {
|
|
|
8306
8306
|
if (gaps.length * 3 < this.rings.length) return;
|
|
8307
8307
|
this.warnedCoverage = true;
|
|
8308
8308
|
const worst = gaps.reduce((a, b) => b.wettedHalfWidth - b.carriedHalfWidth > a.wettedHalfWidth - a.carriedHalfWidth ? b : a);
|
|
8309
|
-
|
|
8309
|
+
this.diagnose("warn", `[incanto] River3D '${this.name}': the course is too tight for the water it holds — ${gaps.length} of ${this.rings.length} stations leave bare channel beside the ribbon (worst at ${worst.along.toFixed(0)} m: ground wet to ${worst.wettedHalfWidth.toFixed(1)} m from the centre, a bend that can only carry ${worst.carriedHalfWidth.toFixed(1)} m). Fix by EASING THE BENDS in \`path\` (fewer, straighter points), NARROWING \`widths\` there, or placing standing water (a Water3D) if that reach is really a pool.`);
|
|
8310
8310
|
}
|
|
8311
8311
|
warnedCoverage = false;
|
|
8312
8312
|
rebuildIfNeeded(mesh) {
|
|
@@ -11878,4 +11878,35 @@ function registerNodes3D() {
|
|
|
11878
11878
|
registerNode(CharacterBody3D);
|
|
11879
11879
|
}
|
|
11880
11880
|
//#endregion
|
|
11881
|
-
|
|
11881
|
+
//#region src/3d/environment-presets.ts
|
|
11882
|
+
/**
|
|
11883
|
+
* drei-compatible environment presets: each name maps to a 1k HDRI (the exact
|
|
11884
|
+
* Poly Haven CC0 files @react-three/drei ships), so `preset="sunset"` lights the
|
|
11885
|
+
* same here. Served from the agent8 CDN (the only sanctioned external host, same
|
|
11886
|
+
* as the terrain splat) — set `environment.hdri` to override with your own URL.
|
|
11887
|
+
*/
|
|
11888
|
+
const CDN = "https://agent8-games.verse8.io/assets/3D/default/textures/hdri";
|
|
11889
|
+
const ENVIRONMENT_PRESETS = {
|
|
11890
|
+
apartment: "lebombo_1k.hdr",
|
|
11891
|
+
city: "potsdamer_platz_1k.hdr",
|
|
11892
|
+
dawn: "kiara_1_dawn_1k.hdr",
|
|
11893
|
+
forest: "forest_slope_1k.hdr",
|
|
11894
|
+
lobby: "st_fagans_interior_1k.hdr",
|
|
11895
|
+
night: "dikhololo_night_1k.hdr",
|
|
11896
|
+
park: "rooitou_park_1k.hdr",
|
|
11897
|
+
studio: "studio_small_03_1k.hdr",
|
|
11898
|
+
sunset: "venice_sunset_1k.hdr",
|
|
11899
|
+
warehouse: "empty_warehouse_01_1k.hdr"
|
|
11900
|
+
};
|
|
11901
|
+
/** Resolve `environment.preset` / `environment.hdri` to the HDR url (or null). */
|
|
11902
|
+
function resolveEnvironmentHdri(env) {
|
|
11903
|
+
if (typeof env.hdri === "string" && env.hdri !== "") return env.hdri;
|
|
11904
|
+
if (typeof env.preset === "string") {
|
|
11905
|
+
const file = ENVIRONMENT_PRESETS[env.preset];
|
|
11906
|
+
if (!file) throw new Error(`Unknown environment preset '${env.preset}'. Available: ${Object.keys(ENVIRONMENT_PRESETS).join(", ")}.`);
|
|
11907
|
+
return `${CDN}/${file}`;
|
|
11908
|
+
}
|
|
11909
|
+
return null;
|
|
11910
|
+
}
|
|
11911
|
+
//#endregion
|
|
11912
|
+
export { Terrain3D as A, keyboardIntensity as B, resolveFlowerDensity as C, BoneLookAt3D as D, Camera3D as E, InstancedMesh3D as F, rigPose as H, MeshInstance3D as I, buildMeshGeometry as L, TERRAIN_THEMES as M, terrainThemeLayers as N, BoneAttachment3D as O, Joint3D as P, QUARTER_PITCH as R, Flowers3D as S, CharacterController3D as T, movementState as V, LoftMesh3D as _, Tree3D as a, Foliage3D as b, buildRiverRings as c, riverCarveChannels as d, riverStepFor as f, ModelInstance3D as g, Particles3D as h, VoxelGrid3D as i, DEFAULT_TERRAIN_TEXTURE_BASE as j, Billboard3D as k, findRiverCoverageGaps as l, traceDownhillPath as m, registerNodes3D as n, Trail3D as o, smoothCourse as p, VOXEL_PALETTE as r, River3D as s, resolveEnvironmentHdri as t, projectToRiver as u, DirectionalLight3D as v, FLOWER_VARIETIES as w, DENSITY_PRESETS as x, OmniLight3D as y, cameraRelative as z };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { f as Node, g as Behavior, n as loadScene, y as registerBehavior } from "./loader-BlaRQGaA.js";
|
|
2
2
|
import { t as IncantoError } from "./errors-BpWbnbb_.js";
|
|
3
3
|
import { t as jsonClone } from "./json-BLk7H2Qa.js";
|
|
4
|
-
import { r as effectiveOrder, t as duplicateNode } from "./duplicate-
|
|
4
|
+
import { r as effectiveOrder, t as duplicateNode } from "./duplicate-KRPtUtzl.js";
|
|
5
5
|
import { Color, CubeCamera, DepthTexture, DoubleSide, Euler, FloatType, Frustum, HalfFloatType, LinearMipmapLinearFilter, MathUtils, Matrix4, Mesh, MeshDepthMaterial, Object3D, PerspectiveCamera, Plane, PlaneGeometry, Quaternion, ShaderMaterial, Sphere, Vector2, Vector3, Vector4, WebGLCubeRenderTarget, WebGLRenderTarget } from "three";
|
|
6
6
|
//#region src/3d/frustum.ts
|
|
7
7
|
const scratchFrustum = new Frustum();
|
package/dist/gameplay.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
+
import { X as Node, l as PropSchema, n as BehaviorCtor, t as Behavior, v as Engine } from "./behavior-D_jMpFh8.js";
|
|
1
2
|
import { c as JsonValue, s as JsonObject } from "./schema-CcoWb32N.js";
|
|
2
|
-
import { $ as Node, l as PropSchema, n as BehaviorCtor, t as Behavior, v as Engine } from "./behavior-BAc0erXF.js";
|
|
3
3
|
|
|
4
4
|
//#region src/gameplay/chase.d.ts
|
|
5
5
|
/**
|
package/dist/gameplay.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { C as FollowCamera, D as Health, E as DamageOnContact, O as Collector, S as restartScene, T as phaseOf, _ as hitStop, a as Wander, b as GameFlow, c as Projectile, d as PathFollow, f as Oscillate, g as Cooldown, h as CameraShake, i as WaveSpawner, k as Chase, l as Pickup, m as Lifetime, n as registerGameplayBehaviors, o as Spawner, p as MoveTo, r as ZombieAI, s as ScoreKeeper, t as GAMEPLAY_BEHAVIORS, u as Patrol, v as screenFlash, w as DayNight, x as goToScene, y as Interactable } from "./gameplay-
|
|
1
|
+
import { C as FollowCamera, D as Health, E as DamageOnContact, O as Collector, S as restartScene, T as phaseOf, _ as hitStop, a as Wander, b as GameFlow, c as Projectile, d as PathFollow, f as Oscillate, g as Cooldown, h as CameraShake, i as WaveSpawner, k as Chase, l as Pickup, m as Lifetime, n as registerGameplayBehaviors, o as Spawner, p as MoveTo, r as ZombieAI, s as ScoreKeeper, t as GAMEPLAY_BEHAVIORS, u as Patrol, v as screenFlash, w as DayNight, x as goToScene, y as Interactable } from "./gameplay-BftxM_It.js";
|
|
2
2
|
export { CameraShake, Chase, Collector, Cooldown, DamageOnContact, DayNight, FollowCamera, GAMEPLAY_BEHAVIORS, GameFlow, Health, Interactable, Lifetime, MoveTo, Oscillate, PathFollow, Patrol, Pickup, Projectile, ScoreKeeper, Spawner, Wander, WaveSpawner, ZombieAI, goToScene, hitStop, phaseOf, registerGameplayBehaviors, restartScene, screenFlash };
|
package/dist/index.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
+
import { $ as LogEntry, A as VoicePreset, B as SfxParams, C as RendererStats, D as SfxPlayOptions, E as SfxEngine, F as Vec3, G as MusicManager, H as SynthOptions, I as spatialGain, J as AudioBuses, K as MusicTrack, L as spatialPan, M as ROLLOFF_MODELS, N as RolloffModel, O as isAudioContextAvailable, P as SpatialParams, Q as SceneTree, R as SFX_PRESETS, S as GameStats, T as InputMap, U as synthSfx, V as SfxWave, W as MusicBackend, X as Node, Y as BusName, Z as NodeLifecycle, _ as registeredTypes, a as registerBehavior, b as Scheduler, c as PropDef, d as createNode, et as LogLevel, f as getNodeSchema, g as registerNode, h as mergeStaticSignals, i as getBehavior, j as Listener, k as Voice, l as PropSchema, m as getNodeType, n as BehaviorCtor, nt as Signal, o as registeredBehaviors, p as getNodeSignals, q as PlayMusicOptions, r as clearBehaviors, rt as SignalListener, s as NodeCtor, t as Behavior, tt as LogManager, u as clearRegistry, v as Engine, w as Scene, x as EngineStats, y as EngineOptions, z as SFX_PRESET_NAMES } from "./behavior-D_jMpFh8.js";
|
|
1
2
|
import { a as Rng, c as JsonValue, d as jsonKind, i as SceneJson, l as jsonClone, n as NodeJson, o as JsonKind, r as SCENE_FORMAT, s as JsonObject, t as ConnectionJson, u as jsonEquals } from "./schema-CcoWb32N.js";
|
|
2
|
-
import {
|
|
3
|
-
import { n as loadScene, t as LoadSceneOptions } from "./loader-B242FF6N.js";
|
|
3
|
+
import { n as loadScene, t as LoadSceneOptions } from "./loader-BYBrqTxP.js";
|
|
4
4
|
import { n as ParticleSimConfig, r as ParticleView, t as ParticleSim } from "./particle-sim-CwJ5rI_P.js";
|
|
5
|
-
import { a as AudioElementLike, i as gridFromRows, n as PathGrid, o as AudioPlayer, r as findPath, t as FindPathOptions } from "./pathfinding-
|
|
5
|
+
import { a as AudioElementLike, i as gridFromRows, n as PathGrid, o as AudioPlayer, r as findPath, t as FindPathOptions } from "./pathfinding-BwhqPD3i.js";
|
|
6
6
|
import { i as auditScene, n as IncantoErrorCode, r as IncantoErrorDetails, t as IncantoError } from "./errors-1dXlIwoR.js";
|
|
7
7
|
|
|
8
8
|
//#region src/core/audio/crossfade.d.ts
|
package/dist/index.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { _ as
|
|
2
|
-
import { C as
|
|
1
|
+
import { _ as clearBehaviors, a as SCENE_FORMAT, b as registeredBehaviors, c as SceneTree, d as resolveConstants, f as Node, g as Behavior, h as InputMap, i as serializeNode, l as CONST_REF_KEY, n as loadScene, o as computeViewport, p as parseNodePath, r as Scene, s as resolveViewport, u as isConstRef, v as getBehavior, x as Signal, y as registerBehavior } from "./loader-BlaRQGaA.js";
|
|
2
|
+
import { C as fadeGain, S as crossfadeGains, _ as SFX_PRESETS, a as HudLayer, b as MusicManager, c as UiText, d as LogManager, f as SfxEngine, g as spatialPan, h as spatialGain, i as UiDialogue, l as AudioPlayer, m as ROLLOFF_MODELS, n as Timer, o as UiBanner, p as isAudioContextAvailable, r as UiButton, s as UiBar, t as registerCoreNodes, u as Engine, v as SFX_PRESET_NAMES, w as AudioBuses, x as WebAudioMusicBackend, y as synthSfx } from "./register-Dzkd6-os.js";
|
|
3
3
|
import { t as IncantoError } from "./errors-BpWbnbb_.js";
|
|
4
4
|
import { t as Rng } from "./rng-DP-SR7eg.js";
|
|
5
|
-
import { t as auditScene } from "./audit-
|
|
5
|
+
import { t as auditScene } from "./audit-C4kmDK0o.js";
|
|
6
6
|
import { n as jsonEquals, r as jsonKind, t as jsonClone } from "./json-BLk7H2Qa.js";
|
|
7
|
-
import { a as getNodeSignals, c as mergeStaticSignals, i as getNodeSchema, l as registerNode, n as clearRegistry, o as getNodeType, r as createNode, u as registeredTypes } from "./registry-
|
|
7
|
+
import { a as getNodeSignals, c as mergeStaticSignals, i as getNodeSchema, l as registerNode, n as clearRegistry, o as getNodeType, r as createNode, u as registeredTypes } from "./registry-CJdGpT2V.js";
|
|
8
8
|
import { t as createNoise2D } from "./noise-CGUMx44x.js";
|
|
9
|
-
import { n as ORDER_GROUP_BASE, r as effectiveOrder, t as duplicateNode } from "./duplicate-
|
|
9
|
+
import { n as ORDER_GROUP_BASE, r as effectiveOrder, t as duplicateNode } from "./duplicate-KRPtUtzl.js";
|
|
10
10
|
import { i as applyParticlePreset, n as PARTICLE_PRESETS, r as PARTICLE_PRESET_NAMES, t as ParticleSim } from "./particle-sim-Bw7hB93B.js";
|
|
11
11
|
import { i as resolveRendering, n as attachTouchControls, r as joystickVector, t as TouchControls } from "./touch-031PxtCR.js";
|
|
12
12
|
//#region src/core/pathfinding.ts
|
|
@@ -295,6 +295,6 @@ function newUid() {
|
|
|
295
295
|
//#endregion
|
|
296
296
|
//#region src/index.ts
|
|
297
297
|
/** Engine version. Kept in sync with package.json by the release pipeline. */
|
|
298
|
-
const VERSION = "0.
|
|
298
|
+
const VERSION = "0.31.0";
|
|
299
299
|
//#endregion
|
|
300
300
|
export { AudioBuses, AudioPlayer, Behavior, CONST_REF_KEY, Engine, HudLayer, IncantoError, InputMap, LogManager, MusicManager, Node, ORDER_GROUP_BASE, PARTICLE_PRESETS, PARTICLE_PRESET_NAMES, ParticleSim, ROLLOFF_MODELS, Rng, SCENE_FORMAT, SFX_PRESETS, SFX_PRESET_NAMES, Scene, SceneTree, SfxEngine, Signal, Timer, TouchControls, UiBanner, UiBar, UiButton, UiDialogue, UiText, VERSION, WebAudioMusicBackend, applyParticlePreset, assetUrls, attachTouchControls, auditScene, clearBehaviors, clearRegistry, computeViewport, createNode, createNoise2D, createSaveStore, crossfadeGains, duplicateNode, effectiveOrder, fadeGain, findPath, getBehavior, getNodeSchema, getNodeSignals, getNodeType, gridFromRows, isAudioContextAvailable, isConstRef, joystickVector, jsonClone, jsonEquals, jsonKind, loadScene, mergeStaticSignals, newUid, parseNodePath, preloadUrls, registerBehavior, registerCoreNodes, registerNode, registeredBehaviors, registeredTypes, replay, resolveConstants, resolveRendering, resolveViewport, serializeNode, spatialGain, spatialPan, startRecording, synthSfx };
|