Private
Public Access
1
0
Commit Graph

51 Commits

Author SHA1 Message Date
Sebastian Unterschütz 592eb25397 migrate NATS to StatefulSet for clustering support
Dynamic Branch Deploy / build-and-deploy (push) Successful in 7m36s
2026-01-09 22:40:08 +01:00
Sebastian Unterschütz 223afed1a6 fix "2026/01/09 21:27:56 ⚠ Send channel voll, Nachricht verworfen"
Dynamic Branch Deploy / build-and-deploy (push) Successful in 7m43s
2026-01-09 22:29:43 +01:00
Sebastian Unterschütz 4be6cc791e - Refactor dirt and stone generation to optimize visible depth and adjust randomization.
Dynamic Branch Deploy / build-and-deploy (push) Successful in 8m32s
- Remove unused `StartWebSocketGateway` function from `websocket_gateway.go`.
- Add security checks to track player-room mapping, enforce valid input, and prevent ID spoofing in `gateway.go`.
- Refactor touch control logic to dynamically position joystick and buttons above gameplay floor.
- Introduce dynamic floor Y-coordinate calculation (`GetFloorYFromHeight`) for better scaling across different screen sizes.
- Adjust rendering logic to align assets, particles, and debug visuals with dynamic screen height transformations.
- Update canvas CSS to support fullscreen scaling without center alignment.
2026-01-09 21:34:24 +01:00
Sebastian Unterschütz d156dce2e7 Restrict debug rendering (colliders, hitboxes, etc.) to debug mode only.
Dynamic Branch Deploy / build-and-deploy (push) Successful in 7m46s
2026-01-06 21:51:08 +01:00
Sebastian Unterschütz fc909fc2bc Increase number of underground stones per tile, limit to rectangular shapes only
Dynamic Branch Deploy / build-and-deploy (push) Has been cancelled
2026-01-06 21:48:52 +01:00
Sebastian Unterschütz d20f8f33bb Update touch controls to use ScreenHeight instead of canvas height for joystick and button positioning
Dynamic Branch Deploy / build-and-deploy (push) Has been cancelled
2026-01-06 21:46:46 +01:00
Sebastian Unterschütz 023996229a Integrate shared physics engine for player movement and collision handling, refine 20 TPS gameplay logic, and enhance client prediction with server-reconciliation updates.
Dynamic Branch Deploy / build-and-deploy (push) Successful in 7m51s
2026-01-06 21:37:32 +01:00
Sebastian Unterschütz 23d42d42e7 Add sequence numbers to server broadcasts and client state handling for out-of-order update detection.
Dynamic Branch Deploy / build-and-deploy (push) Successful in 9m53s
2026-01-06 18:52:27 +01:00
Sebastian Unterschütz 2a635d0aaa Add Cache-Control headers for static assets and versioned WASM/JS files in Gin server 2026-01-06 18:46:48 +01:00
Sebastian Unterschütz 291b6f5953 Adjust PNG compression level in Dockerfile from -o7 to -o3 for faster build times.
Dynamic Branch Deploy / build-and-deploy (push) Successful in 7m34s
2026-01-05 22:17:51 +01:00
Sebastian Unterschütz c8c43a110a Improve image compression in Dockerfile by increasing PNG optimization level and enhancing JPEG compression settings with additional options.
Dynamic Branch Deploy / build-and-deploy (push) Has been cancelled
2026-01-05 21:35:20 +01:00
Sebastian Unterschütz 9c96151d36 Add image compression to Dockerfile using optipng and jpegoptim for optimized asset handling; update build dependencies.
Dynamic Branch Deploy / build-and-deploy (push) Successful in 5m33s
2026-01-05 21:26:02 +01:00
Sebastian Unterschütz d595c7e525 Enable canvas focus for keyboard input by setting tabindex and automatically focusing during gameplay.
Dynamic Branch Deploy / build-and-deploy (push) Successful in 2m1s
2026-01-05 21:14:12 +01:00
Sebastian Unterschütz a742889a8e Remove redundant gameStarting reset logic in game.js.
Dynamic Branch Deploy / build-and-deploy (push) Successful in 1m56s
2026-01-05 21:10:47 +01:00
Sebastian Unterschütz 66d7b6d2a5 Refine player movement and physics constants for improved 20 TPS gameplay, add reusable config values, enhance button loading states, and prevent duplicate game starts. Update cache-busting version for client assets.
Dynamic Branch Deploy / build-and-deploy (push) Successful in 2m3s
2026-01-05 21:04:39 +01:00
Sebastian Unterschütz dc5136ca21 Adjust physics constants for better 20 TPS gameplay feel, refine smoothing and correction thresholds, and update cache-busting version for client assets.
Dynamic Branch Deploy / build-and-deploy (push) Successful in 2m15s
2026-01-05 19:54:07 +01:00
Sebastian Unterschütz 0ae6c58eb9 Adjust physics constants and movement logic for 20 TPS, scale velocities and gravity by a factor of 3, and update cache-busting version for client assets.
Dynamic Branch Deploy / build-and-deploy (push) Successful in 2m0s
2026-01-05 19:22:17 +01:00
Sebastian Unterschütz daf8261aa9 Reduce tick rate and TPS to 20 for improved performance and consistency; update cache-busting version for client assets.
Dynamic Branch Deploy / build-and-deploy (push) Successful in 2m51s
2026-01-05 19:08:27 +01:00
Sebastian Unterschütz f121fa5ced Initialize Redis-backed RoomRegistry for room-to-pod assignment and add Pod-specific game.join handling logic with NATS subscriptions. Update cache-busting version for client assets.
Dynamic Branch Deploy / build-and-deploy (push) Successful in 2m30s
2026-01-04 20:38:18 +01:00
Sebastian Unterschütz 1417d3ceb2 Add Makefile with build targets and script to dynamically update cache version for client builds
Dynamic Branch Deploy / build-and-deploy (push) Successful in 2m20s
2026-01-04 20:15:04 +01:00
Sebastian Unterschütz 24e21387d9 Add cache-busting for JS/WASM assets, WASM readiness signaling to JS, and robust fetch with cache control. Improve lobby updates and refine WebSocket logic.
Dynamic Branch Deploy / build-and-deploy (push) Failing after 46s
2026-01-04 20:13:56 +01:00
Sebastian Unterschütz 98e955aad9 Add analog joystick support with fine control adjustments, improve prediction smoothing, reduce correction thresholds, and enhance lobby and overlay UI responsiveness.
Dynamic Branch Deploy / build-and-deploy (push) Successful in 2m23s
2026-01-04 19:43:09 +01:00
Sebastian Unterschütz 6606d67a21 Switch game.join and leaderboard handlers (leaderboard.get, leaderboard.request) to NATS Queue Groups, remove room-to-pod assignment logic for simplified load balancing, and add detailed Pod-specific logging.
Dynamic Branch Deploy / build-and-deploy (push) Successful in 2m29s
2026-01-04 18:28:25 +01:00
Sebastian Unterschütz 4b3466a1b0 Revise room-to-pod assignment logic with hash-based distribution for improved load balancing and better replica handling.
Dynamic Branch Deploy / build-and-deploy (push) Successful in 2m31s
2026-01-04 17:41:46 +01:00
Sebastian Unterschütz 400a7e752b Add PlayerCode for enhanced score tracking and host validation logic in cooperative mode. Optimize UI for mobile devices with new responsive styles.
Dynamic Branch Deploy / build-and-deploy (push) Successful in 2m27s
2026-01-04 17:34:19 +01:00
Sebastian Unterschütz 8f49a691f7 Introduce room assignment logic based on POD_NAME and TOTAL_REPLICAS, enable selective handling for game.join and score.submit events, and update environment configurations.
Dynamic Branch Deploy / build-and-deploy (push) Successful in 2m28s
2026-01-04 17:16:09 +01:00
Sebastian Unterschütz a17a6f5e9f Increase replicas to 2 in Kubernetes deployment and switch game.start and game.input handlers from NATS Queue Groups to broadcast mode.
Dynamic Branch Deploy / build-and-deploy (push) Successful in 2m29s
2026-01-04 16:54:13 +01:00
Sebastian Unterschütz df3608408c Reduce replicas in Kubernetes deployment from 2 to 1 for escape-game.
Dynamic Branch Deploy / build-and-deploy (push) Successful in 2m25s
2026-01-04 16:42:43 +01:00
Sebastian Unterschütz a85b519051 Enable NATS Queue Groups for game.join, game.start, and game.input handlers to support load balancing.
Dynamic Branch Deploy / build-and-deploy (push) Successful in 2m28s
2026-01-04 16:32:47 +01:00
Sebastian Unterschütz d7c2e8dc85 Dynamically generate WebSocket URLs based on current domain to support both HTTP and HTTPS environments.
Dynamic Branch Deploy / build-and-deploy (push) Successful in 2m24s
2026-01-04 16:14:21 +01:00
Sebastian Unterschütz fa59070c4a Update Redis and NATS configurations; simplify NATS deployment and service setup
Dynamic Branch Deploy / build-and-deploy (push) Successful in 2m23s
2026-01-04 15:57:00 +01:00
Sebastian Unterschütz 932edf74f2 Enhance Redis and NATS connection logic with retry mechanisms, exponential backoff, and improved error handling.
Dynamic Branch Deploy / build-and-deploy (push) Successful in 2m25s
2026-01-04 15:44:00 +01:00
Sebastian Unterschütz 43680ece16 Add NATS deployment and service configuration, integrate environment variables, and update server to support NATS and Redis connections.
Dynamic Branch Deploy / build-and-deploy (push) Successful in 2m24s
2026-01-04 15:37:09 +01:00
Sebastian Unterschütz ecd994ae73 Update asset embedding paths to web/assets/.
Dynamic Branch Deploy / build-and-deploy (push) Successful in 2m21s
2026-01-04 15:31:15 +01:00
Sebastian Unterschütz f5b8809ef8 Generate assets in Docker build if missing, update asset embedding paths to web/assets/.
Dynamic Branch Deploy / build-and-deploy (push) Failing after 1m38s
2026-01-04 15:25:08 +01:00
Sebastian Unterschütz 755feb8394 Update asset metadata and dependencies; refine obstacle type to wall.
Dynamic Branch Deploy / build-and-deploy (push) Failing after 1m41s
2026-01-04 15:15:10 +01:00
Sebastian Unterschütz 16f683a360 Add Docker, Kubernetes configurations, and CI workflows for deployment. Integrate Gin server for API, WebSocket support, and static file hosting. Refactor WebSocket gateway to use Gin router.
Dynamic Branch Deploy / build-and-deploy (push) Has been cancelled
2026-01-04 15:14:55 +01:00
Sebastian Unterschütz 2fb19d314f Add .gitignore to exclude binaries, IDE files, OS-specific files, and other undesired artifacts from version control. 2026-01-04 14:39:53 +01:00
Sebastian Unterschütz 512f902c40 Remove IntelliJ IDEA project configuration files from version control. 2026-01-04 14:39:10 +01:00
Sebastian Unterschütz bd10c50ee0 Remove .gitignore file to stop excluding previously ignored files from version control. 2026-01-04 14:38:18 +01:00
Sebastian Unterschütz dc64ac38ed Remove WebSocket configurations, NATS test publisher, and related binaries; update project settings to exclude unnecessary files. 2026-01-04 14:35:45 +01:00
Sebastian Unterschütz 73928405a8 Remove WebSocket configurations, NATS test publisher, and related binaries; update project settings to exclude unnecessary files. 2026-01-04 14:35:37 +01:00
Sebastian Unterschütz 95d61bf66e Add WebAssembly support for assets and chunks, implement gameover screen rendering, and enhance server gameplay logic with dynamic speeds, team naming, and score components. 2026-01-04 14:30:31 +01:00
Sebastian Unterschütz ce51a2ba4f Integrate direct WebSocket-based leaderboard functionality for real-time updates and requests. Refactor related client-side logic to utilize this new connection. 2026-01-04 02:26:23 +01:00
Sebastian Unterschütz 41d15c60d3 Implement HTML-based lobby system with player list management, host controls, and real-time updates. Add JavaScript-WASM communication for lobby state changes and game start triggers. 2026-01-04 01:56:31 +01:00
Sebastian Unterschütz 3232ee7c2f Add platform-specific implementations for assets, audio, WebSocket, and rendering on Desktop and WebAssembly platforms. Introduce embedded assets for WebAssembly and native file handling for Desktop. Add platform-specific chunk loading and game state synchronization. 2026-01-04 01:25:04 +01:00
Sebastian Unterschütz 85d697df19 Refactor loadOrCreatePlayerCode to support platform-specific implementations for Desktop and WebAssembly environments. 2026-01-01 19:53:57 +01:00
Sebastian Unterschütz de64329ce4 Add leaderboard functionality with Redis integration for scores. This includes a global leaderboard system, server-side score submission handling, and real-time player ranking updates. Refactor and improve collision logic and game state management for better player experience. 2026-01-01 19:23:09 +01:00
Sebastian Unterschütz 5e6b8a2304 Implement core game functionalities: client prediction, coin collection, scoring, game state synchronization, and player management. 2026-01-01 16:46:39 +01:00
Sebastian Unterschütz 4b2995846e Add initial project structure for "Escape From Teacher" game: server, client, level editor, and asset framework. Includes game rendering, physics, WebSocket server, NATS integration, and asset management setup. 2026-01-01 15:21:50 +01:00