0.1.1 • Published 7 years ago

akashic-atsumaru-plugin v0.1.1

Weekly downloads
3
License
MIT
Repository
-
Last release
7 years ago

Akashic Atsumaru Plugin

Akashic Engineのアツマール用プラグインです。

使い方

build/atsumaru.js をコピーして、アツマール投稿用のHTMLで呼び出すようにしてください。

一般的な利用方法は、以下のテンプレート側で見る事も出来ます。

pluginは、initメソッドを呼び出す必要があります。以下のようなコードが必要です。

var plugin = require("./lib/index");
plugin.init({
	atsumaru: window.RPGAtsumaru,
	game: window.sandboxDeveloperProps.game,
	gameDriver: window.sandboxDeveloperProps.driver,
	amflow: window.sandboxDeveloperProps.amflow,
	gdr: window.sandboxDeveloperProps.gdr
});

開発方法

以下でビルドできます。

npm install
npm run build

参考資料