- UID
- 215
- 积分
- 15394
- 帖子
- 1163
- 主题
- 27
- 论坛币
- 428
- 威望
- 125
- EP值
- 1992
- MP值
- 26
- 阅读权限
- 100
- 注册时间
- 2011-10-13
- 在线时间
- 668 小时
- 最后登录
- 2018-6-25
![Rank: 5](static/image/common/star_level3.gif) ![Rank: 5](static/image/common/star_level1.gif)
|
- from tcaxPy import *
- def tcaxPy_Init():
- global _FD # frame duration, in millisecond
- global _Fs
- _FD = 1000 / GetVal(val_FXFPS)
- _Fs = GetVal(val_FontSize)
- def tcaxPy_Main(_i, _j, _n, _BT, _ET, _SK, _KT, _X, _Y, _A, _TXT):
- ASS_BUF = [] # used for saving ASS FX lines
- Color = ("0778FF", "0487FF", "H0FB9FF", "007FFF", "24FF81","8DFF2E","3B3BEE")
-
- for j in range(15):
- ass_main(ASS_BUF, SubL(_BT-50+_j*5+j, _BT+_SK+_j*5+j,15-j), alpha1(225)+alpha3(180)+fad(200,0)+ move(_X,_Y,_X,_Y-50) +be(30)+t(fsc(0,0))+blur(5)+ bord(1)+color1("0778FF") +color3("8FF6FF"), _TXT)
- ass_main(ASS_BUF, SubL(_BT+_SK,(_ET-_BT-_SK-_KT)/4+_BT+_SK+_KT,20), an(5)+pos(_X,_Y-50)+blur(2)+be(3)+color1("FFFFFF")+color3("0778FF")+bord(3)+t(fsc(75,75)), _TXT)
- ass_main(ASS_BUF, SubL((_ET-_BT-_SK-_KT)/4+_BT+_SK+_KT,(_ET-_BT-_SK-_KT)/2+_BT+_SK+_KT,21), an(5)+pos(_X,_Y-50)+blur(2)+be(3)+color1("FFFFFF")+color3("0778FF")+bord(3)+t(fsc(130,130))+fad(0,300), _TXT)
- for i in range(30):
- R = RandCir2(_X, _Y-50, 20, 40)
- ass_main(ASS_BUF, SubL((_ET-_BT-_SK-_KT)/2+_BT+_SK+_KT,_ET+20), an(5)+move(_X,_Y-50,R[0],R[1])+bord(1.5)+color1(Color[randint(0,6)])+color3(Color[randint(0,6)])+shad(0)+blur(2)+be(15), '{\p1}m 0 0 l 1 0 1 1 0 1{\p0}')
- return (ASS_BUF,None)
复制代码 |
-
1
查看全部评分
-
|