LAUSANNES QUEST — LiteSpeed / cPanel direct-upload edition v2.3
===============================================================

THIS PACKAGE FIXES THE "Index of /lausannesquest/" SCREEN.

Install:
1. In your web root, open the folder used by the URL, e.g. public_html/lausannesquest/
2. REMOVE the old extracted Node package from that folder (backup first if needed).
3. Upload/extract ALL files from this ZIP directly into that folder.
4. IMPORTANT: index.html must be directly inside /lausannesquest/ — NOT inside /public/.
5. You should see these items at the same level:
   index.html, admin.html, .htaccess, assets/, css/, js/, api/, data/, private/
6. Open: https://glgamers.com/lausannesquest/
7. API health test: https://glgamers.com/lausannesquest/api/index.php?route=health
8. Admin: https://glgamers.com/lausannesquest/admin.html

This edition does NOT require Node.js or Socket.IO on the hosting server.
- Solo and Local 2P run entirely in the browser.
- Online 2P uses WebRTC P2P via PeerJS signaling.
- Online leaderboard, admin data, and online-player heartbeat use PHP + JSON files.

If the API says storage is not writable, set data/ directory permission to 755 or 775 depending on your hosting account.
Do not use 777 unless your hosting provider explicitly requires it.

The app automatically detects the folder/base path, so /lausannesquest and /Lausannesquest are not hard-coded in JavaScript.


v2.3 fixes:
- Preloads animation sprites and keeps a last-known-good frame to prevent character flicker.
- Reworked platform rendering with layered stone, moss, shadows and grounded character/enemy shadows.
- Falling off the map consumes one life and automatically respawns the player at the beginning of the level when lives remain.
- Fall-out state is synchronized in Online 2P.
