Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

Android: MainActivity launcher, game thread and AndroidPlayer lifecycle

Đang mở
#255 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ó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
35/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ệ
android, csharp
Lĩnh vực
mobile

Hướng nghiên cứu

Start with the Android launcher directory and the lifecycle runbook in issue #262; the payload does not name specific files or tests. Trace the desktop launcher and player loop, then check the dependencies in #235, #246, and #254. Done means the Galaxy S24 FE lifecycle runbook passes, including pause/resume, back-button behavior, fullscreen, and encrypted-package handling.

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

Mô tả

c:engine c:platform p:high size:L t:feature

Current State

The desktop launcher is Main(string[]) + Host.CreateDefaultBuilder, blocking in window.Run() on the main thread; Escape quits; Application.Quit cancels a token. Android owns the UI thread and destroys the surface on pause.

Tasks

  • MainActivity template in the brick's launcher directory, hosting a SurfaceView
  • Dedicated game thread running the player loop; AndroidPlayer is instantiated by the launcher, not through GamePlayers.Find
  • Pause/resume map to ticking pause and surface lost/restored
  • Back button: configurable quit or input event; Application.Quit calls finish()
  • Immersive fullscreen; OapRuntimeKey.Set for encrypted packages

Acceptance Criteria

  • The lifecycle runbook (#262) passes on the Galaxy S24 FE

Related

  • Android plan task B2 · seniority Sr · local-only on feat/android-platform until .NET 11 GA and CI support
  • Depends on: #235, #246, #254
  • Platform roadmap: #100
Ngôn ngữ chính
C#
Star
1
Fork
1
Merge trung bình
1 giờ 29 phút
Pull request đã merge (30 ngày)
38

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.