Skip to content

akashic-games/akashic-label

Repository files navigation

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 の元で公開されています。

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors