PT

← Extensões do motor JumPHP

Externals

v0.5.79 jumphp/externals · MIT · 9 downloads

Big game data streamed from the playground: browse, search, read files by blocks, cached

Funciona com JumPHP ^0.5

O que traz

  • list / search / stat the folders the administrator shares with the game
  • open a file and read any part of it: only its 64 KB blocks are downloaded (HTTP Range)
  • memory cache + persistent cache (IndexedDB in the browser): read once, not downloaded again
  • readAll() with progress for a whole file
  • local folders instead of the server on desktop and in tests

Adicionar ao seu jogo

bin/jumphp extension:add <game> jumphp/externals

Ou com o Composer:

bin/jumphp composer <game> require jumphp/externals

Serviços: JumPHP\Externals\Externals
Chaves do project.yaml: externals

O seu jogo de exemplo Tutorial Documentação Código-fonte Packagist

Avaliações desta extensão

Entrar Inicie sessão com o Git para avaliar esta extensão.

Ainda sem avaliações: seja o primeiro.