How zzzsleepyy/lightmaze works
LightMaze is a browser-based maze puzzle game with a web interface for browsing levels, tracking progress, and customizing the experience, alongside a Godot Web export for gameplay. The visible JavaScript handles navigation, level filtering, settings, progress resets, notifications, sound effects, and a game timer; the Godot files provide the exported runtime and audio worklets. The README describes light-based maze challenges, but sampled source does not expose maze mechanics or confirm how the root page launches the Godot export, so those connections are left conservative.
Main entry points: script.js UI Behavior · index.js Godot Engine Loader · index.html LightMaze Site · godot/index.html Godot Web Page
Components 14
Web Interface
- LightMaze Site
index.html - UI Behavior
script.js - Levels & Progress
script.js - Themes & Settings
script.js - Game Timer
script.js - Browser Storage
Game Runtime
- Godot Web Page
godot/index.html - Godot Engine Loader
godot/index.js - Exported Game
godot/index.pck - WebAssembly Engine
godot/index.wasm
Audio
- Audio Worklet
godot/index.audio.worklet.js - Position Worklet
godot/index.audio.position.worklet.js - Button Click Sound
assets/buttonclickSound.MP3
Other components
- Player
Connections 14
- Player → LightMaze Site: opens
- LightMaze Site → UI Behavior: hosts UI
- Player → UI Behavior: interacts
- UI Behavior → Levels & Progress: filters levels
- UI Behavior → Themes & Settings: changes settings
- UI Behavior → Game Timer: starts timer
- Levels & Progress → Browser Storage: stores progress
- Themes & Settings → Browser Storage: stores settings
- UI Behavior → Button Click Sound: plays sound
- Godot Web Page → Godot Engine Loader: loads runtime
- Godot Engine Loader → WebAssembly Engine: loads engine
- Godot Engine Loader → Exported Game: loads game data
- Godot Engine Loader → Audio Worklet: loads audio processor
- Godot Engine Loader → Position Worklet: loads position processor