Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

Android: MainActivity launcher, game thread and AndroidPlayer lifecycle

Aperta
#255 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
35/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
android, csharp
Ambito
mobile

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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
Lingua principale
C#
Stelle
1
Fork
1
Merge medio
1h 34m
PR unite (30g)
35

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di MASS4ORG/Turian

Tutte le issue di MASS4ORG/Turian

Issue simili

Altre issue su C#

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.