feat: Implement core game managers, player movement logic, and initial UI scenes.
This commit is contained in:
@@ -0,0 +1,25 @@
|
||||
[ ADT's Daily Report - 2025-12-23 ]
|
||||
|
||||
Updated the `tekton-enet` ( Armageddon Multiplayer ) on branch `launcher`
|
||||
|
||||
**Touch Controls Enhancement**
|
||||
|
||||
✅ **Touch Button Settings** - Added `touch_buttons_enabled` and `joystick_enabled` toggles to `touch_controls.gd`. Settings now persist to `user://touch_controls_settings.cfg` using ConfigFile.
|
||||
|
||||
✅ **Position Mapping API** - Added public methods `set_touch_buttons_enabled()`, `set_joystick_enabled()`, `set_button_position()`, and `get_settings()` for controlling touch UI programmatically.
|
||||
|
||||
**Player Collision Fix**
|
||||
|
||||
✅ **Prevent Player-to-Player Collision** - Modified `player.tscn` CharacterBody3D to use `collision_layer = 2`. Players now only collide with world objects, not each other, preventing desync issues when walking into same space.
|
||||
|
||||
**Profile Access Improvement**
|
||||
|
||||
✅ **Profile Button on All Screens** - Added PROFILE button to MainMenuPanel and RoomListPanel in `lobby.tscn`. Connected buttons to `_on_profile_btn_pressed()` in `lobby.gd`.
|
||||
|
||||
**Multiplayer Disconnect Fix**
|
||||
|
||||
✅ **Proper Nakama Match Cleanup** - Added `_cleanup_multiplayer()` function in `main.gd` that calls `NakamaManager.bridge.leave()`, clears `current_match_id`, and resets multiplayer peer. Called from both `_on_quit_match_pressed()` and `_on_back_to_menu_pressed()`.
|
||||
|
||||
**Bug Fixes**
|
||||
|
||||
✅ **Game Over Panel Fix** - Fixed duplicate parent error in `_show_game_over_panel()` where BackToMenuBtn was being added to two parents. Button now correctly added only to centered HBoxContainer.
|
||||
Reference in New Issue
Block a user