Files
tekton/_daily_basis/report_2025-12-19.md
T

37 lines
2.0 KiB
Markdown

[ ADT's Daily Report - 2025-12-19 ]
## Bug Fixes
**GDScript Parse Errors Fixed** - Resolved type inference errors in `boot_screen.gd` and `admin_panel.gd` by using explicit type annotations instead of inferred typing for variables where the type couldn't be determined (e.g., `await` returns, `Dictionary.get()` comparisons).
## Lobby UI Redesign
**Match Duration Sync** - Added client-side read-only display for match duration. Host sees OptionButton to change, clients see Label text that updates via RPC when host changes duration.
**Character Selection System** - Implemented in `lobby_manager.gd`:
- 4 characters available: Bob, Gatot, Masbro, Oldpop
- `cycle_character(direction)` with ◀ ▶ buttons
- RPC sync via `sync_character()` to broadcast selections to all players
- Character expression textures used as preview images
**Area Selection System** - Host-only area selector:
- 4 placeholder areas: Desert, Forest, City, Factory
- `cycle_area(direction)` with ◀ ▶ buttons (disabled for clients)
- RPC sync via `sync_area()` to show current area to all players
**New Lobby Layout** (`lobby.tscn` redesign):
- Top bar: Profile, Logout, Match ID + Copy, Duration setting
- Host banner (yellow "HOST" label)
- 4 player slots with: character preview image, ◀ ▶ nav buttons, ready status
- Area selector at bottom-left
- Bottom bar: Leave, Ready, Match buttons
**Player Slot Character Navigation** - Fixed client character selector arrows missing by adding CharacterNav (◀ ▶) to all 4 player slots. Local player sees navigation buttons, other players see just character name label.
## Files Modified
- `scripts/ui/boot_screen.gd` - Type annotation fix
- `scripts/ui/admin_panel.gd` - Type annotation fixes
- `scripts/managers/lobby_manager.gd` - Character/area selection data, signals, RPCs
- `scenes/lobby.tscn` - Complete UI redesign with player slots
- `scenes/lobby.gd` - New UI logic for character/area selection