mirror of
https://github.com/got-feedBack/feedBack.git
synced 2026-07-22 12:52:29 +00:00
* chore(career): refresh bar pack to v4 + restore crowd-SFX setting Pack v4: per-character desynced animation starts, flyover intro, per-venue reaction sounds (sfx-up/sfx-down in manifest). Settings: re-add the crowd sound reactions toggle that was dropped when settings.html became the passports data panel. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> * feat(v3): crowd mood-change sound reactions (cheer up / boo down) Port the venue-crowd SFX runtime that the settings toggle and the pack's sfx-up/sfx-down files were built for: on a committed mood transition, play the venue's own cheer (up) or boo (down) one-shot, gated by the feedBack-venue-crowd-sfx setting (default off). Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> * chore: rebuild tailwind.min.css for settings toggle classes Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> --------- Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
33 lines
1.5 KiB
HTML
33 lines
1.5 KiB
HTML
<!-- Career plugin — data panel. Exists so the passport/drill state declared in
|
|
settings.server_files has a visible home in Settings; nothing to configure. -->
|
|
<div class="text-sm text-gray-300 space-y-2">
|
|
<p><strong>Career</strong> computes stars and genre badges from your play
|
|
stats — they are never stored, so there is nothing to back up or reset.</p>
|
|
<p class="text-gray-400">What <em>is</em> saved server-side: your instrument
|
|
commitments, opened genre passports, and the practice-drill snapshot the
|
|
Virtuoso plugin reports. These ride along in
|
|
<em>Settings → Export</em> automatically.</p>
|
|
</div>
|
|
<hr class="border-gray-800 my-3">
|
|
<div class="space-y-3 text-sm">
|
|
<label class="flex items-center justify-between gap-4">
|
|
<span>
|
|
<span class="text-gray-200 font-medium">Crowd sound reactions</span>
|
|
<span class="block text-xs text-gray-500">Cheers when the crowd's mood rises, boos when it drops. Uses each venue's own recordings.</span>
|
|
</span>
|
|
<input type="checkbox" id="career-sfx-toggle" class="accent-cyan-500 w-4 h-4">
|
|
</label>
|
|
</div>
|
|
<script>
|
|
(function () {
|
|
'use strict';
|
|
var KEY = 'feedBack-venue-crowd-sfx';
|
|
var box = document.getElementById('career-sfx-toggle');
|
|
if (!box) return;
|
|
try { box.checked = localStorage.getItem(KEY) === 'on'; } catch (e) { /* ok */ }
|
|
box.addEventListener('change', function () {
|
|
try { localStorage.setItem(KEY, box.checked ? 'on' : 'off'); } catch (e) { /* ok */ }
|
|
});
|
|
}());
|
|
</script>
|