Commit Graph

247 Commits

Author SHA1 Message Date
40f587e8b4 Remove background color from another element in index.html 2025-05-28 19:05:30 +02:00
1a31fa2e0f Remove background color from index.html elements 2025-05-28 19:05:30 +02:00
685cd7e66f Update responsive overlay styling and structure 2025-05-28 19:02:51 +02:00
5703f1bbed Add responsive layout for spirit info section in index.html 2025-05-28 19:00:13 +02:00
7b74345d1c Refactor app.js to improve structure and readability of spirit overlay content 2025-05-28 19:00:02 +02:00
47b45eed6f Remove unnecessary CSS styles from app.js 2025-05-28 18:57:21 +02:00
e4ec98f1bb Fix typo in app.js 2025-05-28 18:55:20 +02:00
175f25691d Update styling and layout of #spirit-info on index.html 2025-05-28 18:54:38 +02:00
b8c932e7b5 Refactor HTML structure in app.js for better readability and organization 2025-05-28 18:50:36 +02:00
fa328b4bd6 Update index.html to include responsive overlay for spirit info 2025-05-28 18:49:44 +02:00
96b06b76db Enable shadow map for WebGL renderer 2025-05-28 18:46:23 +02:00
59815a2ac9 Enable shadow casting for the sun light in app.js 2025-05-28 18:44:38 +02:00
44db5e85ab Refactor code formatting in app.js 2025-05-28 18:42:54 +02:00
5ba5ee3f65 Ensure dpr is not undefined when window.devicePixelRatio is falsy 2025-05-28 18:00:39 +02:00
65b84cb3e2 Fix potential division by zero in dpr calculation 2025-05-28 18:00:39 +02:00
9c0bcd6756 Refactor resize handler in app.js to improve aspect ratio handling and centering 2025-05-28 17:55:21 +02:00
3ff701181e Refactor resize handler logic in app.js 2025-05-28 17:54:55 +02:00
631da960d6 Update target FPS for mobile devices in app.js 2025-05-28 17:50:54 +02:00
9a2a7382d8 Re-enable gamma correction shader pass 2025-05-28 17:48:51 +02:00
a50a8b7ada Comment out gamma correction shader pass 2025-05-28 17:48:51 +02:00
450ee6dff6 Toggle shadow casting for directional light based on mobile device 2025-05-28 17:48:51 +02:00
0bc86dba22 Add mobile-specific lighting logic in SpinnerController 2025-05-28 17:46:04 +02:00
84fffe99af Optimize FPS calculation and skip frames in render loop 2025-05-28 17:35:49 +02:00
d59c80d28a Refactor and optimize animation loop for performance 2025-05-28 17:33:51 +02:00
7933b29de0 Add FPS limit to animation loop 2025-05-28 17:33:51 +02:00
767b8c6611 Add performance flag for mobile devices 2025-05-28 17:32:24 +02:00
a2e0aefc94 Update title in index.html 2025-05-28 17:32:24 +02:00
ff6adcf5e4 Add conditional rendering of bloom and vignette passes for non-mobile devices 2025-05-28 17:30:05 +02:00
67e11ec704 Refactor post-processing to include foliage shader 2025-05-28 17:29:56 +02:00
d4df667cb4 Optimize renderer settings for mobile devices 2025-05-28 17:28:37 +02:00
465651172b Add adaptive settings for mobile devices in app.js 2025-05-28 17:27:15 +02:00
0f2675b953 Use secure WebSocket protocol based on location 2025-05-28 17:24:16 +02:00
9a0992f792 Set server port and host dynamically 2025-05-28 17:24:16 +02:00
3807645e6f Disable logging for spirit and timer operations in server.js 2025-05-28 07:19:12 +02:00
e8ad727daa Remove unnecessary code comments in server.js 2025-05-28 07:19:12 +02:00
c1fbcf464b Fix incorrect spirit interval in spawnSpiritWithOffset method 2025-05-28 07:17:14 +02:00
76638f62a9 Adjust spirit interval to 18 seconds 2025-05-28 07:17:14 +02:00
f6ead4cbd1 Remove commented-out code in server.js 2025-05-28 07:15:25 +02:00
ecd352b333 Adjust spirit interval in server.js 2025-05-28 07:14:07 +02:00
c5c6b65ab6 Refactor variable names and comments in app.js 2025-05-28 07:12:34 +02:00
10059c0724 auto-git:
[change] node/server/public/app.js
2025-05-28 07:12:27 +02:00
0d2543ba31 Refactor spawnSpiritWithOffset method to include despawn logic based on offset and lifetime 2025-05-28 07:12:27 +02:00
79e717e7e6 Further adjust startY positions for better alignment 2025-05-28 07:11:24 +02:00
c6107fcd12 Adjust startY position in spawnSpirit and spawnSpiritWithOffset methods 2025-05-28 07:11:24 +02:00
1ca4fe035f Update starting Y position for spirit spawning 2025-05-28 07:10:06 +02:00
13acf81132 Correct spawn position calculation in SpinnerController 2025-05-28 07:10:06 +02:00
cca2851bbf Adjust clock elapsed time calculation in SpinnerController 2025-05-28 07:10:06 +02:00
7b0dc15f10 auto-git:
[change] node/server/public/app.js
2025-05-28 07:08:08 +02:00
76b2afb627 auto-git:
[change] node/server/public/app.js
2025-05-28 07:08:08 +02:00
b1c08b0b9d Rename despawnSpeed to moveSpeed 2025-05-28 07:08:08 +02:00