TCAX 字幕特效制作工具官方论坛 | ASS | TCAS | Python | Aegisub | Lua
标题:
[SAI]022_saiyukiED
[打印本页]
作者:
saiyaku
时间:
2011-10-22 18:50:31
标题:
[SAI]022_saiyukiED
預覽:
http://pan.baidu.com/s/1hqqY9CC#dir/path=%2FSaiyakuFX_Preview
from tcaxPy import *
from s import *
def tcaxPy_Init():
# Tips: initialize your global variables here
global _FontSize
global pyFont
_FontSize = GetVal(val_FontSize)
pyFont = InitFont(GetVal(val_FontFileName), GetVal(val_FaceID), GetVal(val_FontSize), GetVal(val_Spacing), GetVal(val_SpaceScale), 0x0000FF, 0, 0)
def tcaxPy_Main(_i, _j, _n, _BT, _ET, _SK, _KT, _X, _Y, _A, _TXT):
ASS_BUF = []
TCS_BUF = []
ass_main(ASS_BUF, SubL(_BT-8, _BT+_SK), fad(80,0)+ pos(_X, _Y) + bord(1)+color1("000000") +color3("H82F1FF"), _TXT)
ass_main(ASS_BUF, SubL(_BT+_SK-5,_BT+_SK+_KT), pos(_X, _Y)+fad(0,500)+t(bord(5)+blur(8))+color1("000000")+color3("H82F1FF"), _TXT)
for i in range (_BT+_SK-5,_BT+_SK+_KT,int(_KT/3)):
ass_main(ASS_BUF, SubL(i+randint(-30,30),i+180), fad(0,300)+mov(_X+100+randint(-30,30),_Y-100,_X+randint(-35,35),_Y+randint(20,50))+color1("HF5D5FF")+color3("FFFFFF")+alpha3(100)+bord(1.5)+blur(5)+fsc(130,130)+t(fry(randint(-720,720))+fry(randint(-720,720))+frz(randint(-720,720))), psakura())
ass_main(ASS_BUF,SubL(_BT+_SK,_BT+_SK + 100),an(7)+pos(_X,_Y+20)+frx(78)+alpha1(255)+alpha3(82)+be(1)+color3("FFFFFF")+bord(2)+fscx(0)+fscy(0)+t(fscx(100)+fscy(100)+bord(6))+fad(0,1000),"{\p2}m 59 0 b 59 -79 -59 -79 -59 0 -59 79 59 79 59 0{\p0}")
ass_main(ASS_BUF,SubL(_BT+_SK+40,_BT+_SK+140),an(7)+pos(_X,_Y+20)+frx(78)+alpha1(255)+alpha3(82)+be(1)+color3("FFFFFF")+bord(2)+fscx(0)+fscy(0)+t(fscx(100)+fscy(100)+bord(6))+fad(0,1000),"{\p2}m 59 0 b 59 -79 -59 -79 -59 0 -59 79 59 79 59 0{\p0}")
ass_main(ASS_BUF,SubL(_BT+_SK+80,_BT+_SK+180),an(7)+pos(_X,_Y+20)+frx(78)+alpha1(255)+alpha3(82)+be(1)+color3("FFFFFF")+bord(2)+fscx(0)+fscy(0)+t(fscx(100)+fscy(100)+bord(6))+fad(0,1000),"{\p2}m 59 0 b 59 -79 -59 -79 -59 0 -59 79 59 79 59 0{\p0}")
return (ASS_BUF, TCS_BUF)
def tcaxPy_Fin():
# Tips: finalize your global variables here
FinFont(pyFont)
复制代码
作者:
milkyjing
时间:
2011-10-22 18:51:20
我每次都看成 saiyakuED...
作者:
5231251
时间:
2011-12-20 15:47:19
求解决出错原因!
2011-12-20 15:47:15 上传
下载附件
(51.82 KB)
图片附件:
specified.jpg
(2011-12-20 15:47:15, 51.82 KB) / 下载次数 1840
http://tcax.org/forum.php?mod=attachment&aid=MTYzfDJhNTQ2NzJkfDE3MzI1NTg4NTd8MHww
作者:
milkyjing
时间:
2011-12-20 16:57:34
5231251 发表于 2011-12-20 15:47
求解决出错原因!
参考:
http://www.tcax.org/forum.php?mod=viewthread&tid=162
作者:
Seekladoom
时间:
2022-1-12 23:03:14
milkyjing 发表于 2011-10-22 18:51
我每次都看成 saiyakuED...
+1,手动滑稽
欢迎光临 TCAX 字幕特效制作工具官方论坛 | ASS | TCAS | Python | Aegisub | Lua (http://tcax.org/)
Powered by Discuz! X2