ES

← Extensiones del motor JumPHP

Externals

v0.5.79 jumphp/externals · MIT · 9 descargas

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

Funciona con JumPHP ^0.5

Qué aporta

  • 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

Añadirla a tu juego

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

O con Composer:

bin/jumphp composer <game> require jumphp/externals

Servicios: JumPHP\Externals\Externals
Claves de project.yaml: externals

Su juego de ejemplo Tutorial Documentación Código fuente Packagist

Reseñas de esta extensión

Iniciar sesión Inicia sesión con Git para valorar esta extensión.

Aún no hay reseñas: sé el primero.