项目

一般

简介

对话框 » 历史记录 » 版本 44

tejie, 2024-05-28 13:19

1 1 yangdefeng
{{toc}}
2
3
h3. 对话框
4
5
标签:
6
*图文混编*| *OK框*
7
8 24 yangdefeng
h4. _*%{color:blue}#say%*_
9 1 yangdefeng
10 34 yangdefeng
游戏窗口左上角弹出默认对话框
11 8 yangdefeng
如需要自定义底板,请先编辑以下文件
12 31 yangdefeng
..\Mir200\Tejieconfig\tejieconfig.txt
13 1 yangdefeng
14 8 yangdefeng
%{color:lightgrey};特戒通用配置%
15
[tjconfig]
16
%{color:lightgrey};资源编辑器(tejieEditor)中,选中可调用UI资源,选择需要的图片名称%
17
defaultOkPanel=图片名称
18
19 42 tejie
注:
20 41 tejie
|赋值内容格式|自适应或原始大小|
21
|图片名称    |自适应          |
22
|图片名称,-1 |自适应          |
23
|图片名称,1  |底板原始大小    |
24
25 26 yangdefeng
用例:
26
27
bq. [@对话框]
28 1 yangdefeng
#if
29
#say
30
<欢迎使用特戒引擎>
31
32
----
33 26 yangdefeng
34
h4. _*%{color:green}文字按钮%*_
35
36
在文本后面加上“/<notextile>@</notextile>跳转目标”,文本变为可点击的文字按钮,
37
点击后可跳至脚本中[<notextile>@</notextile>跳转目标]处。
38
39 32 yangdefeng
修改..\Mir200\Tejieconfig\tejieconfig.txt,可放大文字按钮。
40 30 yangdefeng
[tjconfig]
41
%{color:lightgrey};对话框中的文字按钮是否放大(0放大,1不放大)%
42
okBtnSize=1
43
44 32 yangdefeng
*用例:*
45 26 yangdefeng
46
bq. [<notextile>@</notextile>对话框]
47
#if
48
#say
49
%{color:lightgrey};符号“\”代表换行%
50
<欢迎使用特戒引擎>\ \
51
<关闭/<notextile>@</notextile>关对话>
52
%{color:lightgrey};点击“关闭”文字按钮,跳转至<notextile>@</notextile>关对话%
53
[<notextile>@</notextile>关对话]
54 1 yangdefeng
#act
55
close
56 32 yangdefeng
57
----
58 1 yangdefeng
59 43 tejie
*%{color:fireBrick}自定义对话框底板命令*%
60 1 yangdefeng
61 43 tejie
h4. _*%{color:green}[[openMerchantBigDlg]]%*_
62 33 yangdefeng
63 43 tejie
h4. _*%{color:green}[[openBigDialogBox]]%*_
64 1 yangdefeng
65
66
----
67
68
h4. _*%{color:green}closeBigDialogBox%*_
69
70
格式:
71
72
|命令名|
73
|closeBigDialogBox |
74
75 28 yangdefeng
说明:关闭对话框
76
77
78
----
79
80
h4. _*%{color:green}close%*_
81
82
格式:
83
84
|命令名|
85
|close |
86
87
说明:关闭对话框
88 1 yangdefeng
89
90
----
91
92 11 yangdefeng
h3. 坐标可控制对话元素
93 1 yangdefeng
94 44 tejie
[[自定义对话框]]