KO

← JumPHP 엔진 확장

Externals

v0.5.79 jumphp/externals · MIT · 다운로드 9회

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

JumPHP ^0.5에서 동작

제공하는 기능

  • 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

게임에 추가

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

또는 Composer로:

bin/jumphp composer <game> require jumphp/externals

서비스: JumPHP\Externals\Externals
project.yaml 키: externals

예제 게임 튜토리얼 문서 소스 코드 Packagist

이 확장에 대한 리뷰

로그인 이 확장을 평가하려면 Git로 로그인하세요.

아직 리뷰가 없습니다. 첫 번째가 되어 보세요.