JA

← 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 でログインしてください。

まだレビューはありません。最初の投稿者になりましょう。