- UID
- 9
- 积分
- 4251
- 帖子
- 293
- 主题
- 40
- 论坛币
- 8462
- 威望
- 29
- EP值
- 1646
- MP值
- 8
- 阅读权限
- 100
- 注册时间
- 2011-8-3
- 在线时间
- 151 小时
- 最后登录
- 2022-8-8
|
本帖最后由 七海の游风 于 2012-2-24 10:44 编辑
- 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_Fin():
- FinFont(Font)
- def tcaxPy_Main(_i, _j, _n, _BT, _ET, _SK, _KT, _X, _Y, _A, _TXT,):
- ASS_BUF = []
- ass_main(ASS_BUF, SubL(_BT-8+_j*5,_BT+(_j+1)*5),pos(_X, _Y)+shad(2)+alpha4(0)+frx(90)+t(frx(360))+fad(200,0), _TXT)
- ass_main(ASS_BUF, SubL(_BT+(_j+1)*5,_BT+_SK),pos(_X, _Y)+shad(2)+alpha4(0), _TXT)
- ass_main(ASS_BUF, SubL(_BT+_SK,_ET-8+_j*5),pos(_X, _Y)+shad(2)+alpha4(0)+fad(0,300), _TXT)
- if _i<4:
- for i in range(20):
- R=randint(-30,30)
- ass_main(ASS_BUF, SubL(_BT+_SK,_BT+_SK+_KT),move(_X+randint(-2,2),_Y+randint(-2,2),_X,_Y)+shad(0)+blur(0.7)+alpha1(180)+fscx(100+R)+fscy(100+R)+t(blur(0)+fscx(100)+fscy(100))+fad(0,100), _TXT)
- if _i>3:
- for i in range(_BT+_SK,_BT+_SK+_KT):
- R=randint(-30,30)
- ass_main(ASS_BUF, SubL(i, i+10),move(_X+randint(-2,2),_Y+randint(-2,2),_X,_Y)+shad(0)+blur(0.7)+alpha1(150)+fscx(100+R)+fscy(100+R)+fad(0,100), _TXT)
- for i in range(_BT+_SK-20,_BT+_SK+_KT,30):
- for k in range(3):
- ass_main(ASS_BUF, SubL(i, i+150,50), fs(5)+blur(3)+color1('FFFFFF')+fad(30,300)+mov(_X+randint(30,60),_Y-randint(20,50),_X-randint(30,60),_Y+randint(20,50)), "●")
-
-
- return (ASS_BUF, None)
复制代码 115下载预览:http://115.com/file/dplhrw4l |
-
1
查看全部评分
-
|