feat: expand progression and multiplayer systems
Add named save slots, progression import/export, and a unified play flow. Add live friend requests, presence, invitations, and relationship controls without durable discovery-server social storage. Advance the network protocol with isolated channels, movement reconciliation, late-join recovery, fishing replication, and animation synchronization. Preserve per-species catch totals, refine generated-world startup and water recovery, and complete the related input and interface improvements.
This commit is contained in:
parent
1db1a5b754
commit
3b84bfe3a0
97 changed files with 7869 additions and 982 deletions
|
|
@ -54,6 +54,26 @@ func _run() -> void:
|
|||
player.notification(NOTIFICATION_APPLICATION_FOCUS_OUT)
|
||||
assert(not bool(player.get("_camera_dragging")))
|
||||
|
||||
var plain_wheel_down := InputEventMouseButton.new()
|
||||
plain_wheel_down.button_index = MOUSE_BUTTON_WHEEL_DOWN
|
||||
plain_wheel_down.pressed = true
|
||||
var shifted_wheel_down := InputEventMouseButton.new()
|
||||
shifted_wheel_down.button_index = MOUSE_BUTTON_WHEEL_DOWN
|
||||
shifted_wheel_down.pressed = true
|
||||
shifted_wheel_down.shift_pressed = true
|
||||
player.apply_camera_settings(0.005, 2.5, false, false)
|
||||
var default_zoom: float = float(player.get("_target_zoom"))
|
||||
player._unhandled_input(plain_wheel_down)
|
||||
assert(is_equal_approx(float(player.get("_target_zoom")), default_zoom))
|
||||
player._unhandled_input(shifted_wheel_down)
|
||||
assert(float(player.get("_target_zoom")) > default_zoom)
|
||||
player.apply_camera_settings(0.005, 2.5, false, true)
|
||||
var swapped_zoom: float = float(player.get("_target_zoom"))
|
||||
player._unhandled_input(shifted_wheel_down)
|
||||
assert(is_equal_approx(float(player.get("_target_zoom")), swapped_zoom))
|
||||
player._unhandled_input(plain_wheel_down)
|
||||
assert(float(player.get("_target_zoom")) > swapped_zoom)
|
||||
|
||||
player.queue_free()
|
||||
await process_frame
|
||||
print("Camera drag validation: PASS")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue