Skip to content

A fast 2D and 3D game engine — TypeScript SDK, C++/WebAssembly core, visual editor. Ship one project to web, desktop, WeChat MiniGames, playable ads, and native Android / iOS.

feat(audio): the reach of a spatial source is drawn, not just typed

esenginea0d7b6c010ca
diff --git a/desktop b/desktop
index 70fe542d6..8b0145cc3 160000
--- a/desktop
+++ b/desktop
@@ -1 +1 @@
-Subproject commit 70fe542d674672bebe5bf36dd30772a030dfeb79
+Subproject commit 8b0145cc3a6ebb6c995dc02e64f2bc82e81d6d1f
diff --git a/tools/check-gizmo-coverage.mjs b/tools/check-gizmo-coverage.mjs
index 353bfe0e1..8be410d88 100644
--- a/tools/check-gizmo-coverage.mjs
+++ b/tools/check-gizmo-coverage.mjs
@@ -78,6 +78,8 @@ const DISPOSITION = {
'Light.innerRadius': 'extent',
'Light.cookieSize': 'extent',
'MeleeAttack.radius': 'extent',
+ 'AudioSource.minDistance': 'extent',
+ 'AudioSource.maxDistance': 'extent',
'NavAgent.radius': 'extent',
'NavAgent.arriveRadius': 'extent',
'NavArea.halfExtents': 'extent',
@@ -144,8 +146,6 @@ const DISPOSITION = {
// Each of these IS a region of world and nothing draws it. An entry leaves this
// block by being drawn, never by being explained; adding one is a visible diff,
// which is the only ratchet there is.
- 'AudioSource.minDistance': ['owed', 'the sphere inside which a 3D source is at full volume'],
- 'AudioSource.maxDistance': ['owed', 'the sphere past which a 3D source is inaudible'],
'Hunter.attackRange': ['owed', 'the reach it closes to before swinging — MeleeAttack.radius is drawn, this twin is not'],
'Perceiver.range': ['owed', 'how far it can see; the cone it sees through is not drawn either'],
'ThirdPersonCamera.distance': ['owed', 'the boom length — where the camera actually ends up'],