当サイトの運営者です。ゲーム制作とプラグイン開発が好きで、コミュニティに貢献したいと考えています。
RPGツクールMZでゲームを制作中です。
※プログラマ・エンジニアではありません。
SNS風会話システム - SnsTalk.js

▼SNS風会話システム(おっぎー様作) - SnsTalk.js
https://plugin.fungamemake.com/archives/16379
SNS風会話システムを簡単に実現できる
ふりがな:えすえぬえすふうかいわしすてむ
機能概要: SNS風会話システムを簡単に実現できる
利用規約(ライセンス): MITライセンス
作者:おっぎー
作者サイト:https://x.com/o_ggy
解説ページ:https://docs.google.com/presentation/d/1uJogZDEhNhlMZ40…
ダウンロードページ:http://site.nicovideo.jp/rpgtkool/material/sns_like.htm…
ファイル名:SnsTalk.js
プラグインのヘルプ:
/*:ja
* @help Copyright (c) 2018 おっぎー
* This software is released under the MIT License.
* http://opensource.org/licenses/mit-license.php
*
* 詳しい使い方はこちら↓
* https://docs.google.com/presentation/d/1uJogZDEhNhlMZ40HZbYyUPYqLd_gC0R0laXGGb-ZyFI/edit#slide=id.p
*
* ■更新履歴
* ver1.1 ライセンスを明記。複数のトークルームに対応
* ver1.2 ClearAtsuTalkLogが動作しない不具合を修正。設定していないはずの選択肢が反応してしまう場合があったのを修正
*
*
* @plugindesc SNS風会話システムを簡単に実現できるプラグイン (ver 1.2)
* @author oggy (http://www.oggy-rpg.com/)
*
* @param SnsMapId
* @desc SNS表示を有効にするマップID(0だとすべてのマップで有効)
* @default 0
* @type number
*
* @param MaxLowerPictureId
* @desc 会話ログより下に表示されるピクチャの最大ID(0で下になるピクチャなし)
* @default 1
* @type number
*
* @param SwipeScrollDamping
* @desc スワイプで会話をスクロールしたときの減速具合(0でずっと止まらない)
* @default 0.5
* @type number
*
* @param ReverseTalkDirection
* @desc トークの追加される方向を反転させます
* @default false
* @type boolean
*
* @param LeftTalkBackgroundImage
* @desc トークの背景画像(左寄せ用)
* @type file
* @dir img/pictures
*
* @param RightTalkBackgroundImage
* @desc トークの背景画像(右寄せ用)
* @type file
* @dir img/pictures
*
* @param LeftPictureTalkBackgroundImage
* @desc スタンプ・写真トークの背景画像(左寄せ用)
* @type file
* @dir img/pictures
*
* @param RightPictureTalkBackgroundImage
* @desc スタンプ・写真トークの背景画像(右寄せ用)
* @type file
* @dir img/pictures
*
* @param ChoiceItemBackgroundImage
* @desc 選択項目の背景画像
* @type file
* @dir img/pictures
*
* @param ChoiceWindowBackgroundImage
* @desc 選択肢ウィンドウの背景画像
* @type file
* @dir img/pictures
*
* @param StampImageSize
* @desc スタンプ用画像のデフォルトサイズ
* @type struct<ImageSize>
* @default {"Width":"128", "Height":"128"}
*
* @param PictureThumbnailImageSize
* @desc 写真サムネイル用画像のデフォルトサイズ
* @type struct<ImageSize>
* @default {"Width":"128", "Height":"128"}
*
* @param PauseSnsSwitchId
* @desc ポーズ状態にするスイッチのID(ポーズ中はSNS表示の動画が停止する)
* @default 1
* @type switch
*
* @param SkipModeSwitchId
* @desc スキップモードにするスイッチのID(スキップモード中は自動でトークが進む)
* @default 2
* @type switch
*
* @param DisableSnsSwitchId
* @desc 無効状態にするスイッチのID(無効化中はSNS表示されなくなる)
* @default 3
* @type switch
*
* @param NameTextStyle
* @desc トーク名前欄のテキストのスタイル
* @type struct<TextStyle>
* @default {"TextColor":"0", "OutlineColor":"15", "OutlineWidth":"4", "IsBold":"false"}
*
* @param TalkTextStyle
* @desc トーク本文のテキストのスタイル
* @type struct<TextStyle>
* @default {"TextColor":"0", "OutlineColor":"15", "OutlineWidth":"4", "IsBold":"false"}
*
* @param ChoiceTextStyle
* @desc 選択肢テキストのスタイル
* @type struct<TextStyle>
* @default {"TextColor":"15", "OutlineColor":"0", "OutlineWidth":"0", "IsBold":"false"}
*
* @param PlayerFaceImage
* @desc プレイヤーの顔候補の画像
* @type file
* @dir img/faces
*
* @param PlayerFaceVariableId
* @desc プレイヤーの顔番号(0~7)を格納する変数のID
* @default 1
* @type variable
*
* @param NewTalkSoundParam
* @desc トーク追加時に鳴らすサウンド
* @type struct<SoundParam>
* @default {"File":"", "Volume":"90", "Pitch":"100"}
*
* @param ShowChoiceSoundParam
* @desc 選択肢表示時に鳴らすサウンド
* @type struct<SoundParam>
* @default {"File":"", "Volume":"90", "Pitch":"100"}
*
* @param DecideChoiceSoundParam
* @desc 選択肢決定時に鳴らすサウンド
* @type struct<SoundParam>
* @default {"File":"", "Volume":"90", "Pitch":"100"}
*
* @param DebugSnsEventTest
* @desc イベントテスト時に StartAtsutalkEvent から起動した扱いにします。
* @default false
* @type boolean
*
* @param DebugEventTestBgGray
* @desc イベントテスト時に背景をグレーにします。
* @default false
* @type boolean
*/
/*~struct~TextStyle:
* @param TextColor
* @desc テキストの色 (img/system/Window.pngのパレットを参照)
* @default 0
* @type number
* @min 0
*
* @param OutlineColor
* @desc アウトラインの色 (img/system/Window.pngのパレットを参照)
* @default 15
* @type number
* @min 0
*
* @param OutlineWidth
* @desc アウトラインの太さ
* @default 4
* @type number
* @min 0
*
* @param IsBold
* @desc 太字にする
* @default false
* @type boolean
*/
/*~struct~SoundParam:
* @param File
* @desc 鳴らしたいサウンドファイル
* @type file
* @dir audio/se
*
* @param Volume
* @desc ボリューム
* @default 90
* @type number
* @min 0
* @max 100
*
* @param Pitch
* @desc ピッチ
* @default 100
* @type number
* @min 50
* @max 150
*/
/*~struct~ImageSize:
* @param Width
* @desc 横方向のピクセル数
* @type number
* @min 0
*
* @param Height
* @desc 縦方向のピクセル数
* @type number
* @min 0
*/