neki bo
This commit is contained in:
@@ -62,6 +62,11 @@ export default class TwinBondSystem {
|
||||
|
||||
triggerBond() {
|
||||
this.isActive = true;
|
||||
|
||||
// Oddaj event za AccessibilityManager (za Deaf Mode Purple HUD glow)
|
||||
if (this.scene.game) {
|
||||
this.scene.game.events.emit('twinBondPulse');
|
||||
}
|
||||
|
||||
// Zaustavi Kaja za kratek čas (šok)
|
||||
if (this.scene.kai) {
|
||||
@@ -76,7 +81,9 @@ export default class TwinBondSystem {
|
||||
const W = this.scene.cameras.main.width;
|
||||
const H = this.scene.cameras.main.height;
|
||||
this.flashOverlay.clear();
|
||||
this.flashOverlay.fillStyle(0x3a0055, 0.85); // Temno vijolična
|
||||
|
||||
let alpha = this.scene.accessState?.autismMode ? 0.2 : 0.85; // Omehčan za avtizem
|
||||
this.flashOverlay.fillStyle(0x3a0055, alpha); // Temno vijolična
|
||||
this.flashOverlay.fillRect(0, 0, W, H);
|
||||
|
||||
// Skrijemo čez 0.15s
|
||||
|
||||
Reference in New Issue
Block a user