TCAX 字幕特效制作工具官方论坛 | ASS | TCAS | Python | Aegisub | Lua
标题:
[SAI]016_xxxholicovaED
[打印本页]
作者:
saiyaku
时间:
2011-10-22 19:05:26
标题:
[SAI]016_xxxholicovaED
預覽:
http://pan.baidu.com/s/1hqqY9CC#dir/path=%2FSaiyakuFX_Preview
from tcaxPy 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 = []
for j in range(_BT,_ET-20,80):
ass_main(ASS_BUF, SubL(j,j+77,2),pos(_X,_Y)+fad(5,20)+color1("FFFFFF")+bord(0)+be(1),_TXT)
for i in range(_BT+_SK-5,_BT+_SK+_KT):
ass_main(ASS_BUF, SubL(i,i+35,70),mov(_X,_Y,_X+randint(-5,5),_Y+randint(-5,5))+fad(0,200)+alpha1(170)+color1("FFFFFF")+bord(0)+blur(1),_TXT)
ass_main(ASS_BUF, SubL(_BT-10000,_ET,1),color1("000000")+bord(0),"{\\p1\\fscx10000\\fscy1000\\an8\\pos(1448,0)} m -12 -5 l 9 -5 l 9 5 l -12 5 ")
return (ASS_BUF,None)
def tcaxPy_Fin():
# Tips: finalize your global variables here
FinFont(pyFont)
复制代码
欢迎光临 TCAX 字幕特效制作工具官方论坛 | ASS | TCAS | Python | Aegisub | Lua (http://www.tcax.org/)
Powered by Discuz! X2