From ac998452ef322375b0c9a9474e59720d61203799 Mon Sep 17 00:00:00 2001 From: CAtlas0784 Date: Wed, 16 Sep 2026 01:13:10 +0700 Subject: [PATCH] refactor(cutscenes): remove prerendered video player cutscenes and retain only realtime 3D timelines --- .gitignore | 2 ++ .../Ananta.App/DebugPanel/index.html | 36 ------------------- 2 files changed, 2 insertions(+), 36 deletions(-) diff --git a/.gitignore b/.gitignore index c42edec..68b3fee 100644 --- a/.gitignore +++ b/.gitignore @@ -10,6 +10,8 @@ logs/ # Runtime generated cache / temp .runtime/ *.tmp +crash_uploads/ +**/crash_uploads/ # IDE / Editor artifacts .vs/ diff --git a/Ananta.Server/Ananta.App/DebugPanel/index.html b/Ananta.Server/Ananta.App/DebugPanel/index.html index a57e0fb..8ece527 100644 --- a/Ananta.Server/Ananta.App/DebugPanel/index.html +++ b/Ananta.Server/Ananta.App/DebugPanel/index.html @@ -186,28 +186,6 @@
💡 เรนเดอร์โมเดล 3D และมุมกล้อง Cinemachine สดๆ ใน Engine ไม่ต้องพึ่งพาไฟล์วิดีโอ หมดปัญหาไฟล์วิดีโอหาย
-
-

🎞️ Video Player Cutscenes (Prerendered Video)

-
- Video Preset: - - ID: -
-
- - -
-
เล่นไฟล์วิดีโอผ่าน S_VIDEO_PLAYER_PANEL (หากคลิปไม่มีในตัวเกมอาจขึ้นจอดำ)
-

Panel log

@@ -466,20 +444,6 @@ async function playTimeline() { log('play timeline: ' + JSON.stringify(r)); } -function onCutscenePresetChange() { - const sel = document.getElementById('cutscenepreset').value; - if (sel !== 'custom') { - document.getElementById('cutsceneId').value = sel; - } -} - -async function playCutscene() { - const body = { - id: document.getElementById('cutsceneId').value || '24100064' - }; - const r = await api('/api/cutscene/play', { method: 'POST', headers: { 'Content-Type': 'application/json' }, body: JSON.stringify(body) }); - log('play cutscene: ' + JSON.stringify(r)); -} loadFleet(); refresh();