Bricks: runtime-activatable feature modules

Đang mở
#363 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
5/5
Thời gian dự kiến
Hơn một tuần
Mức phù hợp với người mới
25/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
csharp
Lĩnh vực
game-dev

Hướng nghiên cứu

Start with the subsystem registry work in related issue #358, then trace how Turian registers systems and DDD listeners. The issue specifies lifecycle, manifest, runtime activation, AOT and Studio requirements but names no files or tests. Done means Play Mode toggling adds and removes systems and listeners without leaks, and a shipped build activates a disabled module from a DataAsset.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

c:editor c:engine c:scripting p:low size:L t:feature
Current State

Turian bricks are install-time delivery: what a brick ships is decided at build time, and runtime toggles (e.g. physics event merging, telemetry) are ad-hoc config flags with no shared lifecycle.

A first-class feature-module layer lets applications compose optional systems per configuration, scene or saved state, and lets the engine toggle measured subsystems without bespoke switches.

Tasks
  • IFeatureModule contract: ordered lifecycle (register, activate, deactivate, dispose) with dependency ordering, built on the subsystem registry (#358)
  • Safe activation while running: systems and DDD listeners are added and removed cleanly; no leaks on deactivate
  • Brick manifests declare feature modules; a shipped build can include a module disabled and activate it from an authored DataAsset
  • Per-tick/per-contact callbacks stay direct: no hidden indirection, and zero cost while a module is inactive
  • Closed, AOT-safe registration; headless parity
  • Studio: feature module panel with enable/disable during Play Mode and an activation event log
Acceptance Criteria
  • Toggling a feature module during Play Mode adds and removes its systems/listeners with zero leaks (allocation and listener-count assertions).
  • A shipped build contains a disabled feature module and activates it from a DataAsset at runtime.
Related

#358, #359, #55

References
  • Unreal Engine's Game Features and Modular Gameplay plugins cover the same need: standalone features activated and deactivated at runtime with lifecycle hooks.
Ngôn ngữ chính
C#
Star
1
Fork
1
Merge trung bình
2 giờ 1 phút
Pull request đã merge (30 ngày)
29

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của MASS4ORG/Turian

Tất cả issue của MASS4ORG/Turian

Issue tương tự

Thêm issue về C#

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.