@akashic-extension/akashic-label
TypeScript icon, indicating that this package has built-in type declarations

3.1.0 • Public • Published

akashic-label

akashic-label は、Akashic Engine 用のテキスト描画ライブラリです。 Akashic Engine 標準の g.Label と同様の機能に加え、次の機能を提供します。

  • ルビつき文字列の描画
  • 複数行のテキスト配置

利用方法

akashic-cli でインストールして利用します。 Akashic Engineの詳細な利用方法については、 公式ページ を参照してください。

akashic install @akashic-extension/akashic-label

インストール後、ゲームスクリプトから require() して利用してください。

const al = require("@akashic-extension/akashic-label")

使い方は akashic-labelの利用方法 を参照してください。 詳細なリファレンスは APIリファレンス を参照してください。

ビルド方法

akashic-label はTypeScriptで書かれたライブラリであるため、ビルドにはNode.jsが必要です。

npm run build によりビルドできます。

npm install
npm run build

ライセンス

本リポジトリは MIT License の元で公開されています。 詳しくは LICENSE をご覧ください。

ただし、画像ファイルおよび音声ファイルは CC BY 2.1 JP の元で公開されています。

/@akashic-extension/akashic-label/

    Package Sidebar

    Install

    npm i @akashic-extension/akashic-label

    Weekly Downloads

    37

    Version

    3.1.0

    License

    MIT

    Unpacked Size

    65.6 kB

    Total Files

    16

    Last publish

    Collaborators

    • akashic-extension-owner
    • kmkr01
    • yu-ogi
    • xtity
    • akashic-owner