- UID
- 3
- 积分
- 8169
- 帖子
- 259
- 主题
- 68
- 论坛币
- 5016
- 威望
- 54
- EP值
- 2533
- MP值
- 20
- 阅读权限
- 200
- 注册时间
- 2011-8-3
- 在线时间
- 1097 小时
- 最后登录
- 2022-10-8
|
預覽:http://pan.baidu.com/s/1hqqY9CC#dir/path=%2FSaiyakuFX_Preview
發現還有一個 這個寫得巨快 從片源出來到特效完成 用了一個小時。。。- from tcaxPy import *
- def tcaxPy_Init():
- global _FontFileName
- global _FaceID
- global _Fs
- global _Height
- global Font
- _FontFileName = GetVal(val_FontFileName)
- _FaceID = GetVal(val_FaceID)
- _Fs = GetVal(val_FontSize)
- _Height = GetVal(val_TextHeight)
- Font = InitFont(_FontFileName, _FaceID, _Fs, GetVal(val_Spacing), GetVal(val_SpaceScale), 0xFFFFFF, 0, 0)
- def tcaxPy_Main(_i, _j, _n, _BT, _ET, _SK, _KT, _X, _Y, _A, _TXT):
- ASS_BUF = []
- TCS_BUF = []
- t2 = _BT + _SK
- t3 = _BT + _SK + _KT
- dx = _X - int(_A / 2 + 0.5)
- dy = _Y - int(_Fs / 2 + 0.5)
- ass_main(ASS_BUF, SubL(_BT-5, t2-3), pos(_X, _Y)+blur(3)+fad(30,0) , _TXT)
- ass_main(ASS_BUF, SubL(_BT+_SK+_KT,_ET+5), pos(_X, _Y)+blur(3)+fad(0,50) , _TXT)
- for i in range(10):
- R = RandCir2(_X+3,_Y+3,20,60)
- ass_main(ASS_BUF, SubL(t2-5,t2-5+120,60),mov(_X+3,_Y+3,R[0],R[1])+fad(50,300)+color1('FFFFFF')+color3("FFFFFF")+alpha3(200)+bord(0.5)+blur(2)+frz(randint(0,360)), '{\\p4}m 0 100 l 1 1 100 0 1 -1 0 -100 -1 -1 -100 0 -1 1 c m 6 6 s 6 -6 -6 -6 -6 6 c')
- ass_main(ASS_BUF, SubL(t2-3,_BT+_SK+_KT,22), pos(_X, _Y)+shad(1)+blur(5)+bord(3)+color3("FFFFFF")+alpha1(255)+alpha4(0)+color1("FFFFFF")+fsc(135,135)+t1(200,_KT*10,fsc(100,100)),_TXT)
- return (ASS_BUF, TCS_BUF)
- def tcaxPy_Fin():
- FinFont(Font)
复制代码 |
-
1
查看全部评分
-
|