-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmeta-tag-template.yaml
More file actions
173 lines (160 loc) · 4.08 KB
/
meta-tag-template.yaml
File metadata and controls
173 lines (160 loc) · 4.08 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
# メタタグ定義ファイル
# このファイルでゲーム内で使用するメタタグ(コマンド)を定義します
settings:
default_color: "#666666" # デフォルトのメタタグ色
error_color: "#FF0000" # エラー時の色
error_underline: true # エラー時に下線を表示
meta_commands:
# 待機コマンド - プレイヤーの入力を待つ
wait:
label: "待機"
description: "プレイヤーのクリック/キー入力を待ちます"
color: "#0099FF"
parameters: []
example: "[wait]"
# 一時停止コマンド - 指定時間待機
pause:
label: "一時停止"
description: "指定したミリ秒だけ処理を停止します"
color: "#00CC66"
parameters:
- name: "duration"
type: "number"
label: "待機時間(ミリ秒)"
min: 0
max: 60000
default: 1000
required: true
example: "[pause:1000]"
# 表示速度変更コマンド
speed:
label: "表示速度"
description: "テキストの表示速度を変更します"
color: "#FF6600"
parameters:
- name: "value"
type: "enum"
label: "速度"
values:
- slow
- normal
- fast
default: "normal"
required: true
example: "[speed:slow]"
# フェードイン
fadein:
label: "フェードイン"
description: "画面をフェードインします"
color: "#9966CC"
parameters:
- name: "duration"
type: "number"
label: "フェード時間(ミリ秒)"
min: 0
max: 5000
default: 500
required: false
example: "[fadein:500]"
# フェードアウト
fadeout:
label: "フェードアウト"
description: "画面をフェードアウトします"
color: "#CC66CC"
parameters:
- name: "duration"
type: "number"
label: "フェード時間(ミリ秒)"
min: 0
max: 5000
default: 500
required: false
example: "[fadeout:500]"
# BGM再生
bgm:
label: "BGM再生"
description: "BGMを再生します"
color: "#00CCCC"
parameters:
- name: "filename"
type: "string"
label: "ファイル名"
required: true
example: "[bgm:theme01.mp3]"
# SE再生
se:
label: "効果音"
description: "効果音を再生します"
color: "#33CCCC"
parameters:
- name: "filename"
type: "string"
label: "ファイル名"
required: true
example: "[se:click.wav]"
# 改行
br:
label: "改行"
description: "改行を挿入します"
color: "#999999"
parameters: []
example: "[br]"
# クリア
clear:
label: "クリア"
description: "表示中のテキストをクリアします"
color: "#FF3333"
parameters: []
example: "[clear]"
# 震える演出
shake:
label: "震える"
description: "画面を振動させます"
color: "#FF9900"
parameters:
- name: "intensity"
type: "number"
label: "強度"
min: 1
max: 10
default: 5
required: false
- name: "duration"
type: "number"
label: "時間(ミリ秒)"
min: 100
max: 2000
default: 500
required: false
example: "[shake:5:500]"
# フラグ設定
flag:
label: "フラグ設定"
description: "ゲーム内フラグを設定します"
color: "#6666FF"
parameters:
- name: "name"
type: "string"
label: "フラグ名"
required: true
- name: "value"
type: "boolean"
label: "値"
default: true
required: false
example: "[flag:event_completed:true]"
# 変数設定
var:
label: "変数設定"
description: "ゲーム内変数を設定します"
color: "#3333FF"
parameters:
- name: "name"
type: "string"
label: "変数名"
required: true
- name: "value"
type: "string"
label: "値"
required: true
example: "[var:player_name:太郎]"