dodadno
This commit is contained in:
@@ -49,11 +49,12 @@ class StoryScene extends Phaser.Scene {
|
||||
{ label: '▶ NEW GAME', color: '#00ff41', action: () => this.startNewGame() },
|
||||
{ label: '📁 LOAD GAME', color: '#4477ff', action: () => this.loadGame() },
|
||||
{ label: '⚙️ SETTINGS', color: '#ffaa00', action: () => this.showSettings() },
|
||||
{ label: '♿ ACCESSIBILITY', color: '#44ff44', action: () => this.showAccessibility() },
|
||||
{ label: '❌ EXIT', color: '#ff4444', action: () => this.exitGame() }
|
||||
];
|
||||
|
||||
const startY = 250;
|
||||
const spacing = 80;
|
||||
const startY = 230;
|
||||
const spacing = 75;
|
||||
|
||||
buttons.forEach((btn, index) => {
|
||||
const y = startY + (index * spacing);
|
||||
@@ -208,6 +209,32 @@ class StoryScene extends Phaser.Scene {
|
||||
alert('Settings - Use ⚙️ button in-game!');
|
||||
}
|
||||
|
||||
showAccessibility() {
|
||||
console.log('♿ Opening Accessibility Menu...');
|
||||
|
||||
// Create accessibility quick menu
|
||||
const options = [
|
||||
'♿ ACCESSIBILITY OPTIONS',
|
||||
'',
|
||||
'1. High Contrast Mode',
|
||||
'2. Large Text Mode',
|
||||
'3. Color Blind Mode',
|
||||
'4. Screen Reader Support',
|
||||
'5. Reduce Flashing (Epilepsy)',
|
||||
'6. One-Handed Controls',
|
||||
'7. Audio Cues',
|
||||
'',
|
||||
'Full accessibility settings available in-game (ESC → Settings)',
|
||||
'',
|
||||
'Tip: Press 1-7 to toggle these features'
|
||||
];
|
||||
|
||||
alert(options.join('\n'));
|
||||
|
||||
// TODO: Implement full accessibility menu
|
||||
// For now, just show information
|
||||
}
|
||||
|
||||
exitGame() {
|
||||
console.log('❌ Exiting...');
|
||||
if (window.close) {
|
||||
|
||||
Reference in New Issue
Block a user