Implement entity ownership model #118

Open
opened 2025-12-17 03:27:50 +00:00 by siennathesane · 0 comments
siennathesane commented 2025-12-17 03:27:50 +00:00 (Migrated from github.com)

Description

Entities owned by nearest player, ownership transfers on proximity.

Acceptance Criteria

Scenario: Entity ownership works
  Given entity exists in world
  When players move
  Then entity is owned by nearest player
  And ownership transfers when different player is closer
  And owner simulates entity authoritatively
  And non-owners receive state updates from owner

Technical Notes

  • Ownership assignment: nearest player by distance
  • Ownership transfer: when closer player found
  • Transfer protocol: owner sends full state snapshot to new owner
  • Authority: owner's state is authoritative
  • Transfer smoothness: interpolate state during transfer
  • Load balancing: distribute entities evenly across peers

Size: S (2 points)
Priority: P0
Phase: 12 - Networking & Sync

## Description Entities owned by nearest player, ownership transfers on proximity. ## Acceptance Criteria ```gherkin Scenario: Entity ownership works Given entity exists in world When players move Then entity is owned by nearest player And ownership transfers when different player is closer And owner simulates entity authoritatively And non-owners receive state updates from owner ``` ## Technical Notes - Ownership assignment: nearest player by distance - Ownership transfer: when closer player found - Transfer protocol: owner sends full state snapshot to new owner - Authority: owner's state is authoritative - Transfer smoothness: interpolate state during transfer - Load balancing: distribute entities evenly across peers **Size:** S (2 points) **Priority:** P0 **Phase:** 12 - Networking & Sync
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: studio/marathon#118