ZH

← 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 登录后为此扩展评分。

暂无评价:来做第一个吧。