Implement simulation tier system (Attached, Nearby, Background, Wildlife) #113

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

Description

Implement different update strategies for different proximity levels to enable 500 entities on iPad.

Acceptance Criteria

Scenario: Simulation tiers work
  Given 500 entities exist
  When tiers are implemented
  Then Attached entities run full simulation (30-50 entities)
  And Nearby entities run partial simulation (50-100 entities)
  And Background entities use interpolation (400 entities)
  And Wildlife entities use mode-based behavior
  And simulation maintains 60 FPS on iPad

Technical Notes

  • Tier assignment based on player proximity
  • Attached: <10m, full behavior tree evaluation
  • Nearby: 10-50m, simplified behavior tree
  • Background: >50m, discrete event simulation
  • Wildlife: separate tier for animals
  • Tier distribution: dynamically adjust based on performance
  • Budget allocation: Attached 60%, Nearby 30%, Background 10%

Size: L (8 points)
Priority: P0
Phase: 11 - Performance Architecture

## Description Implement different update strategies for different proximity levels to enable 500 entities on iPad. ## Acceptance Criteria ```gherkin Scenario: Simulation tiers work Given 500 entities exist When tiers are implemented Then Attached entities run full simulation (30-50 entities) And Nearby entities run partial simulation (50-100 entities) And Background entities use interpolation (400 entities) And Wildlife entities use mode-based behavior And simulation maintains 60 FPS on iPad ``` ## Technical Notes - Tier assignment based on player proximity - Attached: <10m, full behavior tree evaluation - Nearby: 10-50m, simplified behavior tree - Background: >50m, discrete event simulation - Wildlife: separate tier for animals - Tier distribution: dynamically adjust based on performance - Budget allocation: Attached 60%, Nearby 30%, Background 10% **Size:** L (8 points) **Priority:** P0 **Phase:** 11 - Performance Architecture
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: studio/marathon#113