PPML

Pixel Place Map Loader

2022/05/08のページです。最新版はこちら

このスクリプトは単体で利用できません。右のようなメタデータを含むスクリプトから、ライブラリとして読み込まれます: // @require https://update.greasyforks.org/scripts/443803/1048500/PPML.js

このスクリプトの質問や評価の投稿はこちら通報はこちらへお寄せください
作者
Exnonull
バージョン
1.6
作成日
2022/04/22
更新日
2022/05/08
大きさ
3.22KB
ライセンス
MIT

Variable: PPML || window.PPML

PPML.map
{
    pixels, // Uint8[]
    colors, // Uint32[]
    width, height, // number
    find(pixel) // index of pixels
    get(x,y) // pixel
    set(x,y,pixel) // undefined
}

PPML.onload = function(map) {
   // ...
};
长期地址
遇到问题?请前往 GitHub 提 Issues。