Commit Graph

195 Commits

Author SHA1 Message Date
aa644f5bd8 auto-git:
[change] node/server/public/app.js
2025-05-28 06:42:02 +02:00
128e12621b Fix missing return statement in Spirit update method 2025-05-28 06:37:47 +02:00
2babfa5c1c Add dynamic Y-position calculation for Spirit despawn 2025-05-28 06:37:47 +02:00
10007c3881 Refactor Spirit class initialization and comments 2025-05-28 06:37:30 +02:00
8304963c0f Add clock start to spirit initialization 2025-05-28 06:36:15 +02:00
122d4e30ba Correct minor typo in comment 2025-05-28 06:34:36 +02:00
d227526c44 Adjust startY calculation to compensate for lag 2025-05-28 06:34:36 +02:00
e61dc39489 auto-git:
[change] node/server/public/app.js
2025-05-28 06:32:55 +02:00
c8285b9119 Minimize startY offset for spinnerRed 2025-05-28 06:32:55 +02:00
7e612c7e87 Significantly reduce startY offset for spinnerRed 2025-05-28 06:32:55 +02:00
24ab78900f Fine-tune startY calculation for spinnerRed 2025-05-28 06:32:55 +02:00
d88d78b28e Further adjust startY calculation for spinnerRed 2025-05-28 06:32:55 +02:00
a934f7e0fb Adjust startY calculation for spinnerRed 2025-05-28 06:32:55 +02:00
6de7990521 auto-git:
[change] node/server/public/app.js
2025-05-28 06:31:20 +02:00
9154c4abfa Set fixed startY value of 100 in spawnSpiritWithOffset 2025-05-28 06:31:20 +02:00
842d322b4c Reset startY value to default in spawnSpiritWithOffset 2025-05-28 06:31:20 +02:00
60adc41657 Reduce startY value in spawnSpiritWithOffset 2025-05-28 06:31:20 +02:00
2b98b0b12f Further adjust startY value in spawnSpiritWithOffset 2025-05-28 06:31:20 +02:00
87d31b06e1 Adjust startY value in spawnSpiritWithOffset 2025-05-28 06:31:20 +02:00
b0fdb99ad9 Initialize spirit timer variable 2025-05-28 06:28:01 +02:00
4080e1ff5d Add initial spirit position and timer setup 2025-05-28 06:28:01 +02:00
340563912b Refactor comment and logic in server.js for better readability and functionality 2025-05-28 06:26:03 +02:00
21ce45fcea Refactor server.js to simplify spirit spawning logic and add time information in payload 2025-05-28 06:25:28 +02:00
97661d9705 Comment out call to nextSpirit in pushSpiritToAllClients 2025-05-28 06:23:15 +02:00
d7748f981e Refactor spawnSpiritWithOffset to adjust spawn position based on timeSinceSpawnMs 2025-05-28 06:21:33 +02:00
5bb98cd7fc Refactor spirit message handling in app.js 2025-05-28 06:18:44 +02:00
ad8cc914fd Refactor server.js to remove unnecessary offset and simplify spirit timer logic 2025-05-28 06:17:13 +02:00
1cf1347e2d Comment out nextSpirit() call in server.js 2025-05-28 06:13:10 +02:00
5f472ee1d3 Refactor spirit spawning logic to include time offset handling 2025-05-28 06:08:16 +02:00
98fc65b0dc Refactor server logic to include spirit interval and timestamp 2025-05-28 06:07:30 +02:00
dd025b96c8 Fix client connection handling in server.js 2025-05-28 06:01:36 +02:00
0f8512e144 Refactor server logic to shuffle spirits and manage rotation 2025-05-28 05:59:27 +02:00
f0af5fa9d0 auto-git:
[change] node/server/server.js
2025-05-28 05:54:54 +02:00
1fde8484e5 Send spirit immediately to new client upon connection 2025-05-28 05:54:54 +02:00
a7a9718465 Send spirit immediately to new client upon connection 2025-05-28 05:54:54 +02:00
856144bee6 Send spirit immediately to new client upon connection 2025-05-28 05:54:54 +02:00
22bdbcf466 Remove unnecessary spirit message on client connection 2025-05-28 05:53:18 +02:00
0433fd3691 Refactor server setup and add WebSocket functionality 2025-05-28 05:51:40 +02:00
79462fb9a0 Add spirit loading and validation in server.js 2025-05-28 05:50:29 +02:00
1ba7bc08e2 Comment out console log for server start 2025-05-28 05:49:10 +02:00
a25cea62b7 Comment out console logs in server.js 2025-05-28 05:49:10 +02:00
60f89c10f0 Refactor server logic to include timer control and client management 2025-05-28 05:48:49 +02:00
225660c716 Remove commented-out code from server.js 2025-05-28 05:48:23 +02:00
3334894114 Fix sprite texture path in app.js 2025-05-28 05:45:24 +02:00
c8429f7297 Update texture path in app.js 2025-05-28 05:45:24 +02:00
02d3fa9629 auto-git:
[change] node/server/server.js
2025-05-28 05:42:26 +02:00
465e2995e6 Reduce life time of Spirit instances 2025-05-28 05:42:26 +02:00
6b3cb61ef4 Increase vertical despawn speed in Spirit class 2025-05-28 05:42:26 +02:00
0c1bcaac46 Add backdrop and improve overlay close functionality in app.js 2025-05-28 05:40:37 +02:00
8149c407e8 Optimize window resizing logic in app.js 2025-05-28 05:38:22 +02:00