1.9 KiB
1.9 KiB
[ ADT's Report ]
Updated the tekton-enet ( Armageddon Multiplayer ) on branch launcher
Network & Desync Fixes
✅ Visual Interpolation - Fixed player position desynchronization.
- Implemented client-side smoothing using
target_visual_positionto fix jitter and snapping. - Resolved conflicts between unreliable RPC network updates and grid-based logic.
✅ Bot Synchronization - Eliminated "Node not found" RPC errors on client join.
- Fix: Modified
main.gdto pre-spawn potential bot nodes (IDs 2-4) on the client before receiving full sync. - Result: Prevents crash/error spam when Host sends updates for bots before the Client has fully processed the player list.
Bot AI Improvements
✅ Stuck Prevention - Fixed bots getting stuck in "Idle" loops.
- Problem: Bots would sometimes enter a state where they had AP (Action Points) but couldn't pathfind or act, effectively freezing the game in turn-based mode.
- Fix: Added logic to
BotControllerto detect this state and automatically skip the turn (consume remaining AP) to keep the game flow moving. - Logging: Added bot identification to logs for better diagnosis.
Touch Controls Refactoring
✅ Scene-Based Instantiation - Refactored TouchControls for easier editing.
- Logic: Updated
touch_controls.gdto look for existing UI nodes (VirtualJoystick,GrabBtn, etc.) instead of forcing programmatic creation. - Implementation: Moved the entire Touch Control node hierarchy directly into
main.tscn. - Benefit: Allows visual editing and customization of touch controls directly in the Godot Editor.
UI & Lobby Enhancements
✅ Optional Timer Display - Tuned HUD based on lobby settings.
- Feature: The "Global Match Timer" (GoalsTimer) in the main game is now hidden if "Enable Timer Check" is disabled in the Lobby.
- Default: Changed "Enable Timer Check" default to
falseinLobbyManager.