-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmacro.bkscr
62 lines (55 loc) · 1.78 KB
/
macro.bkscr
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
*register
[import file="extend.bkscr"]
//这之间写上要定义的宏或导入其他的宏文件
[macro name="white_in_middle" text]
[macro name="typewriter" text pos rect]
[macro name="figurant" text]
[macro name="protagonist" text]
[macro name="protaspeak" text]
[macro name="card" text]
[macro name="phantom" text]
[return]
//在下面写上宏的实现部分
*white_in_middle
[textwindow color=0x000000 pos=[360,350] rect=[5,5,600,200] xinterval=3]
[textstyle size=20 color=0xffffff]
[text text=text]
@return
*typewriter
//to-do:光标
//[textcursor index=10 follow=true]
[textwindow color=0x000000 pos=pos rect=rect xinterval=3]
[textstyle name="ui/fonts/AiDeep.otf" size=20 color=0xffffff]
[textspeed interval=50]
[text text=text]
@return
*figurant
[textwindow file="ui/messagebox2" pos=[0,0] rect=[118,505,1008,231] xinterval=3]
[textstyle name="ui/fonts/NotoSansCJK-Medium-5.otf" size=20 color=0x000000]
[textspeed interval=50]
[text text=text]
@return
*protagonist
[textwindow file="ui/messagebox" pos=[0,0] rect=[118,505,1008,231] xinterval=3]
[textstyle name="ui/fonts/NotoSansCJK-Medium-5.otf" size=20 color=0xffffff]
[textspeed interval=50]
[text text=text]
@return
*protaspeak
[textwindow file="ui/messagebox3" pos=[0,0] rect=[118,505,1008,231] xinterval=3]
[textstyle name="ui/fonts/NotoSansCJK-Medium-5.otf" size=20 color=0xffffff]
[textspeed interval=50]
[text text=text]
@return
*phantom
[textwindow file="ui/messagebox4" pos=[0,0] rect=[118,505,1008,231] xinterval=3]
[textstyle name="ui/fonts/NotoSansCJK-Medium-5.otf" size=20 color=0xffffff]
[textspeed interval=50]
[text text=text]
@return
*card
[textwindow file="ui/card" pos=[0,0] rect=[457,200,387,185] xinterval=3]
[textstyle name="ui/fonts/NotoSansCJK-Medium-5.otf" size=20 color=0xffffff]
[textspeed interval=50]
[text text=text]
@return