GameCode Docs
CTRL K

Como funciona

FluxoBoot
O que acontece, passo a passo, quando o jogador abre o launcher.

Entender a ordem ajuda a adaptar o tema no lugar certo:

  1. Splash — a tela de carregamento aparece enquanto o tema carrega escondido.
  2. Licença — o launcher valida a licença com a API.
  3. Tema carrega — quando pronto, o tema chama ThemeReady() e a janela aparece.
  4. Atualização — verifica no GitHub se há versão nova (respeitando agendamento) e baixa.
  5. Integridade — confere os arquivos pelo hash.json e repara os corrompidos.
  6. Pronto — emite launcher-ready; o botão jogar libera.
  7. Jogar — o jogador clica; o jogo abre e (se configurado) o dashboard aparece.

Se o tema remoto estiver offline, o launcher usa a tela reserva embutida no passo 3.

Comportamento offline por seção

SeçãoTema offline
LauncherUsa a tela reserva embutida — continua jogável.
DownloaderBloqueia com aviso.
DashboardNão abre — o jogo segue normal.

How it works

FlowBoot
What happens, step by step, when the player opens the launcher.

Understanding the order helps you adapt the theme in the right place:

  1. Splash — the loading screen shows while the theme loads hidden.
  2. License — the launcher validates the license with the API.
  3. Theme loads — when ready, the theme calls ThemeReady() and the window appears.
  4. Update — checks GitHub for a new version (respecting scheduling) and downloads.
  5. Integrity — checks files against hash.json and repairs corrupted ones.
  6. Ready — emits launcher-ready; the play button unlocks.
  7. Play — the player clicks; the game opens and (if configured) the dashboard appears.

If the remote theme is offline, the launcher uses the built-in fallback screen at step 3.

Offline behavior per section

SectionTheme offline
LauncherUses the built-in fallback — still playable.
DownloaderBlocks with a warning.
DashboardWon't open — the game runs normally.

Cómo funciona

FlujoBoot
Qué pasa, paso a paso, cuando el jugador abre el launcher.

Entender el orden ayuda a adaptar el tema en el lugar correcto:

  1. Splash — la pantalla de carga aparece mientras el tema carga oculto.
  2. Licencia — el launcher valida la licencia con la API.
  3. El tema carga — cuando está listo, el tema llama a ThemeReady() y la ventana aparece.
  4. Actualización — verifica en GitHub si hay versión nueva (respetando la programación) y descarga.
  5. Integridad — comprueba los archivos con hash.json y repara los dañados.
  6. Listo — emite launcher-ready; el botón jugar se libera.
  7. Jugar — el jugador hace clic; el juego abre y (si está configurado) aparece el dashboard.

Si el tema remoto está offline, el launcher usa la pantalla de reserva integrada en el paso 3.

Comportamiento offline por sección

SecciónTema offline
LauncherUsa la pantalla de reserva — sigue jugable.
DownloaderBloquea con aviso.
DashboardNo abre — el juego sigue normal.