From 383ba8baf190154bae771d43d47e9e966d19e8b9 Mon Sep 17 00:00:00 2001 From: Dejvino Date: Fri, 21 Nov 2025 23:55:16 +0100 Subject: [PATCH] Tweak: remove file input and move guests out from stage in the start --- party-cathedral/index.html | 14 -------------- party-cathedral/src/core/init.js | 9 --------- party-cathedral/src/scene/party-guests.js | 2 +- 3 files changed, 1 insertion(+), 24 deletions(-) diff --git a/party-cathedral/index.html b/party-cathedral/index.html index dcb432c..513050a 100644 --- a/party-cathedral/index.html +++ b/party-cathedral/index.html @@ -21,20 +21,6 @@ - - - -
- - - -
- -
-
- diff --git a/party-cathedral/src/core/init.js b/party-cathedral/src/core/init.js index d3151ce..d8a626d 100644 --- a/party-cathedral/src/core/init.js +++ b/party-cathedral/src/core/init.js @@ -47,15 +47,6 @@ export function init() { // 9. Event Listeners window.addEventListener('resize', onWindowResize, false); - state.fileInput.addEventListener('change', loadVideoFile); - - // Button logic - state.loadTapeButton.addEventListener('click', () => { - state.fileInput.click(); - }); - - // Auto-advance to the next video when the current one finishes. - state.videoElement.addEventListener('ended', playNextVideo); // Start the animation loop animate(); diff --git a/party-cathedral/src/scene/party-guests.js b/party-cathedral/src/scene/party-guests.js index ce4ae1d..e5ef18c 100644 --- a/party-cathedral/src/scene/party-guests.js +++ b/party-cathedral/src/scene/party-guests.js @@ -69,7 +69,7 @@ export class PartyGuests extends SceneFeature { const pos = new THREE.Vector3( (Math.random() - 0.5) * 10, guestHeight / 2, - (Math.random() * 20) - 12 // Position them in the main hall + (Math.random() * 20) - 6 // Position them in the main hall ); guest.position.copy(pos); state.scene.add(guest);