mirror of
https://github.com/cliffe/BreakEscape.git
synced 2026-02-20 13:50:46 +00:00
Implements a comprehensive tutorial system that: - Prompts first-time players with option to take tutorial - Detects device type (mobile vs keyboard) for appropriate instructions - Shows interactive steps with objectives for basic controls: * Keyboard: WASD movement, Shift to run, E to interact * Mobile: Click/tap to move and interact - Tracks player actions to progress through tutorial steps - Saves completion status in localStorage - Includes polished UI with animations and responsive design Files added: - tutorial-manager.js: Core tutorial logic and state management - tutorial.css: Styled UI components with animations Files modified: - game.js: Integrated tutorial check on first load - player.js: Added tutorial notifications for movement/running - interactions.js: Added tutorial notification for interactions - main.js: Imported tutorial manager system - index.html: Added tutorial CSS stylesheet